Show TOC

Network EventsLocate this document in the navigation structure

Events in View Designer

  • onCustomCommand

    Indicates that an application-specific command was called (by the user or by an external controller).

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    COMPONENT

    STRING

    ID of the document/model/graph in which the event was triggered

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onEdgeAdded

    Event indicating that an edge was selected.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    COMPONENT

    STRING

    ID of the document/model/graph in which the event was triggered

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onEdgePropsChanged

    This event signifies that edge properties have been changed. With this event only "decorative" properties are reported, and not the source or target of an edge.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    EDGE

    STRING

    The connections whose properties have been changed

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onEdgeRemoved

    Event indicating that an edge was deselected.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    Standard Parameter

    COMPONENT

    STRING

    ID of the document/model/graph in which the event was triggered

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onEdgeSelected

    This event indicates that an edge was clicked (not just selected).

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    EDGE

    STRING

    Component: The connections whose properties have been changed

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onFrameSwitched

    Indicates that a SWITCH_FRAME was executed. This parameter specifies whether the applet was detached from the browser window or embedded again.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    Standard Parameter

    COMPONENT

    STRING

    ID of the document/model/graph in which the event was triggered

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onGeneric

    Wrapper for all possible events that could wrap the actual events.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    Standard Parameter

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    COMPONENT

    STRING

    Subgraph, node, or connection associated with the event

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

    NAME

    STRING

    Name of the wrapper

  • onGraphAdded

    This event signifies that a group of nodes, including their connections, has been added to the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    SUB_GRAPH

    STRING

    Added subgraph

  • onGraphRemoved

    This event indicates that a group of nodes was removed from the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

    SUB_GRAPH

    STRING

    Removed subgraph

  • onInitialized

    This event indicates that the network graph has been inialized

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onLayoutChanged

    This event indicates that one or more nodes has changed position. This event can only be fired if the node is really omitted. Not every mouse movement is reported. If a group of nodes is moved by the user, each moved node sends a separate onLayoutChanged event.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    NODE

    STRING

    Graph nodes

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onLinkAdded

    This event indicates that a link was added to the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    LINK

    STRING

    Link

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onLinkChanged

    This event signifies that a link from the graph was changed.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    LINK

    STRING

    Link

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onLinkRemoved

    This event indicates that a link was removed from the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    LINK

    STRING

    Link

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onModelAdded

    This event indicates that the entire graph model was replaced.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onModelDirty

    This event indicates that the entire graph model was changed. This event is sent only once for a model if another event has taken place that has resulted in a change to the model.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onModelExtracted

    This event signifies that a new model has been extracted from an existing model. Normally this is the result of a graph analysis that the user can perform to filter a specific subset of a model.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    NEW_GRAPH

    STRING

    New model. Its ID can be used as the target ID for commands on the new graphs.

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onModelSaved

    This event signifies that a graph model was saved.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    REPLY

    STRING

    The response from the server that saved the model. This response can be an error message.

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onNodeAdded

    This event signifies that a node has been added to the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    NODE

    STRING

    Added node

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onNodeDoubleClicked

    This event signifies that the user has double-clicked on a node.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    ON_NODE_DBL_CLK_GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    ON_NODE_DBL_CLK_NODE

    STRING

    Node that was double-clicked

    ON_NODE_DBL_CLK_SUB_COMPS

    STRING

    0-based index of the component. A subcomponent can be a label or another component that was defined in the type definition of the node.

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onNodePropsChanged

    This event signifies that node properties have been changed. This event does not report changes to node borders that were made by onLayoutChanged.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    NODE

    STRING

    Node whose properties have changed

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onNodeRemoved

    This event signifies that a node has been removed from the graph.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    NODE

    STRING

    Removed node

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onNodeSelected

    This event signifies that a node has been clicked (not just selected).

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    NODE

    STRING

    Clicked-on node

    ON_NODE_SELECTED_SUB_COMPS

    STRING

    0-based index of the component. A subcomponent can be a label or another component that was defined in the type definition of the node.

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onRectangleSelected

    Indicates that the user has created with the mouse a rectangle on the background of the character range. This event is needed for applications that create a new node using the position and size of a rectangle.

    If the parameters are coordinates, they are model coordinates, which means that are used for correcting the current scaling factor.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    COMPONENT

    STRING

    ID of the document/model/graph in which the event was triggered

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onSelectionChanged

    Event indicating that a selection was changed.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    COMPONENT

    STRING

    ID of the document/model/graph in which the event was triggered

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger

  • onTraceLevelChanged

    This event signifies that the trace level has been changed.

    Parameter Name

    Type

    Description

    ID

    STRING

    Standard parameter (see Methods and Properties of UI Elements)

    CONTEXT_ELEMENT

    IF_WD_CONTEXT_ELEMENT

    Standard parameter (see Methods and Properties of UI Elements)

    GRAPH

    STRING

    ID of the document/model/graph in which the event was triggered

    LEVEL

    STRING

    Integer value between 0 and 5

    PARAMETERS

    STRING

    String of (optional and event-dependent) parameters whose format is fully dependent on the event trigger