Math2mat
Public Member Functions | Protected Member Functions

m2m.frontend.dynamicview.editPart.FunctionPart Class Reference

Inheritance diagram for m2m.frontend.dynamicview.editPart.FunctionPart:
Inheritance graph
[legend]
Collaboration diagram for m2m.frontend.dynamicview.editPart.FunctionPart:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Vector< NodegetModelChildren ()
void propertyChange (PropertyChangeEvent evt)
void actionPerformed (ActionEvent arg0)
boolean reductionWindow (boolean visible)
boolean hasExternConnection (Node node, boolean visible)

Protected Member Functions

IFigure createFigure ()
void createEditPolicies ()
void refreshVisuals ()

Detailed Description

Definition at line 46 of file FunctionPart.java.


Member Function Documentation

void m2m.frontend.dynamicview.editPart.FunctionPart.actionPerformed ( ActionEvent  arg0)

Call when we clic on the function button reduction.

Definition at line 128 of file FunctionPart.java.

void m2m.frontend.dynamicview.editPart.FunctionPart.createEditPolicies ( ) [protected]

Install edit policies in the edit part.

Definition at line 77 of file FunctionPart.java.

IFigure m2m.frontend.dynamicview.editPart.FunctionPart.createFigure ( ) [protected]

Create the represented figure the GraphicFunction model.

Returns:
the represented figure the GraphicFunction model

Reimplemented in m2m.frontend.dynamicview.editPart.LoopPart.

Definition at line 63 of file FunctionPart.java.

Vector<Node> m2m.frontend.dynamicview.editPart.FunctionPart.getModelChildren ( )

Get the list of children of the model.

Returns:
the list of children of the model

Definition at line 103 of file FunctionPart.java.

boolean m2m.frontend.dynamicview.editPart.FunctionPart.hasExternConnection ( Node  node,
boolean  visible 
)

Check if a node has connection outside the function layout. If it's the case, change the layout of the node.

Parameters:
nodeThe tested node
visibleIndicate a minimization or maximisation of the functon
Returns:
True if the node has extern connection, else false

Definition at line 233 of file FunctionPart.java.

void m2m.frontend.dynamicview.editPart.FunctionPart.propertyChange ( PropertyChangeEvent  evt)

Call when a model property has changed.

Parameters:
evtThe raised event

Definition at line 115 of file FunctionPart.java.

boolean m2m.frontend.dynamicview.editPart.FunctionPart.reductionWindow ( boolean  visible)

Minimize/Maximize the layout of a function and mask/unmask nodes and connections inside this one.

Parameters:
visibleIndicate a minimization or maximization of the functon
Returns:
the succes of the minimization or maximization

Definition at line 140 of file FunctionPart.java.

void m2m.frontend.dynamicview.editPart.FunctionPart.refreshVisuals ( ) [protected]

Refresh the figure with the model.

Reimplemented in m2m.frontend.dynamicview.editPart.LoopPart.

Definition at line 86 of file FunctionPart.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations