public class ReplicateDialog
extends org.eclipse.jface.dialogs.Dialog
Dialog box displaying parameters for the Replication action
Replicating a selected shape will clone it a number of times such that the final number of similar shapes is equal to the given Quantity parameter. Each repeated shape will be shifted by the given Translation parameter relative to the previous shape.
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, 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 |
---|
ReplicateDialog(org.eclipse.swt.widgets.Shell parentShell)
Initializes the Dialog with the given shell
|
Modifier and Type | Method and Description |
---|---|
int |
getQuantity()
Returns the desired number of total similar shapes when cloning
|
double[] |
getShift()
Returns the translation parameters
|
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager