net.refractions.udig.project.ui
Interface IUDIGDialogPage


public interface IUDIGDialogPage

A "Page" that will have a ToolContext object set each time an the active MapEditor changes. If the current editor is not a map editor the the context will be null otherwise it will be a context that will operate against the map contained by the map editor.

Since:
0.9.0
Author:
jeichar

Method Summary
 void createControl(Composite parent)
          The method must create a control.
 IToolContext getContext()
          Returns the current context object
 Control getControl()
          This method must return the control created by createControl.
 Point getPreferredSize()
          Returns the desired Size of the dialog.
 void setContext(IToolContext context)
          Sets the current context object
 void setFeature(SimpleFeature feature)
          Called before createControl is called.
 

Method Detail

setContext

void setContext(IToolContext context)
Sets the current context object


getContext

IToolContext getContext()
Returns the current context object

Returns:
the current context object

createControl

void createControl(Composite parent)
The method must create a control. The Layout data need not be set. The edit feature will be set before this method is called.


getControl

Control getControl()
This method must return the control created by createControl.


getPreferredSize

Point getPreferredSize()
Returns the desired Size of the dialog.


setFeature

void setFeature(SimpleFeature feature)
Called before createControl is called.

Parameters:
feature -