Toolbar button changes

This commit is contained in:
Dick Fickling 2012-02-27 09:45:42 -05:00
parent 19f13f6d0a
commit 657c6cc007
3 changed files with 8 additions and 6 deletions

View File

@ -186,8 +186,9 @@ public final class AddImageAction extends CallableSystemAction implements Presen
*/
@Override
public Component getToolbarPresenter() {
ImageIcon icon = new ImageIcon(getClass().getResource("addImage-icon.png"));
toolbarButton.setIcon(icon);
//ImageIcon icon = new ImageIcon(getClass().getResource("addImage-icon.png"));
//toolbarButton.setIcon(icon);
toolbarButton.setText(this.getName());
return toolbarButton;
}

View File

@ -114,8 +114,9 @@ public final class CaseCloseAction extends CallableSystemAction implements Prese
*/
@Override
public Component getToolbarPresenter() {
ImageIcon icon = new ImageIcon(getClass().getResource("close-icon.png"));
toolbarButton.setIcon(icon);
//ImageIcon icon = new ImageIcon(getClass().getResource("close-icon.png"));
//toolbarButton.setIcon(icon);
toolbarButton.setText(this.getName());
return toolbarButton;
}

View File

@ -182,7 +182,7 @@
</folder>
<folder name="Toolbars">
<folder name="File">
<file name="org-sleuthkit-autopsy-casemodule-NewCaseAct.instance">
<!--<file name="org-sleuthkit-autopsy-casemodule-NewCaseAct.instance">
<attr name="delegate" newvalue="org.sleuthkit.autopsy.casemodule.CaseNewAction"/>
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.casemodule.Bundle#CTL_CaseNewAction"/>
<attr name="iconBase" stringvalue="org/sleuthkit/autopsy/images/new-icon.png"/>
@ -205,7 +205,7 @@
<attr name="instanceCreate" methodvalue="org.openide.awt.Actions.alwaysEnabled"/>
<attr name="noIconInMenu" boolvalue="false"/>
<attr name="position" intvalue="200"/>
</file>
</file>-->
<file name="org-sleuthkit-autopsy-casemodule-CaseCloseAction.instance">
<attr name="delegate" newvalue="org.sleuthkit.autopsy.casemodule.CaseCloseAction"/>
<attr name="displayName" bundlevalue="org.sleuthkit.autopsy.casemodule.Bundle#CTL_CaseCloseAct"/>