|
|||||
SUMMARY: FIELD | CONSTR | METHOD| EVENT | DETAIL: FIELD | CONSTR | METHOD| EVENT |
This is an input mode for editing a node label.
Field Summary | |
---|---|
String |
nodeOrLabel
id of a node or a node label |
Constructor Summary | |
---|---|
EditLabelMode(yfiles/client/tiles/widget/GraphCanvas canvas)
This is an input mode for editing a node label. |
Method Summary | |
---|---|
|
activate()
activates this instance. |
|
deactivate()
deactivates this instance. |
Field Detail |
---|
String nodeOrLabel
id of a node or a node label
Constructor Detail |
---|
EditLabelMode(yfiles/client/tiles/widget/GraphCanvas canvas)
This is an input mode for editing a node label.
canvas
-
Method Detail |
---|
activate()
activates this instance.
If the attribute nodeOrLabel is not set to the id of a node or a node label of the graph for this input mode, the instance deactivates itself immediately. Otherwise it opens a dialog with the current label for the specified graph element. The label can be edited. Finally, the changes can either be commited or canceled.
deactivate()
deactivates this instance.
The dialog is closed, if it is open.