Humboldt Alignment Editor 2.5.0

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

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by eu.esdihumboldt.hale.ui.style.dialog.FeatureStylePage
          extended by eu.esdihumboldt.hale.ui.style.dialog.XMLStylePage4
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider

public class XMLStylePage4
extends FeatureStylePage

Page for editing a style as XML. Using WST plugins, disabled because this dependency adds unwanted contributions to the menu (e.g. Search menu).

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
XMLStylePage4(FeatureStyleDialog parent)
          Create a XML style editor page
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 org.geotools.styling.Style getStyle(boolean force)
          Get the edited style
 
Methods inherited from class eu.esdihumboldt.hale.ui.style.dialog.FeatureStylePage
getParent
 
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
 

Constructor Detail

XMLStylePage4

public XMLStylePage4(FeatureStyleDialog parent)
Create a XML style editor page

Parameters:
parent - the parent dialog
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
See Also:
IDialogPage.createControl(Composite)

getStyle

public org.geotools.styling.Style getStyle(boolean force)
                                    throws Exception
Description copied from class: FeatureStylePage
Get the edited style

Specified by:
getStyle in class FeatureStylePage
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
See Also:
FeatureStylePage.getStyle(boolean)

Humboldt Alignment Editor 2.5.0

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