12.08.2013 Views

Master's Thesis - Computer Graphics and Visualization - TU Delft

Master's Thesis - Computer Graphics and Visualization - TU Delft

Master's Thesis - Computer Graphics and Visualization - TU Delft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

corresponding operations. Figure 4-5 is the interface created by this class.<br />

Menu Bar<br />

4.5.2 The Sequence View<br />

Module Category<br />

Modules Library Canvas<br />

Figure 4-5 User interface of the Culgi GPE<br />

Class SequenceInterface is used to implement the sequence model. In the sequence model, the canvas<br />

is divided into a number of rows, <strong>and</strong> each row only allows one module instance. This feature brings<br />

some new requirements to the system:<br />

1) When a module is exp<strong>and</strong>ed or collapsed,<br />

the height of the row that this module lies in must be<br />

changed. For example, the appearance of a module is changed from view1 to view2, the height of<br />

the row should increase at the same time.<br />

2) When a module is exp<strong>and</strong>ed, collapsed, or deleted, the position of the rows below this module<br />

should be changed as well.<br />

3) If a user creates a new module<br />

in the row where another module already exists, the system should<br />

cancel the creation <strong>and</strong> inform the user about the rule of the sequence editor.<br />

- 35 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!