|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.jface.dialogs.TrayDialog
eu.esdihumboldt.hale.ui.util.dialog.MultiPageDialog<FeatureStylePage>
eu.esdihumboldt.hale.ui.style.dialog.FeatureStyleDialog
public class FeatureStyleDialog
Dialog for editing feature type styles.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
---|
org.eclipse.jface.window.Window.IExceptionHandler |
Field Summary |
---|
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
---|
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 |
Fields inherited from class org.eclipse.jface.window.Window |
---|
CANCEL, OK |
Constructor Summary | |
---|---|
FeatureStyleDialog(TypeDefinition type,
DataSet dataSet)
Creates a dialog for editing a feature type style |
Method Summary | |
---|---|
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 |
Methods inherited from class eu.esdihumboldt.hale.ui.util.dialog.MultiPageDialog |
---|
addPage, addPageChangedListener, configureShell, createContents, firePageChange, getCurrentPage, getImage, getInitialSize, getSelectedPage, getTitle, removePageChangedListener, setImage, setTitle |
Methods inherited from class org.eclipse.jface.dialogs.TrayDialog |
---|
close, closeTray, createButtonBar, createHelpControl, getLayout, getTray, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
---|
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 |
Methods inherited from class org.eclipse.jface.window.Window |
---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FeatureStyleDialog(TypeDefinition type, DataSet dataSet)
type
- the type definitiondataSet
- the type data setMethod Detail |
---|
public DataSet getDataSet()
protected boolean allowPageChange(FeatureStylePage oldPage, FeatureStylePage newPage)
MultiPageDialog
allowPageChange
in class MultiPageDialog<FeatureStylePage>
oldPage
- the old pagenewPage
- the new page
MultiPageDialog.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)
method
createPages
in class MultiPageDialog<FeatureStylePage>
MultiPageDialog.createPages()
public TypeDefinition getType()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |