List of usage examples for org.eclipse.jface.action Action getDisabledImageDescriptor
@Override
public ImageDescriptor getDisabledImageDescriptor()
From source file:org.fusesource.ide.foundation.ui.actions.ToggleAction.java
License:Open Source License
public void setCurrentAction(Action currentAction) { this.currentAction = currentAction; setText(currentAction.getText());//from w w w. j a v a 2s . c o m setToolTipText(currentAction.getToolTipText()); setDescription(currentAction.getDescription()); setHoverImageDescriptor(currentAction.getHoverImageDescriptor()); setImageDescriptor(currentAction.getImageDescriptor()); setDisabledImageDescriptor(currentAction.getDisabledImageDescriptor()); setEnabled(currentAction.isEnabled()); setChecked(currentAction.isChecked()); }