public class FeatureStyleDialog extends MultiPageDialog<FeatureStylePage>
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
Constructor and Description |
---|
FeatureStyleDialog(TypeDefinition type,
DataSet dataSet)
Creates a dialog for editing a feature type style
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
allowPageChange(FeatureStylePage oldPage,
FeatureStylePage newPage)
Called before the page changes
|
protected void |
applyPressed()
Called when the apply button was pressed
|
protected void |
buttonPressed(int buttonId) |
protected void |
createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent) |
protected void |
createPages()
Create the dialog pages and add them using the
MultiPageDialog.addPage(IDialogPage) method |
DataSet |
getDataSet()
Get the type data set.
|
org.geotools.styling.Style |
getStyle()
Get the style
|
TypeDefinition |
getType() |
protected void |
okPressed() |
protected void |
onPageChange(FeatureStylePage oldPage,
FeatureStylePage newPage)
Called after the page has changed
|
void |
setStyle(org.geotools.styling.Style style)
Set the feature type style
|
addPage, addPageChangedListener, configureShell, createContents, firePageChange, getCurrentPage, getImage, getInitialSize, getSelectedPage, getTitle, removePageChangedListener, setImage, setTitle
close, closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, create, createButton, createDialogArea, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getOKButton, initializeBounds, initializeDialogUnits, isResizable, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
public FeatureStyleDialog(TypeDefinition type, DataSet dataSet)
type
- the type definitiondataSet
- the type data setpublic DataSet getDataSet()
protected boolean allowPageChange(FeatureStylePage oldPage, FeatureStylePage newPage)
MultiPageDialog
allowPageChange
in class MultiPageDialog<FeatureStylePage>
oldPage
- the old pagenewPage
- the new pageMultiPageDialog.allowPageChange(IDialogPage, IDialogPage)
protected void createButtonsForButtonBar(org.eclipse.swt.widgets.Composite parent)
createButtonsForButtonBar
in class org.eclipse.jface.dialogs.Dialog
Dialog.createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
protected void buttonPressed(int buttonId)
buttonPressed
in class org.eclipse.jface.dialogs.Dialog
Dialog.buttonPressed(int)
protected void onPageChange(FeatureStylePage oldPage, FeatureStylePage newPage)
MultiPageDialog
onPageChange
in class MultiPageDialog<FeatureStylePage>
oldPage
- the old pagenewPage
- the new pageMultiPageDialog.onPageChange(IDialogPage, IDialogPage)
protected void okPressed()
okPressed
in class org.eclipse.jface.dialogs.Dialog
Dialog.okPressed()
protected void applyPressed()
public org.geotools.styling.Style getStyle()
public void setStyle(org.geotools.styling.Style style)
style
- the styleprotected void createPages()
MultiPageDialog
MultiPageDialog.addPage(IDialogPage)
methodcreatePages
in class MultiPageDialog<FeatureStylePage>
MultiPageDialog.createPages()
public TypeDefinition getType()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a