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 ABAP 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 GC_BOTTOMLEFT Constant Public Type reference (TYPE) STRING 'bottomleft' 20090709
2 GC_BOTTOMRIGHT Constant Public Type reference (TYPE) STRING 'bottomright' 20090709
3 GC_TOPLEFT Constant Public Type reference (TYPE) STRING 'topleft' 20090709
4 GC_TOPRIGHT Constant Public Type reference (TYPE) STRING 'topright' 20090709
5 GT_CLUSTER_SHAPES Instance attribute Protected Type reference (TYPE) SHAPE_TABLE 20090604
6 GT_DIRECTION_MAPPING Instance attribute Protected Type reference (TYPE) DIRECTION_MAPPING_TABLE 20090714
7 GT_FLOATING_SHAPES Instance attribute Protected Type reference (TYPE) SHAPE_TABLE 20090604
8 GT_NEXT_COORD Instance attribute Protected Type reference (TYPE) NEXT_COORD_TABLE 20090604
9 GT_NEXT_COORD_DIA Instance attribute Protected Type reference (TYPE) NEXT_COORD_TABLE 20090709
Methods
# Method Level Visibility Method type Description Created on
1 CALCULATE_COORDINATES Instance method Protected Method Calculate coordinates relative to previous shape 20090604
2 CALCULATE_COORDINATES_DIAGONAL Instance method Protected Method Calculate coordinates relative to previous shape diagonally 20090709
3 DETERMINE_CONNECTOR_DIRECTION Instance method Protected Method Determine the direction of the connector 20090713
4 EXECUTE_CLUSTER_ARRANGER Instance method Public Method Execute the arranger algorithm 20100505
5 INIT_ARRANGER Instance method Protected Method Initialize auto arranger 20090604
6 PLACE_CLUSTER_SHAPE Instance method Protected Method Place a shape belonging to a cluster 20090604
7 VISIT_CLUSTER_SHAPE 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 Exporting EV_X Call by reference Type reference (TYPE) I 20090604
2 Exporting EV_Y Call by reference Type reference (TYPE) I 20090604
3 Importing IV_CLUSTER Call by reference Type reference (TYPE) I 20090604
4 Importing IV_DIRECTION Call by reference Type reference (TYPE) WCF_GMT_NEXUS_ID WCF GMT Nexus ID Type 20090604
5 Importing IV_PREV_X Call by reference Type reference (TYPE) I 20090604
6 Importing 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 Exporting EV_X Call by reference Type reference (TYPE) I 20090709
2 Exporting EV_Y Call by reference Type reference (TYPE) I 20090709
3 Importing IV_CLUSTER Call by reference Type reference (TYPE) I 20090709
4 Importing IV_DIRECTION Call by reference Type reference (TYPE) WCF_GMT_NEXUS_ID WCF GMT Nexus ID Type 20090709
5 Importing IV_PREV_X Call by reference Type reference (TYPE) I 20090709
6 Importing 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 Exporting EV_DIAGONAL Call by reference Type reference (TYPE) ABAP_BOOL 20090714
2 Exporting EV_DIRECTION Call by reference Type reference (TYPE) WCF_GMT_NEXUS_POINT_NAME WCF GMT Nexus Point Name 20090714
3 Importing IR_START_ANCHOR Call by reference Object reference (TYPE REF TO) CL_WCF_GMT_ANCHOR WCF GMT Nexus Anchor Component 20090714
4 Importing 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 Exporting ET_CLUSTER_SHAPES Call by reference Type reference (TYPE) SHAPE_TABLE 20100505
2 Importing IR_GMT_MODEL Call by reference Object reference (TYPE REF TO) CL_WCF_GMT_MODEL WCF GMT Model Structure API 20100505
3 Importing 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 Importing IR_SHAPE Call by reference Object reference (TYPE REF TO) SHAPE_STRUCT 20090604
2 Importing IV_CLUSTER Call by reference Type reference (TYPE) I 20090604
3 Importing IV_X_COORD Call by reference Type reference (TYPE) I 20090604
4 Importing 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 Importing 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