Class TableCustomizationDropDownAction
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.nebula.widgets.xviewer.action.TableCustomizationDropDownAction
- All Implemented Interfaces:
org.eclipse.jface.action.IAction
,org.eclipse.jface.action.IMenuCreator
public class TableCustomizationDropDownAction
extends org.eclipse.jface.action.Action
implements org.eclipse.jface.action.IMenuCreator
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TableCustomizationDropDownAction(XViewer xViewer)
-
Method Summary
Modifier and Type Method Description protected void
addActionToMenu(org.eclipse.swt.widgets.Menu parent, org.eclipse.jface.action.Action action)
(package private) void
clear()
Get's rid of the menu, because the menu hangs on to * the searches, etc.void
dispose()
org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor()
org.eclipse.swt.widgets.Menu
getMenu(org.eclipse.swt.widgets.Control parent)
org.eclipse.swt.widgets.Menu
getMenu(org.eclipse.swt.widgets.Menu parent)
java.lang.String
getToolTipText()
void
run()
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getMenuCreator, getStyle, getText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
-
Constructor Details
-
Method Details
-
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()- Specified by:
getImageDescriptor
in interfaceorg.eclipse.jface.action.IAction
- Overrides:
getImageDescriptor
in classorg.eclipse.jface.action.Action
-
run
public void run()- Specified by:
run
in interfaceorg.eclipse.jface.action.IAction
- Overrides:
run
in classorg.eclipse.jface.action.Action
-
getToolTipText
public java.lang.String getToolTipText()- Specified by:
getToolTipText
in interfaceorg.eclipse.jface.action.IAction
- Overrides:
getToolTipText
in classorg.eclipse.jface.action.Action
-
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Control parent)- Specified by:
getMenu
in interfaceorg.eclipse.jface.action.IMenuCreator
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.eclipse.jface.action.IMenuCreator
-
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.swt.widgets.Menu parent)- Specified by:
getMenu
in interfaceorg.eclipse.jface.action.IMenuCreator
-
addActionToMenu
protected void addActionToMenu(org.eclipse.swt.widgets.Menu parent, org.eclipse.jface.action.Action action) -
clear
void clear()Get's rid of the menu, because the menu hangs on to * the searches, etc.
-