|
|||||||||||
| 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
com.tensegrity.gui.swt.dialog.AbstractPreviewDialog
com.tensegrity.gui.swt.dialog.SwtMarkerFormatDialog
A preview dialog for changing marker formats.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
| Field Summary |
| Fields inherited from class com.tensegrity.gui.swt.dialog.AbstractPreviewDialog |
preview, uiManager |
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, dialogArea, DLG_IMG_ERROR, 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 | |
SwtMarkerFormatDialog(org.eclipse.swt.widgets.Shell parentShell,
UIManager uiManager,
MarkerFormat initialMarkerFormat)
Constructor which requires an initial MarkerFormat to initialize the internally used MarkerItem. |
|
| Method Summary | |
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell)
|
protected void |
createDialog(org.eclipse.swt.widgets.Composite parent)
Create the content of the dialog (with preview) within this method |
void |
dialogDisposed()
Called when the dialog is closed. |
void |
formatChanged(FormatChangedEvent event)
Notifies that a format item has changed. |
MarkerFormat |
getMarkerFormat()
Creates and pools a new MarkerFormat from the current MarkerItem |
java.lang.Object |
getPreviewedItem()
Return the item which is previewed |
void |
setTitle(java.lang.String title)
Sets the dialog title. |
void |
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
|
void |
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
|
| Methods inherited from class com.tensegrity.gui.swt.dialog.AbstractPreviewDialog |
close, create, createDialogArea, registerPreview |
| Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText |
| Methods inherited from class org.eclipse.jface.window.Window |
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getInitialLocation, getInitialSize, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setExceptionHandler, setReturnCode, setShellStyle, setWindowManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SwtMarkerFormatDialog(org.eclipse.swt.widgets.Shell parentShell,
UIManager uiManager,
MarkerFormat initialMarkerFormat)
parentShell - the parent shell of this MarkerFormatDialoguiManager - the UIManager used for internationalizationinitialMarkerFormat - the initial MarkerFormat| Method Detail |
public void setTitle(java.lang.String title)
AbstractPreviewDialog
setTitle in class AbstractPreviewDialogtitle - the dialog titlehttp://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg07566.htmlprotected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell in class AbstractPreviewDialogprotected final void createDialog(org.eclipse.swt.widgets.Composite parent)
AbstractPreviewDialog
createDialog in class AbstractPreviewDialogparent - the Composite which takes the dialog contentpublic void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
widgetSelected in interface org.eclipse.swt.events.SelectionListenerpublic void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListenerpublic java.lang.Object getPreviewedItem()
PreviewDialog
getPreviewedItem in interface PreviewDialoggetPreviewedItem in class AbstractPreviewDialogpublic void formatChanged(FormatChangedEvent event)
FormatChangedListener
formatChanged in interface FormatChangedListenerevent - object describing the changepublic void dialogDisposed()
AbstractPreviewDialog
dialogDisposed in class AbstractPreviewDialogpublic final MarkerFormat getMarkerFormat()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||