org.esa.beam.visat.actions.session
Class OpenSessionAction

java.lang.Object
  extended by org.esa.beam.framework.ui.command.Command
      extended by org.esa.beam.framework.ui.command.SelectableCommand
          extended by org.esa.beam.framework.ui.command.ExecCommand
              extended by org.esa.beam.visat.actions.session.OpenSessionAction
All Implemented Interfaces:
com.bc.ceres.core.runtime.ConfigurableExtension

public class OpenSessionAction
extends ExecCommand

Opens a VISAT session.

Since:
BEAM 4.6
Version:
$Revision$ $Date$
Author:
Norman Fomferra

Field Summary
static String ID
           
static String LAST_SESSION_DIR_KEY
           
static BeamFileFilter SESSION_FILE_FILTER
          Deprecated. 
 
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
OpenSessionAction()
           
 
Method Summary
 void actionPerformed(CommandEvent event)
          Invoked when a command action is performed.
static BeamFileFilter getSessionFileFilter()
           
 void openSession(VisatApp app, File sessionFile)
           
 
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 org.esa.beam.framework.ui.command.Command
addEventListener, containsContext, containsLocation, containsProperty, containsPropertyValue, createResourceKey, fireUpdateState, getAccelerator, getAction, getCommandID, getCommandUIFactory, getConfigBoolean, getConfigIcon, getConfigString, getConfigStrings, getContexts, getEventListenerList, getHelpId, getLargeIcon, getLocations, getLongDescription, getMnemonic, getParent, getPlaceAfter, getPlaceBefore, getPopupText, getProperty, getProperty, getProperty, getProperty, getResourceBoolean, getResourceIcon, getResourceString, getResourceStringArray, getResourceStrings, getShortDescription, getSmallIcon, getSortChildren, getText, getValue, isEnabled, isPlaceAtContextTop, isSeparatorAfter, isSeparatorBefore, removeEventListener, setAccelerator, setCommandID, setCommandUIFactory, setContexts, setEnabled, setHelpId, setLargeIcon, setLocations, setLongDescription, setMnemonic, setParent, setPlaceAfter, setPlaceAtContextTop, setPlaceBefore, setPopupText, setProperty, setProperty, setSeparatorAfter, setSeparatorBefore, setShortDescription, setSmallIcon, setText, toString, updateComponentTreeUI, updateState, updateState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SESSION_FILE_FILTER

@Deprecated
public static final BeamFileFilter SESSION_FILE_FILTER
Deprecated. 

ID

public static final String ID
See Also:
Constant Field Values

LAST_SESSION_DIR_KEY

public static final String LAST_SESSION_DIR_KEY
See Also:
Constant Field Values
Constructor Detail

OpenSessionAction

public OpenSessionAction()
Method Detail

getSessionFileFilter

public static BeamFileFilter getSessionFileFilter()

actionPerformed

public void actionPerformed(CommandEvent event)
Description copied from class: SelectableCommand
Invoked when a command action is performed.

Overrides:
actionPerformed in class SelectableCommand
Parameters:
event - the command event

openSession

public void openSession(VisatApp app,
                        File sessionFile)


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.