net.refractions.udig.printing.ui
Interface IBoxEditAction


public interface IBoxEditAction

Provides a UI for creating commands to edit a box's model and creates the command for modifying the model.

Since:
1.1.0
Author:
Jesse

Method Summary
 Command getCommand()
          Creates the command that will change the model.
 void init(BoxPart owner)
          Initializes the box edit action.
 boolean isDone()
          Called by framework to determine if the command can be executed.
 void perform()
          Creates the UI for the user to make a change to the model.
 

Method Detail

init

void init(BoxPart owner)
Initializes the box edit action.

Parameters:
parent - the parent composite that can be used to create the user interface.

perform

void perform()
Creates the UI for the user to make a change to the model.

DOES NOT CHANGE THE MODEL!!!!

Only the command should change the model.


isDone

boolean isDone()
Called by framework to determine if the command can be executed.


getCommand

Command getCommand()
Creates the command that will change the model.

Returns:
the command that will change the model.