org.eclipse.hyades.uml2sd.util
Class SDPrintDialogUI
java.lang.Object
org.eclipse.hyades.uml2sd.util.SDPrintDialogUI
public class SDPrintDialogUI
- extends java.lang.Object
|
Field Summary |
static int |
r
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
r
public static int r
SDPrintDialogUI
public SDPrintDialogUI(org.eclipse.swt.widgets.Shell s,
SDWidget v)
SDPrintDialogUI
public SDPrintDialogUI(org.eclipse.swt.widgets.Shell s,
SDWidget v,
boolean showPrintBtn)
createDialogArea
public org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
getPagesForSelection
public int getPagesForSelection()
okPressed
public boolean okPressed()
drawRegionSelected
public org.eclipse.swt.graphics.ImageData drawRegionSelected(org.eclipse.swt.graphics.Image img,
org.eclipse.swt.graphics.Rectangle r,
org.eclipse.swt.graphics.RGB color)
Combine
public static org.eclipse.swt.graphics.RGB Combine(org.eclipse.swt.graphics.RGB front,
org.eclipse.swt.graphics.RGB back)
getPageList
public int[] getPageList()
addToPagesList
public void addToPagesList(int num)
removeFromPagesList
public void removeFromPagesList(int num)
maxNumOfPages
public int maxNumOfPages()
getNbRow
public int getNbRow()
getNbLines
public int getNbLines()
printAll
public boolean printAll()
printCurrent
public boolean printCurrent()
printSelection
public boolean printSelection()
printRange
public boolean printRange()
getStepX
public float getStepX()
getStepY
public float getStepY()
getZoomFactor
public float getZoomFactor()
getPrinterData
public org.eclipse.swt.printing.PrinterData getPrinterData()
getFrom
public int getFrom()
getTo
public int getTo()
getShell
public org.eclipse.swt.widgets.Shell getShell()
setShell
public void setShell(org.eclipse.swt.widgets.Shell shell)
printButtonSelected
public void printButtonSelected()
setParentWizardPage
public void setParentWizardPage(org.eclipse.jface.wizard.WizardPage parent)
setParentDialog
public void setParentDialog(SDPrintDialog parent)