MatrixTreeComm handles the request for newlink and new asset operations.
- Author
- Marc McIntyre mmcin.nosp@m.tyre.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
Definition at line 36 of file MatrixTreeComm.java.
static void createLink |
( |
final String |
linkType, |
|
|
final MatrixTreeNode[] |
children, |
|
|
MatrixTreeNode |
_parent, |
|
|
int |
_index, |
|
|
final int |
prevIndex, |
|
|
final String[] |
parentIds |
|
) |
| |
|
inlinestatic |
Creates a link in the matrix system and updates the new parent where appropriate. The new parent will only updated if nodes have been moved on the same branch. The updating of the GUI is swing thread safe.
- Parameters
-
linkType | the type of link to create |
children | the children to move |
parent | the parent to move the children under |
index | the index where the childre will be placed |
- See Also
- NewLinkEvent.LINK_TYPE_MOVE
-
NewLinkEvent.LINK_TYPE_NEW_LINK
-
NewLinkEvent.LINK_TYPE_CLONE
Definition at line 126 of file MatrixTreeComm.java.
void requestForNewAsset |
( |
NewAssetEvent |
evt | ) |
|
|
inline |
Event listener method that is fired when a request for a new asset to be created in the matrix system occurs.
- Parameters
-
Definition at line 61 of file MatrixTreeComm.java.
void requestForNewLink |
( |
final NewLinkEvent |
evt | ) |
|
|
inline |
EventListener method that is called when a request for a new link operation should be performed in the matrix system.
- Parameters
-
Definition at line 45 of file MatrixTreeComm.java.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/core/lib/asset_map/java/src/net/squiz/matrix/core/MatrixTreeComm.java