|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
org.objectweb.fractal.swing.AbstractAction
org.objectweb.fractal.gui.menu.control.OpenAction
An action to open a configuration stored in a repository.
Field Summary | |
static String |
CONFIGURATION_BINDING
A mandatory client interface bound to a configuration
model. |
static String |
GRAPH_BINDING
An optional client interface bound to a graph model. |
static String |
REPOSITORY_BINDING
A mandatory client interface bound to a repository . |
static String |
SAVE_ACTION_BINDING
An optional client interface bound to a save action . |
static String |
SELECTION_BINDING
A mandatory client interface bound to a selection model. |
static String |
STORAGE_BINDING
A mandatory client interface bound to a storage . |
static String |
USER_DATA_BINDING
An optional client interface bound to a userdata . |
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
STARTED, STOPPED |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
OpenAction()
Constructs a new OpenAction component. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
|
void |
bindFc(String clientItfName,
Object serverItf)
Binds the client interface whose name is given to a server interface. |
String |
getFcState()
Returns the execution state of the component to which this interface belongs. |
String[] |
listFc()
Returns the names of the client interfaces of the component to which this interface belongs. |
Object |
lookupFc(String clientItfName)
Returns the interface to which the given client interface is bound. |
void |
startFc()
Starts the component to which this interface belongs. |
void |
stopFc()
Stops the component to which this interface belongs. |
void |
unbindFc(String clientItfName)
Unbinds the given client interface. |
Methods inherited from class org.objectweb.fractal.swing.AbstractAction |
getAcceleratorKey, getIconURL, getName, getToolTipText, setAcceleratorKey, setIconURL, setName, setToolTipText |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String CONFIGURATION_BINDING
configuration
model. This is the configuration into which the opened configurations are
loaded.
public static final String GRAPH_BINDING
graph
model.
This is the model into which the opened configuration graphical
information are loaded.
public static final String SELECTION_BINDING
selection
model.
This model is reinitialized after a configuration has been opened.
public static final String REPOSITORY_BINDING
repository
. This
repository is used to load the configurations stored in the storage.
public static final String STORAGE_BINDING
storage
. This is
the storage from which the opened configurations are read.
public static final String USER_DATA_BINDING
userdata
. This is
the storage into/from which some personal data peculiar to each user are
written/read.
public static final String SAVE_ACTION_BINDING
action
. This
action is used to save the current configuration, before opening a new
one.
Constructor Detail |
public OpenAction()
OpenAction
component.
Method Detail |
public String[] listFc()
BindingController
listFc
in interface BindingController
public Object lookupFc(String clientItfName)
BindingController
bindFc
).
lookupFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.
public void bindFc(String clientItfName, Object serverItf)
BindingController
bindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.serverItf
- a server interface.public void unbindFc(String clientItfName)
BindingController
unbindFc
in interface BindingController
clientItfName
- the name of a client interface of the component to
which this interface belongs.public String getFcState()
LifeCycleController
getFcState
in interface LifeCycleController
public void startFc()
LifeCycleController
startFc
in interface LifeCycleController
public void stopFc()
LifeCycleController
stopFc
in interface LifeCycleController
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |