|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.fractal.gui.dialog.control.BasicDialogController
A controller component for dialog view components. This component modifies a dialog model, in reaction to events emitted by a dialog view.
Field Summary | |
static java.lang.String |
CONFIGURATION_BINDING
A mandatory client interface bound to a configuration
model. |
static java.lang.String |
DIALOG_MODEL_BINDING
A mandatory client interface bound to a dialog model. |
static java.lang.String |
FACTORY_BINDING
A mandatory client interface bound to a factory . |
static java.lang.String |
SELECTION_BINDING
A mandatory client interface bound to a selection
model. |
Constructor Summary | |
BasicDialogController()
Constructs a new BasicDialogController component. |
Method Summary | |
void |
addAttributeButtonClicked()
Notifies this listener that the "add attribute" button has been clicked. |
void |
addClientInterfaceButtonClicked()
Notifies this listener that the "add client interface" button has been clicked. |
void |
addServerInterfaceButtonClicked()
Notifies this listener that the "add server interface" button has been clicked. |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
removeAttributeButtonClicked()
Notifies this listener that the "remove attribute" button has been clicked. |
void |
removeClientInterfaceButtonClicked()
Notifies this listener that the "remove client interface" button has been clicked. |
void |
removeServerInterfaceButtonClicked()
Notifies this listener that the "remove server interface" button has been clicked. |
void |
unbindFc(java.lang.String clientItfName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CONFIGURATION_BINDING
configuration
model. This model is used to get the component to which interfaces or
attributes must be added or removed by this controller (the component used
is the root component of the configuration).
public static final java.lang.String SELECTION_BINDING
selection
model. This model is used to get the interface that must be removed when
a "remove interface" button is clicked.
public static final java.lang.String DIALOG_MODEL_BINDING
dialog
model.
This model is used to get selection model of the attribute table, which is
itself used to find the attribute to be removed when the "remove attribute"
button is clicked.
public static final java.lang.String FACTORY_BINDING
factory
. This
factory is used to create interfaces when a "add interface" button is
clicked.
Constructor Detail |
public BasicDialogController()
BasicDialogController
component.
Method Detail |
public java.lang.String[] listFc()
listFc
in interface org.objectweb.fractal.api.control.BindingController
public java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc
in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName, java.lang.Object serverItf)
bindFc
in interface org.objectweb.fractal.api.control.BindingController
public void unbindFc(java.lang.String clientItfName)
unbindFc
in interface org.objectweb.fractal.api.control.BindingController
public void addClientInterfaceButtonClicked()
DialogViewListener
addClientInterfaceButtonClicked
in interface DialogViewListener
public void removeClientInterfaceButtonClicked()
DialogViewListener
removeClientInterfaceButtonClicked
in interface DialogViewListener
public void addServerInterfaceButtonClicked()
DialogViewListener
addServerInterfaceButtonClicked
in interface DialogViewListener
public void removeServerInterfaceButtonClicked()
DialogViewListener
removeServerInterfaceButtonClicked
in interface DialogViewListener
public void addAttributeButtonClicked()
DialogViewListener
addAttributeButtonClicked
in interface DialogViewListener
public void removeAttributeButtonClicked()
DialogViewListener
removeAttributeButtonClicked
in interface DialogViewListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |