SAP ABAP Class CL_WCF_GMT_CLUSTER_ARRANGER (Auto-Arrange creating a cluster of shapes)
Hierarchy
☛
WEBCUIF (Software Component) SAP Web UI Framework
⤷
CA-WUI-UI (Application Component) User Interface
⤷
WCF_GRAPHICAL_MODELING_TOOL (Package) WCF Graphical Modeling Tool
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_WCF_GMT_AUTO_ARRANGER | WCF GMT Nexus Auto arranger super class | 20090527 |
Properties
| Class | CL_WCF_GMT_CLUSTER_ARRANGER | |
| Short Description | Auto-Arrange creating a cluster of shapes | |
| Super Class | CL_WCF_GMT_AUTO_ARRANGER | WCF GMT Nexus Auto arranger super class |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WCF_GRAPHICAL_MODELING_TOOL | WCF Graphical Modeling Tool |
| Created | 20090527 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WCF_GMT_CLUSTER_ARRANGER has no interface implemented.
Friends
Class CL_WCF_GMT_CLUSTER_ARRANGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'bottomleft' | 20090709 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'bottomright' | 20090709 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'topleft' | 20090709 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'topright' | 20090709 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | SHAPE_TABLE | 20090604 | ||||
| 6 | Instance attribute | Protected | Type reference (TYPE) | DIRECTION_MAPPING_TABLE | 20090714 | ||||
| 7 | Instance attribute | Protected | Type reference (TYPE) | SHAPE_TABLE | 20090604 | ||||
| 8 | Instance attribute | Protected | Type reference (TYPE) | NEXT_COORD_TABLE | 20090604 | ||||
| 9 | Instance attribute | Protected | Type reference (TYPE) | NEXT_COORD_TABLE | 20090709 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Calculate coordinates relative to previous shape | 20090604 | |
| 2 | Instance method | Protected | Method | Calculate coordinates relative to previous shape diagonally | 20090709 | |
| 3 | Instance method | Protected | Method | Determine the direction of the connector | 20090713 | |
| 4 | Instance method | Public | Method | Execute the arranger algorithm | 20100505 | |
| 5 | Instance method | Protected | Method | Initialize auto arranger | 20090604 | |
| 6 | Instance method | Protected | Method | Place a shape belonging to a cluster | 20090604 | |
| 7 | Instance method | Protected | Method | Visits recursively all shapes of this cluster | 20090604 |
Events
Class CL_WCF_GMT_CLUSTER_ARRANGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | CLUSTER_INFO_STRUCT | Public | See coding | 20090609 | BEGIN OF cluster_info_struct,
cluster_num TYPE i,
shape_count TYPE i,
min_x TYPE i,
min_y TYPE i,
max_x TYPE i,
max_y TYPE i,
width TYPE i,
height TYPE i,
x_offset TYPE i,
y_offset TYPE i,
END OF cluster_info_struct
|
||
| 2 | CLUSTER_INFO_TABLE | Public | See coding | 20090609 | cluster_info_table TYPE TABLE OF cluster_info_struct
|
||
| 3 | DIRECTION_MAPPING_STRUCT | Public | See coding | 20090714 | BEGIN OF direction_mapping_struct,
start_position TYPE wcf_gmt_nexus_point_name,
end_position TYPE wcf_gmt_nexus_point_name,
direction TYPE wcf_gmt_nexus_point_name,
is_diagonal type abap_bool,
END OF direction_mapping_struct
|
||
| 4 | DIRECTION_MAPPING_TABLE | Public | See coding | 20090714 | direction_mapping_table type table of direction_mapping_struct
|
||
| 5 | NEXT_COORD_STRUCT | Public | See coding | 20090604 | BEGIN OF next_coord_struct,
col1 TYPE i,
col2 TYPE i,
END OF next_coord_struct
|
||
| 6 | NEXT_COORD_TABLE | Public | See coding | 20090604 | next_coord_table TYPE TABLE OF next_coord_struct
|
||
| 7 | SHAPE_STRUCT | Public | See coding | 20090603 | BEGIN OF shape_struct,
id TYPE wcf_gmt_nexus_id,
ref TYPE REF TO cl_wcf_gmt_shape,
cluster TYPE i,
cluster_x TYPE i,
cluster_y TYPE i,
placed TYPE abap_bool,
visited TYPE abap_bool,
conn_num TYPE i,
global_x TYPE i,
global_y TYPE i,
END OF shape_struct
|
||
| 8 | SHAPE_TABLE | Public | See coding | 20090603 | shape_table TYPE TABLE OF shape_struct
|
Method Signatures
Method CALCULATE_COORDINATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_X | Call by reference | Type reference (TYPE) | I | 20090604 | ||||
| 2 | EV_Y | Call by reference | Type reference (TYPE) | I | 20090604 | ||||
| 3 | IV_CLUSTER | Call by reference | Type reference (TYPE) | I | 20090604 | ||||
| 4 | IV_DIRECTION | Call by reference | Type reference (TYPE) | WCF_GMT_NEXUS_ID | WCF GMT Nexus ID Type | 20090604 | |||
| 5 | IV_PREV_X | Call by reference | Type reference (TYPE) | I | 20090604 | ||||
| 6 | IV_PREV_Y | Call by reference | Type reference (TYPE) | I | 20090604 |
Method CALCULATE_COORDINATES on class CL_WCF_GMT_CLUSTER_ARRANGER has no exception.
Method CALCULATE_COORDINATES_DIAGONAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_X | Call by reference | Type reference (TYPE) | I | 20090709 | ||||
| 2 | EV_Y | Call by reference | Type reference (TYPE) | I | 20090709 | ||||
| 3 | IV_CLUSTER | Call by reference | Type reference (TYPE) | I | 20090709 | ||||
| 4 | IV_DIRECTION | Call by reference | Type reference (TYPE) | WCF_GMT_NEXUS_ID | WCF GMT Nexus ID Type | 20090709 | |||
| 5 | IV_PREV_X | Call by reference | Type reference (TYPE) | I | 20090709 | ||||
| 6 | IV_PREV_Y | Call by reference | Type reference (TYPE) | I | 20090709 |
Method CALCULATE_COORDINATES_DIAGONAL on class CL_WCF_GMT_CLUSTER_ARRANGER has no exception.
Method DETERMINE_CONNECTOR_DIRECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DIAGONAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090714 | ||||
| 2 | EV_DIRECTION | Call by reference | Type reference (TYPE) | WCF_GMT_NEXUS_POINT_NAME | WCF GMT Nexus Point Name | 20090714 | |||
| 3 | IR_START_ANCHOR | Call by reference | Object reference (TYPE REF TO) | CL_WCF_GMT_ANCHOR | WCF GMT Nexus Anchor Component | 20090714 | |||
| 4 | IR_START_DOCK | Call by reference | Object reference (TYPE REF TO) | CL_WCF_GMT_DOCK | WCF GMT Nexus Dock Element | 20090714 |
Method DETERMINE_CONNECTOR_DIRECTION on class CL_WCF_GMT_CLUSTER_ARRANGER has no exception.
Method EXECUTE_CLUSTER_ARRANGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CLUSTER_SHAPES | Call by reference | Type reference (TYPE) | SHAPE_TABLE | 20100505 | ||||
| 2 | IR_GMT_MODEL | Call by reference | Object reference (TYPE REF TO) | CL_WCF_GMT_MODEL | WCF GMT Model Structure API | 20100505 | |||
| 3 | IR_STARTING_SHAPE | Call by reference | Object reference (TYPE REF TO) | CL_WCF_GMT_SHAPE | WCF GMT Nexus Base Shape Element | 20100505 |
Method EXECUTE_CLUSTER_ARRANGER on class CL_WCF_GMT_CLUSTER_ARRANGER has no exception.
Method INIT_ARRANGER Signature
Method INIT_ARRANGER on class CL_WCF_GMT_CLUSTER_ARRANGER has no parameter.
Method INIT_ARRANGER on class CL_WCF_GMT_CLUSTER_ARRANGER has no exception.
Method PLACE_CLUSTER_SHAPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_SHAPE | Call by reference | Object reference (TYPE REF TO) | SHAPE_STRUCT | 20090604 | ||||
| 2 | IV_CLUSTER | Call by reference | Type reference (TYPE) | I | 20090604 | ||||
| 3 | IV_X_COORD | Call by reference | Type reference (TYPE) | I | 20090604 | ||||
| 4 | IV_Y_COORD | Call by reference | Type reference (TYPE) | I | 20090604 |
Method PLACE_CLUSTER_SHAPE on class CL_WCF_GMT_CLUSTER_ARRANGER has no exception.
Method VISIT_CLUSTER_SHAPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_SHAPE | Call by reference | Object reference (TYPE REF TO) | SHAPE_STRUCT | 20090604 |
Method VISIT_CLUSTER_SHAPE on class CL_WCF_GMT_CLUSTER_ARRANGER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 701 |