@API(type=EXTENDABLE,
src=PUBLIC)
public class EclipseActionWrapper
extends java.lang.Object
implements javax.swing.Action
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Constructor and Description |
---|
EclipseActionWrapper(org.eclipse.jface.action.Action eclipseAction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener) |
java.lang.Object |
getValue(java.lang.String key) |
org.eclipse.jface.action.Action |
getWrappedEclipseAction()
Get the wrapped Eclipse action.
|
boolean |
isEnabled() |
void |
putValue(java.lang.String key,
java.lang.Object value) |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener) |
void |
setEnabled(boolean enabled) |
public EclipseActionWrapper(org.eclipse.jface.action.Action eclipseAction)
eclipseAction
- The Eclipse action.public java.lang.Object getValue(java.lang.String key)
getValue
in interface javax.swing.Action
Action.getValue(java.lang.String)
public void putValue(java.lang.String key, java.lang.Object value)
putValue
in interface javax.swing.Action
Action.putValue(java.lang.String, java.lang.Object)
public void setEnabled(boolean enabled)
setEnabled
in interface javax.swing.Action
Action.setEnabled(boolean)
public boolean isEnabled()
isEnabled
in interface javax.swing.Action
Action.isEnabled()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
addPropertyChangeListener
in interface javax.swing.Action
Action.addPropertyChangeListener(java.beans.PropertyChangeListener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
removePropertyChangeListener
in interface javax.swing.Action
Action.removePropertyChangeListener(java.beans.PropertyChangeListener)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
ActionListener.actionPerformed(java.awt.event.ActionEvent)
public org.eclipse.jface.action.Action getWrappedEclipseAction()
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.