public final class SaveProductAction extends AbstractAction implements org.openide.util.ContextAwareAction, org.openide.util.LookupListener
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 |
---|
SaveProductAction() |
SaveProductAction(org.openide.util.Lookup actionContext) |
SaveProductAction(Product products) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
Action |
createContextAwareInstance(org.openide.util.Lookup actionContext) |
Boolean |
execute()
Executes the action command.
|
void |
resultChanged(org.openide.util.LookupEvent lookupEvent) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public SaveProductAction(Product products)
public SaveProductAction()
public SaveProductAction(org.openide.util.Lookup actionContext)
public Action createContextAwareInstance(org.openide.util.Lookup actionContext)
createContextAwareInstance
in interface org.openide.util.ContextAwareAction
public void resultChanged(org.openide.util.LookupEvent lookupEvent)
resultChanged
in interface org.openide.util.LookupListener
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public Boolean execute()
Boolean.TRUE
on success, Boolean.FALSE
on failure, or null
on cancellation.Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.