Entering content frame

Background documentation Network Events Locate the document in its SAP Library structure

Events in the View Designer

ˇ        onEdgePropsChanged

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

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

EDGE

STRING

The links/arrow whose properties have been changed.

ˇ        onEdgeSelected

This event signifies that an edge has been clicked on (not just selected).

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

EDGE

STRING

Component: The links/arrow whose properties have been changed.

ˇ        onGeneric

Wrapper around all possible and conceivable events, which can wrap each of the actual events.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

COMPONENT

STRING

Subgraph, node or link associated with the event

PARAMETERS

STRING

String of parameters (optional and dependent on the event), 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 links has been added to the graph.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID des Dokuments/Modells/Graphen, in dem der Event passiert ist

SUB_GRAPH

STRING

Hinzugefügter Unter-Graph

ˇ        onGraphRemoved

This event signifies that a group of nodes has been removed from the graph.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID des Dokuments/Modells/Graphen, in dem der Event passiert ist

SUB_GRAPH

STRING

Entfernter Unter-Graph

ˇ        onInitialized

This event signifies that the network graph has been initialized.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

ˇ        onLayoutChanged

This event signifies that one or more nodes have changed position. 
This event is only triggered if a node really has changed. Not every movement of the mouse is reported. If a group of nodes has been moved by the user, each moved node sends its own onLayoutChanged event.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

NODE

STRING

Node of the graph

ˇ        onLinkAdded

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

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

LINK

STRING

Link

ˇ        onLinkRemoved

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

Parameter-Name

Typ

Beschreibung

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

LINK

STRING

Link

ˇ        onModelAdded

This event signifies that the whole graph model has been replaced.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

ˇ        onModelDirty

This event signifies that the whole graph model has been changed. This event is sent only once for a model if another event has occurred that has led to the model being changed.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

ˇ        onModelExtracted

Event that signifies that a new model has been extracted from an existing model. This is normally the result of an analysis on the graph that the user can perform to filter out a specific subset of a model.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

NEW_GRAPH

STRING

New model. Its ID can be used as the target ID for commands to the new graph.

ˇ        onModelSaved

This event signifies that the graph model has been saved.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

REPLY

STRING

The response of the server that saved the model This response may be an error message.

ˇ        onNodeAdded

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

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

NODE

STRING

Added node.

ˇ        onNodeDoubleClicked

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

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

NODE

STRING

Node on whiNode which was double-clicked.

SUB_COMPONENTS

STRING

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

ˇ        onNodePropsChanged

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

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

NODE

STRING

Node whose properties have been changed.

ˇ        onNodeRemoved

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

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

NODE

STRING

Removed node

ˇ        onNodeSelected

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

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

NODE

STRING

Clicked-on node

SUB_COMPONENTS

STRING

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

ˇ        onTraceLevelChanged

This event signifies that the trace level has been changed.

Parameter Name

Type

Description

ID

STRING

Standard Parameter

CONTEXT_ELEMENT

IF_WD_CONTEXT_ELEMENT

Standard Parameter

GRAPH

STRING

ID of the document/model/graph in which the event occurred.

LEVEL

STRING

Integer value between 0 and 5.

 

 

 

Leaving content frame