public class SwingActionDelegate<T extends ModelItem> extends AbstractAction implements PropertyChangeListener, SoapUIActionMarker
Modifier and Type | Field and Description |
---|---|
static boolean |
switchClassloader
Deprecated.
|
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
SwingActionDelegate(SoapUIActionMapping<T> mapping) |
SwingActionDelegate(SoapUIActionMapping<T> mapping,
T target) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
@Deprecated public static boolean switchClassloader
public SwingActionDelegate(SoapUIActionMapping<T> mapping, T target)
public SwingActionDelegate(SoapUIActionMapping<T> mapping)
public SoapUIActionMapping<T> getMapping()
public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
public void propertyChange(PropertyChangeEvent evt)
propertyChange
in interface PropertyChangeListener
public SoapUIAction<T> getAction()
public T getTarget()
protected Object getParam()
protected void setParam(Object param)
public static <T extends ModelItem> SwingActionDelegate<T> createDelegate(SoapUIAction<T> action, T target, String keyStroke, String iconPath)
public static <T extends ModelItem> SwingActionDelegate<T> createDelegate(SoapUIAction<T> action, T target, String keyStroke)
public static <T extends ModelItem> SwingActionDelegate<T> createDelegate(SoapUIAction<T> action, T target)
public static <T extends ModelItem> SwingActionDelegate<T> createDelegate(SoapUIAction<T> action)
public static SwingActionDelegate<?> createDelegate(String soapUIActionId)
public static <T extends ModelItem> SwingActionDelegate<?> createDelegate(String soapUIActionId, T target)
public static <T extends ModelItem> SwingActionDelegate<?> createDelegate(String soapUIActionId, T target, String keyStroke)
public static <T extends ModelItem> SwingActionDelegate<?> createDelegate(String soapUIActionId, T target, String keyStroke, String iconPath)
public SoapUIAction<?> getSoapUIAction()
getSoapUIAction
in interface SoapUIActionMarker
public static void invoke(Runnable action)
Copyright © 2019. All Rights Reserved.