|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
eu.esdihumboldt.hale.ui.util.swing.RcpActionAdapter
public class RcpActionAdapter
This class provides a SWT Adapter for Swing Actions.
Field Summary | |
---|---|
protected org.eclipse.swt.widgets.Display |
display
The display |
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, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
---|---|
RcpActionAdapter(Action action)
Creates an ActionAdapter |
|
RcpActionAdapter(Action action,
int style)
Creates an ActionAdapter |
Method Summary | |
---|---|
String |
getDescription()
|
String |
getText()
|
String |
getToolTipText()
|
boolean |
isEnabled()
|
void |
propertyChange(PropertyChangeEvent evt)
|
void |
run()
|
void |
setEnabled(boolean enabled)
|
void |
setText(String text)
|
void |
setToolTipText(String toolTipText)
|
Methods inherited from class org.eclipse.jface.action.Action |
---|
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, isChecked, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator |
Methods inherited from class org.eclipse.jface.action.AbstractAction |
---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
Methods inherited from class org.eclipse.core.commands.common.EventManager |
---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.action.IAction |
---|
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
protected final org.eclipse.swt.widgets.Display display
Constructor Detail |
---|
public RcpActionAdapter(Action action)
action
- the Swing action to wrappublic RcpActionAdapter(Action action, int style)
action
- the Swing action to wrapstyle
- the JFace action styleAction.Action(String, int)
Method Detail |
---|
public String getDescription()
getDescription
in interface org.eclipse.jface.action.IAction
getDescription
in class org.eclipse.jface.action.Action
public String getText()
getText
in interface org.eclipse.jface.action.IAction
getText
in class org.eclipse.jface.action.Action
public String getToolTipText()
getToolTipText
in interface org.eclipse.jface.action.IAction
getToolTipText
in class org.eclipse.jface.action.Action
public boolean isEnabled()
isEnabled
in interface org.eclipse.jface.action.IAction
isEnabled
in class org.eclipse.jface.action.Action
public void setEnabled(boolean enabled)
setEnabled
in interface org.eclipse.jface.action.IAction
setEnabled
in class org.eclipse.jface.action.Action
public void setText(String text)
setText
in interface org.eclipse.jface.action.IAction
setText
in class org.eclipse.jface.action.Action
public void setToolTipText(String toolTipText)
setToolTipText
in interface org.eclipse.jface.action.IAction
setToolTipText
in class org.eclipse.jface.action.Action
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |