Back to index

moin  1.9.0~rc2
Public Member Functions
CH.ifa.draw.framework.DrawingEditor Interface Reference

DrawingEditor defines the interface for coordinating the different objects that participate in a drawing editor. More...

List of all members.

Public Member Functions

DrawingView view ()
 Gets the editor's drawing view.
Drawing drawing ()
 Gets the editor's drawing.
Tool tool ()
 Gets the editor's current tool.
void toolDone ()
 Informs the editor that a tool has done its interaction.
void selectionChanged (DrawingView view)
 Informs that the current selection has changed.
void showStatus (String string)
 Shows a status message in the editor's user interface.

Detailed Description

DrawingEditor defines the interface for coordinating the different objects that participate in a drawing editor.


Design Patterns

 o

Mediator
DrawingEditor is the mediator. It decouples the participants of a drawing editor.

See also:
Tool
DrawingView
Drawing

Definition at line 25 of file DrawingEditor.java.


Member Function Documentation

Gets the editor's drawing.

Informs that the current selection has changed.

Override this method to handle selection changes.

Shows a status message in the editor's user interface.

Gets the editor's current tool.

Informs the editor that a tool has done its interaction.

This method can be used to switch back to the default tool.

Gets the editor's drawing view.


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