|
|||||||||||
| 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.print.PageSetupDialog
The PageSetupDialog allows the user influence the printing.
For example he can specify the page format to use, header and footer titles
as well as to print to one page (views are scaled down then), or to print
stretched over multiple pages.
| 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 | |
PageSetupDialog(org.eclipse.swt.widgets.Shell parent,
ApplicationFrame appFrame,
BasePageFormat bpf,
VisualGraphView vgView)
Constructs a new PageSetupDialog instance |
|
| Method Summary | |
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. |
BasePageFormat |
getPageFormat()
Returns the currently used page format. |
java.lang.Object |
getPreviewedItem()
Return the item which is previewed |
| Methods inherited from class com.tensegrity.gui.swt.dialog.AbstractPreviewDialog |
close, configureShell, create, createDialogArea, registerPreview, setTitle |
| 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 PageSetupDialog(org.eclipse.swt.widgets.Shell parent,
ApplicationFrame appFrame,
BasePageFormat bpf,
VisualGraphView vgView)
parent - the parent shell, used to align this dialog toappFrame - the currently used ApplicationFrame instancebpf - the page format of the currently used documentvgView - the visual graph| Method Detail |
public java.lang.Object getPreviewedItem()
PreviewDialog
getPreviewedItem in interface PreviewDialoggetPreviewedItem in class AbstractPreviewDialogpublic void dialogDisposed()
AbstractPreviewDialog
dialogDisposed in class AbstractPreviewDialogprotected void createDialog(org.eclipse.swt.widgets.Composite parent)
AbstractPreviewDialog
createDialog in class AbstractPreviewDialogparent - the Composite which takes the dialog contentpublic final BasePageFormat getPageFormat()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||