java.lang.Objectorg.eclipse.jface.action.Action
com.ibm.jdg2e.jdt.extras.SmartPackageExplorerExpandAction
Package Explorer action, converse of the standard "Collapse All".
| Field Summary |
| Fields inherited from interface org.eclipse.jface.action.IAction |
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
| Constructor Summary | |
SmartPackageExplorerExpandAction()
|
|
| Method Summary | |
void |
init(org.eclipse.ui.IViewPart view)
|
void |
run(org.eclipse.jface.action.IAction action)
Expand the current selection if it includes a Java project, JAR file, etc. |
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
Determine if the action should still be enabled, keeping consistent with the <enablement> tags
specified on this action's extension declaration. |
| Methods inherited from class org.eclipse.jface.action.Action |
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, notifyResult, removeAcceleratorText, removeMnemonics, removePropertyChangeListener, run, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SmartPackageExplorerExpandAction()
| Method Detail |
public void init(org.eclipse.ui.IViewPart view)
init in interface org.eclipse.ui.IViewActionDelegatepublic void run(org.eclipse.jface.action.IAction action)
run in interface org.eclipse.ui.IActionDelegateIActionDelegate.run(org.eclipse.jface.action.IAction)
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
<enablement> tags
specified on this action's extension declaration.
selectionChanged in interface org.eclipse.ui.IActionDelegateIActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)