diff options
author | jszursze | 2001-08-08 17:26:40 +0000 |
---|---|---|
committer | jszursze | 2001-08-08 17:26:40 +0000 |
commit | ebbef68e923632d0d746f2522fb2f4c29567ba25 (patch) | |
tree | 49219e6f1869cb99c60adf8347ca11b43bc6bc73 /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SuspendActionDelegate.java | |
parent | 2c4f2803bdbec5a3dc2cc127b4a9b7326e666b97 (diff) | |
download | eclipse.platform.debug-ebbef68e923632d0d746f2522fb2f4c29567ba25.tar.gz eclipse.platform.debug-ebbef68e923632d0d746f2522fb2f4c29567ba25.tar.xz eclipse.platform.debug-ebbef68e923632d0d746f2522fb2f4c29567ba25.zip |
Set icons for actions in actions, not views
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SuspendActionDelegate.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SuspendActionDelegate.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SuspendActionDelegate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SuspendActionDelegate.java index 7180b0c46..24402182d 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SuspendActionDelegate.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/SuspendActionDelegate.java @@ -7,6 +7,8 @@ package org.eclipse.debug.internal.ui; import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.model.ISuspendResume;
+import org.eclipse.debug.ui.IDebugUIConstants;
+import org.eclipse.jface.action.IAction;
import org.eclipse.jface.viewers.IStructuredSelection;
public class SuspendActionDelegate extends ControlActionDelegate {
@@ -50,4 +52,13 @@ public class SuspendActionDelegate extends ControlActionDelegate { protected String getHelpContextId() {
return IDebugHelpContextIds.SUSPEND_ACTION;
}
+
+ /**
+ * @see ControlActionDelegate
+ */
+ protected void setActionImages(IAction action) {
+ action.setHoverImageDescriptor(DebugPluginImages.getImageDescriptor(IDebugUIConstants.IMG_LCL_SUSPEND));
+ action.setDisabledImageDescriptor(DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_DLCL_SUSPEND));
+ action.setImageDescriptor(DebugPluginImages.getImageDescriptor(IInternalDebugUIConstants.IMG_ELCL_SUSPEND));
+ }
}
\ No newline at end of file |