Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
MatrixTreeComm Class Reference
Inheritance diagram for MatrixTreeComm:

Public Member Functions

void requestForNewLink (final NewLinkEvent evt)
 
void requestForNewAsset (NewAssetEvent evt)
 

Static Public Member Functions

static void createLink (final String linkType, final MatrixTreeNode[] children, MatrixTreeNode _parent, int _index, final int prevIndex, final String[] parentIds)
 

Detailed Description

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.

Member Function Documentation

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
linkTypethe type of link to create
childrenthe children to move
parentthe parent to move the children under
indexthe 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
evtthe event

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
evtthe event

Definition at line 45 of file MatrixTreeComm.java.


The documentation for this class was generated from the following file: