|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A model for the OCLEditor
. This model represents a list of
OCL constraints
that can be edited
using the OCLEditor.
Method Summary | |
void |
addConstraint()
Add a fresh constraint to the model. |
void |
addConstraintChangeListener(ConstraintChangeListener ccl)
Add a listener to be informed of changes in the model. |
ConstraintRepresentation |
getConstraintAt(int nIdx)
Return the constraint with the specified index. |
int |
getConstraintCount()
Return the number of constraints in this model. |
void |
removeConstraintAt(int nIdx)
Remove the specified constraint from the model. |
void |
removeConstraintChangeListener(ConstraintChangeListener ccl)
Remove a listener to be informed of changes in the model. |
Method Detail |
public int getConstraintCount()
public ConstraintRepresentation getConstraintAt(int nIdx)
nIdx
- the index of the constraint to be returned. 0 <= nIdx < getConstraintCount()
public void addConstraint()
public void removeConstraintAt(int nIdx)
nIdx
- the index of the constraint to be removed. 0 <= nIdx < getConstraintCount()
public void addConstraintChangeListener(ConstraintChangeListener ccl)
ccl
- the new listenerpublic void removeConstraintChangeListener(ConstraintChangeListener ccl)
ccl
- the listener to be removed
|
Dresden OCL Toolkit | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |