Method Summary |
|
public void | applyData(Object data) |
public Point | computeSize() Computes the size for this page's UI control. |
public void | createControl(Composite parent) Creates the page Control. |
protected Label | createDescriptionLabel(Composite parent) Creates and returns an SWT label under the given composite. |
abstract public void | createPageContent(Composite parent) Creates the page content. |
public void | dispose() |
protected Point | doComputeSize() Computes the size needed by this page's UI control. |
public IStyleEditorPageContainer | getContainer() |
public StyleEditorPage | getEditorPage() |
abstract public String | getErrorMessage() Returns an error message, if applicable. |
abstract public String | getLabel() |
public StyledLayerDescriptor | getSLD() Returns the StyledLayerDescriptor from the style object on the blackboard (and creates one if it is missing). |
public StyleLayer | getSelectedLayer() |
public Style | getStyle() Returns the current style object from the dialog. |
abstract public void | gotFocus() Each subclass must implement this method which is called each time the page obtains focus. |
public void | init(IWorkbench bench) Initializes the page (optional)
Subclasses may override this method if they need to initialize. |
public boolean | isValid() Determines if the page contents are valid input. |
abstract public boolean | performCancel() Invoked when the user clicks cancel. |
public void | setContainer(IEditorPageContainer container) |
public void | setSize(Point size) |
public void | setStyle(Style style) Sets the current style object (on our styleblackboard clone). |
abstract public void | styleChanged(GTEvent event) Each subclass must implement this method which is called each time the style object is modified on ANY page. |