Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.style.dialog
Class FeatureStylePage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by eu.esdihumboldt.hale.ui.style.dialog.FeatureStylePage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider
Direct Known Subclasses:
RuleStylePage, SimpleGraphicStylePage, SimpleLineStylePage, SimplePointStylePage, SimplePolygonStylePage, XMLStylePage3, XMLStylePage4

public abstract class FeatureStylePage
extends org.eclipse.jface.dialogs.DialogPage

Dialog page for the FeatureStyleDialog

Author:
Simon Templer
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
FeatureStylePage(FeatureStyleDialog parent, String title)
          Creates a new dialog page
 
Method Summary
 FeatureStyleDialog getParent()
           
abstract  org.geotools.styling.Style getStyle(boolean force)
          Get the edited style
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setDescription, setErrorMessage, setImageDescriptor, setMessage, setMessage, setTitle, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl
 

Constructor Detail

FeatureStylePage

public FeatureStylePage(FeatureStyleDialog parent,
                        String title)
Creates a new dialog page

Parameters:
parent - the parent dialog
title - the page title
Method Detail

getParent

public FeatureStyleDialog getParent()
Returns:
the parent

getStyle

public abstract org.geotools.styling.Style getStyle(boolean force)
                                             throws Exception
Get the edited style

Parameters:
force - if a style shall be returned even if there were no changes
Returns:
the style (or null if the parent style shall be used)
Throws:
Exception - if the style could not be retrieved

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d