|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.ui.command.Command
org.esa.beam.framework.ui.command.SelectableCommand
org.esa.beam.framework.ui.command.ExecCommand
org.esa.beam.visat.actions.pgrab.ProductGrabberAction
public class ProductGrabberAction
The ProductGrabberVPI opens a dialog to preview and open products.
| Field Summary |
|---|
| Fields inherited from class org.esa.beam.framework.ui.command.ExecCommand |
|---|
TOGGLE_ACTION_KEY |
| Fields inherited from class org.esa.beam.framework.ui.command.SelectableCommand |
|---|
SELECTED_ACTION_KEY |
| Fields inherited from class org.esa.beam.framework.ui.command.Command |
|---|
ACTION_KEY_CONTEXT, ACTION_KEY_LARGE_ICON, ACTION_KEY_LOCATION, ACTION_KEY_PARENT, ACTION_KEY_PLACE_AFTER, ACTION_KEY_PLACE_BEFORE, ACTION_KEY_PLACE_CONTEXT_TOP, ACTION_KEY_POPUP_TEXT, ACTION_KEY_SEPARATOR_AFTER, ACTION_KEY_SEPARATOR_BEFORE, ACTION_KEY_SORT_CHILDREN, HELP_ID_KEY |
| Constructor Summary | |
|---|---|
ProductGrabberAction()
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(CommandEvent event)
Invoked when a command action is performed. |
static ProductGrabberAction |
getInstance()
Retrieves the instance of this class. |
ProductGrabber |
getProductGrabber()
Gets the product grabber. |
RepositoryManager |
getRepositoryManager()
Gets the repository manager. |
void |
updateComponentTreeUI()
Tells a plug-in to update its component tree (if any) since the Java look-and-feel has changed. |
void |
updateState(CommandEvent event)
Called when a command should update its state. |
| Methods inherited from class org.esa.beam.framework.ui.command.ExecCommand |
|---|
addCommandListener, configure, configure, createMenuItem, createToolBarButton, execute, execute, fireActionPerformed, isToggle, removeCommandListener, setToggle |
| Methods inherited from class org.esa.beam.framework.ui.command.SelectableCommand |
|---|
createAction, isSelected, setSelected |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProductGrabberAction()
| Method Detail |
|---|
public static ProductGrabberAction getInstance()
public RepositoryManager getRepositoryManager()
public ProductGrabber getProductGrabber()
public void actionPerformed(CommandEvent event)
SelectableCommand
actionPerformed in class SelectableCommandevent - the command eventpublic void updateState(CommandEvent event)
CommandThis method can contain some code which analyzes the underlying element and makes a decision whether this item or group should be made visible/invisible or enabled/disabled etc.
updateState in class Commandevent - the command eventpublic void updateComponentTreeUI()
If a plug-in uses top-level containers such as dialogs or frames, implementors of this method should invoke
SwingUtilities.updateComponentTreeUI() on such containers.
updateComponentTreeUI in class Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||