TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.uml2sd.util
Class SDPrintDialogUI

java.lang.Object
  extended by org.eclipse.hyades.uml2sd.util.SDPrintDialogUI

public class SDPrintDialogUI
extends java.lang.Object


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

Field Detail

r

public static int r
Constructor Detail

SDPrintDialogUI

public SDPrintDialogUI(org.eclipse.swt.widgets.Shell s,
                       SDWidget v)

SDPrintDialogUI

public SDPrintDialogUI(org.eclipse.swt.widgets.Shell s,
                       SDWidget v,
                       boolean showPrintBtn)
Method Detail

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)

TPTP 4.6.0 Platform Project
Public API Specification