Visual OCL

TU-Berlin | Faculty IV | Institute ISTI | Research group TFS

User Guide for the Eclipse VOCL-Plugin
group 2

small logo
section: < previous | next >
| |
chapter: << previous | next >>

1.4 Capabilities of the editor


This chapter presents the fundamental operations that can be executed with this editor.

1.4.1 Moving and resizing

The editor provides functionality for moving and resizing graphical objects. For instance, the constraint can be resized and moved. If you select a graphical object you will see black rectangle around this object with eight anchor points which provide the functionality for resizing a graphical object.

1.4.2 Undo / redo

In general all editor operations such as moving, creating and deleting can be undone and redone. An disadvantage of the current editor implementation is that edit operations for ClassifierRoles can not be undone. For undoing an edit operation you have to edit the ClassifierRole once again.

1.4.3 Context menu

The context menu represent an easy way to manipulate VOCL diagrams. Its look, i.e the number and the kind of entries, depends on the selected object.
For instance, operations like undo / redo appear if any operation was executed. The delete operation always appear at the time when the selected object provides a deletion operation. Other operations like edit of VOCL object or negate / unnegate depends also on the selected object. In Fig. 1.4.1 you can see the context menu of a ClassifierRole was created and then selected. There you have undo, delete and editing operations for instance but no negate / unnegate operation which is not provided by this graphical object.


Fig 1.4.1 - context menu of a ClassifierRole


1.4.4 Input check of dialogs

Before you close a dialog by clicking Ok your entries are checked concerning the correctness and completness,  otherwise a dialog is opened that indicates that some information is still missing.
©2005 TFS