Graphics Proxy Supported
Definition
There is a global class CL_GUI_GP_HIER for structure graphics. It contains a constructor method, the method SET_DC_NAMES and the interface IF_GP_HIER along with its methods GET_SELECTED_NODES and SET_SELECTED_NODES.
Use
CL_GUI_GP_HIER
-
Declaring the names of attributes in the data container:
There are some attributes that must be declared and others that are optional. For more information, see the class documentation for CL_GUI_GP_HIER in the class builder.
-
Assigning customizing bundles to ports in the graphics proxy:
Not all combinations of customizing bundles and ports are allowed. For more information, see the class documentation for CL_GUI_GP_HIER in the class builder.
For information on the automatic generation of customizing objects, the display context hierarchy and other details on programming the product-specific part of the graphics proxy, see the class documentation for CL_GUI_GP_HIER in the class builder.
-
Defining object types:
To define a node in the data container use the attribute CO_OBJTYPE_NODE. To define a link in the data container use the attribute CO_OBJTYPE_LINK. You can do without links by using the AUTO_LINK function. For information on AUTO_LINK, see AUTO_LINK.
IF_GP_HIER
In addition to the interface IF_GRAPHIC_PROXY available to all graphics proxies, this interface is used by the structure graphics proxy. It contains two methods:
-
GET_SELECTED_NODES: The application calls this method to find out which nodes were selected.
-
SET_SELECTED_NODES: The application calls this method to select nodes.
SET_DC_NAMES
You use this method to set the names of the attributes that are in the data container. There are a number of importing parameters all of which are documented in SET_DC_NAMES.
Integration
CL_CU_POINT is relevant for the whole line (inside the rectangle) but it is especially important for customizing the node symbol (the square inside the rectangle).