public final class CloseProductAction extends AbstractAction implements org.openide.util.ContextAwareAction, org.openide.util.LookupListener
changeSupport, enabledACCELERATOR_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 |
|---|
CloseProductAction() |
CloseProductAction(List<Product> products) |
CloseProductAction(org.openide.util.Lookup actionContext) |
| 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, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic CloseProductAction()
public CloseProductAction(org.openide.util.Lookup actionContext)
public Action createContextAwareInstance(org.openide.util.Lookup actionContext)
createContextAwareInstance in interface org.openide.util.ContextAwareActionpublic void resultChanged(org.openide.util.LookupEvent lookupEvent)
resultChanged in interface org.openide.util.LookupListenerpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic Boolean execute()
Boolean.TRUE on success, Boolean.FALSE on failure, or null on cancellation.Copyright © 2014–2015 European Space Agency (ESA). All rights reserved.