public class GUIResource extends Object
Modifier and Type | Method and Description |
---|---|
static org.eclipse.swt.graphics.Point |
calculateControlPosition(org.eclipse.swt.widgets.Control control) |
void |
drawPentahoGradient(org.eclipse.swt.widgets.Display display,
org.eclipse.swt.graphics.GC gc,
org.eclipse.swt.graphics.Rectangle rect,
boolean vertical) |
String |
fromClipboard() |
org.eclipse.swt.graphics.Color |
getColor(int red,
int green,
int blue) |
org.eclipse.swt.graphics.Color |
getColorBackground() |
org.eclipse.swt.graphics.Color |
getColorBlack() |
org.eclipse.swt.graphics.Color |
getColorBlue() |
org.eclipse.swt.graphics.Color |
getColorBlueCustomGrid() |
org.eclipse.swt.graphics.Color |
getColorCreamPentaho() |
org.eclipse.swt.graphics.Color |
getColorCrystalTextPentaho() |
org.eclipse.swt.graphics.Color |
getColorDarkGray() |
org.eclipse.swt.graphics.Color |
getColorDemoGray() |
org.eclipse.swt.graphics.Color |
getColorDirectory() |
org.eclipse.swt.graphics.Color |
getColorGraph() |
org.eclipse.swt.graphics.Color |
getColorGray() |
org.eclipse.swt.graphics.Color |
getColorGreen() |
org.eclipse.swt.graphics.Color |
getColorLightBlue() |
org.eclipse.swt.graphics.Color |
getColorLightGray() |
org.eclipse.swt.graphics.Color |
getColorLightPentaho() |
org.eclipse.swt.graphics.Color |
getColorMagenta() |
org.eclipse.swt.graphics.Color |
getColorOrange() |
org.eclipse.swt.graphics.Color |
getColorPentaho() |
org.eclipse.swt.graphics.Color |
getColorRed() |
org.eclipse.swt.graphics.Color |
getColorSuccessGreen() |
org.eclipse.swt.graphics.Color |
getColorTab() |
org.eclipse.swt.graphics.Color |
getColorWhite() |
org.eclipse.swt.graphics.Color |
getColorYellow() |
org.eclipse.swt.widgets.Display |
getDisplay() |
org.eclipse.swt.graphics.Image |
getEditOptionButton() |
org.eclipse.swt.graphics.Font |
getFontBold() |
org.eclipse.swt.graphics.Font |
getFontFixed() |
org.eclipse.swt.graphics.Font |
getFontGraph() |
org.eclipse.swt.graphics.Font |
getFontLarge() |
org.eclipse.swt.graphics.Font |
getFontMedium() |
org.eclipse.swt.graphics.Font |
getFontMediumBold() |
org.eclipse.swt.graphics.Font |
getFontNote() |
org.eclipse.swt.graphics.Font |
getFontSmall() |
org.eclipse.swt.graphics.Font |
getFontTiny() |
org.eclipse.swt.graphics.Image |
getHadoop() |
org.eclipse.swt.graphics.Image |
getImage(String location)
Loads an image from a location once.
|
org.eclipse.swt.graphics.Image |
getImageAdd() |
org.eclipse.swt.graphics.Image |
getImageAddAll() |
org.eclipse.swt.graphics.Image |
getImageAddSingle() |
org.eclipse.swt.graphics.Image |
getImageArrow() |
org.eclipse.swt.graphics.Image |
getImageBalance() |
org.eclipse.swt.graphics.Image |
getImageBanner() |
org.eclipse.swt.graphics.Image |
getImageBol() |
org.eclipse.swt.graphics.Image |
getImageBusy() |
org.eclipse.swt.graphics.Image |
getImageCalendar() |
org.eclipse.swt.graphics.Image |
getImageCheckpoint() |
org.eclipse.swt.graphics.Image |
getImageChef() |
org.eclipse.swt.graphics.Image |
getImageClosePanel() |
org.eclipse.swt.graphics.Image |
getImageCluster() |
org.eclipse.swt.graphics.Image |
getImageCollapseAll() |
org.eclipse.swt.graphics.Image |
getImageColor() |
org.eclipse.swt.graphics.Image |
getImageColumnSmall() |
org.eclipse.swt.graphics.Image |
getImageConnection() |
org.eclipse.swt.graphics.Image |
getImageContextMenu() |
org.eclipse.swt.graphics.Image |
getImageContinueLog() |
org.eclipse.swt.graphics.Image |
getImageCopyHop() |
org.eclipse.swt.graphics.Image |
getImageCredits() |
org.eclipse.swt.graphics.Image |
getImageDelete() |
org.eclipse.swt.graphics.Image |
getImageDesignPanel() |
org.eclipse.swt.graphics.Image |
getImageDisabledHop() |
org.eclipse.swt.graphics.Image |
getImageDropHere() |
org.eclipse.swt.graphics.Image |
getImageDummy() |
org.eclipse.swt.graphics.Image |
getImageDummySmall() |
org.eclipse.swt.graphics.Image |
getImageEdit() |
org.eclipse.swt.graphics.Image |
getImageEditSmall() |
org.eclipse.swt.graphics.Image |
getImageEmpty16x16() |
org.eclipse.swt.graphics.Image |
getImageErrorHop() |
org.eclipse.swt.graphics.Image |
getImageExpandAll() |
org.eclipse.swt.graphics.Image |
getImageExploreDbSmall() |
org.eclipse.swt.graphics.Image |
getImageExploreSolutionSmall() |
org.eclipse.swt.graphics.Image |
getImageExport() |
org.eclipse.swt.graphics.Image |
getImageFalse() |
org.eclipse.swt.graphics.Image |
getImageFolderConnections() |
org.eclipse.swt.graphics.Image |
getImageGantt() |
org.eclipse.swt.graphics.Image |
getImageHelpWeb() |
org.eclipse.swt.graphics.Image |
getImageHideInactive() |
org.eclipse.swt.graphics.Image |
getImageHideResults() |
org.eclipse.swt.graphics.Image |
getImageHop() |
org.eclipse.swt.graphics.Image |
getImageHopInput() |
org.eclipse.swt.graphics.Image |
getImageHopOutput() |
org.eclipse.swt.graphics.Image |
getImageHopTarget() |
org.eclipse.swt.graphics.Image |
getImageImport() |
org.eclipse.swt.graphics.Image |
getImageInfoHop() |
org.eclipse.swt.graphics.Image |
getImageInject() |
org.eclipse.swt.graphics.Image |
getImageJobGraph() |
org.eclipse.swt.graphics.Image |
getImageKettleLogo() |
org.eclipse.swt.graphics.Image |
getImageKeySmall() |
org.eclipse.swt.graphics.Image |
getImageLocked() |
org.eclipse.swt.graphics.Image |
getImageLogoSmall() |
Map<String,org.eclipse.swt.graphics.Image> |
getImageMap() |
org.eclipse.swt.graphics.Image |
getImageMaximizePanel() |
org.eclipse.swt.graphics.Image |
getImageMinimizePanel() |
org.eclipse.swt.graphics.Image |
getImageNew() |
org.eclipse.swt.graphics.Image |
getImageNoteSmall() |
org.eclipse.swt.graphics.Image |
getImageParallelHop() |
org.eclipse.swt.graphics.Image |
getImagePauseLog() |
org.eclipse.swt.graphics.Image |
getImagePentaho() |
org.eclipse.swt.graphics.Image |
getImagePentahoSwirl() |
org.eclipse.swt.graphics.Image |
getImageProcedure() |
org.eclipse.swt.graphics.Image |
getImageProfil() |
org.eclipse.swt.graphics.Image |
getImageRegexSmall() |
org.eclipse.swt.graphics.Image |
getImageRemoveAll() |
org.eclipse.swt.graphics.Image |
getImageRemoveSingle() |
org.eclipse.swt.graphics.Image |
getImageSchema() |
org.eclipse.swt.graphics.Image |
getImageSearchSmall() |
org.eclipse.swt.graphics.Image |
getImageShowAll() |
org.eclipse.swt.graphics.Image |
getImageShowDeleted() |
org.eclipse.swt.graphics.Image |
getImageShowErrorLines() |
org.eclipse.swt.graphics.Image |
getImageShowGrid() |
org.eclipse.swt.graphics.Image |
getImageShowHistory() |
org.eclipse.swt.graphics.Image |
getImageShowInactive() |
org.eclipse.swt.graphics.Image |
getImageShowLog() |
org.eclipse.swt.graphics.Image |
getImageShowPerf() |
org.eclipse.swt.graphics.Image |
getImageShowResults() |
org.eclipse.swt.graphics.Image |
getImageShowSelected() |
Map<String,org.eclipse.swt.graphics.Image> |
getImagesJobentries() |
Map<String,org.eclipse.swt.graphics.Image> |
getImagesJobentriesSmall() |
org.eclipse.swt.graphics.Image |
getImageSlave() |
org.eclipse.swt.graphics.Image |
getImageSpoon() |
org.eclipse.swt.graphics.Image |
getImageSpoonHigh() |
Map<String,org.eclipse.swt.graphics.Image> |
getImagesSteps() |
Map<String,org.eclipse.swt.graphics.Image> |
getImagesStepsSmall() |
org.eclipse.swt.graphics.Image |
getImageStart() |
org.eclipse.swt.graphics.Image |
getImageStartSmall() |
org.eclipse.swt.graphics.Image |
getImageStepError() |
org.eclipse.swt.graphics.Image |
getImageSynonym() |
org.eclipse.swt.graphics.Image |
getImageTable() |
org.eclipse.swt.graphics.Image |
getImageTransGraph() |
org.eclipse.swt.graphics.Image |
getImageTrue() |
org.eclipse.swt.graphics.Image |
getImageUnconditionalHop() |
org.eclipse.swt.graphics.Image |
getImageUser() |
org.eclipse.swt.graphics.Image |
getImageVariable() |
org.eclipse.swt.graphics.Image |
getImageVersionBrowser() |
org.eclipse.swt.graphics.Image |
getImageView() |
org.eclipse.swt.graphics.Image |
getImageViewPanel() |
org.eclipse.swt.graphics.Image |
getImageWarning() |
org.eclipse.swt.graphics.Image |
getImageWizard() |
static GUIResource |
getInstance() |
org.eclipse.swt.dnd.Clipboard |
getNewClipboard() |
org.eclipse.swt.graphics.Image |
getResetOptionButton() |
Object[] |
messageDialogWithToggle(org.eclipse.swt.widgets.Shell shell,
String dialogTitle,
org.eclipse.swt.graphics.Image image,
String message,
int dialogImageType,
String[] buttonLabels,
int defaultIndex,
String toggleMessage,
boolean toggleState)
Generic popup with a toggle option
|
void |
reload()
reloads all colors, fonts and images.
|
void |
setImageAddAll(org.eclipse.swt.graphics.Image imageAddAll) |
void |
setImageAddSingle(org.eclipse.swt.graphics.Image imageAddSingle) |
void |
setImageArrow(org.eclipse.swt.graphics.Image imageArrow) |
void |
setImageBanner(org.eclipse.swt.graphics.Image imageBanner) |
void |
setImageChef(org.eclipse.swt.graphics.Image imageChef) |
void |
setImageDropHere(org.eclipse.swt.graphics.Image imageDropHere) |
void |
setImageDummySmall(org.eclipse.swt.graphics.Image imageDummySmall) |
void |
setImageKettleLogo(org.eclipse.swt.graphics.Image imageKettleLogo) |
void |
setImageLogoSmall(org.eclipse.swt.graphics.Image imageLogoSmall) |
void |
setImageRemoveAll(org.eclipse.swt.graphics.Image imageRemoveAll) |
void |
setImageRemoveSingle(org.eclipse.swt.graphics.Image imageRemoveSingle) |
void |
setImagesJobentries(Hashtable<String,org.eclipse.swt.graphics.Image> imagesJobentries) |
void |
setImagesJobentriesSmall(Hashtable<String,org.eclipse.swt.graphics.Image> imagesJobentriesSmall) |
void |
setImageSpoonHigh(org.eclipse.swt.graphics.Image imageSpoonHigh) |
void |
setImageStartSmall(org.eclipse.swt.graphics.Image imageStartSmall) |
void |
toClipboard(String cliptext) |
public static final GUIResource getInstance()
public void reload()
public org.eclipse.swt.graphics.Color getColorBackground()
public org.eclipse.swt.graphics.Color getColorBlack()
public org.eclipse.swt.graphics.Color getColorBlue()
public org.eclipse.swt.graphics.Color getColorDarkGray()
public org.eclipse.swt.graphics.Color getColorDemoGray()
public org.eclipse.swt.graphics.Color getColorDirectory()
public org.eclipse.swt.graphics.Color getColorGraph()
public org.eclipse.swt.graphics.Color getColorGray()
public org.eclipse.swt.graphics.Color getColorGreen()
public org.eclipse.swt.graphics.Color getColorLightGray()
public org.eclipse.swt.graphics.Color getColorLightBlue()
public org.eclipse.swt.graphics.Color getColorMagenta()
public org.eclipse.swt.graphics.Color getColorOrange()
public org.eclipse.swt.graphics.Color getColorSuccessGreen()
public org.eclipse.swt.graphics.Color getColorRed()
public org.eclipse.swt.graphics.Color getColorBlueCustomGrid()
public org.eclipse.swt.graphics.Color getColorTab()
public org.eclipse.swt.graphics.Color getColorWhite()
public org.eclipse.swt.graphics.Color getColorYellow()
public org.eclipse.swt.widgets.Display getDisplay()
public org.eclipse.swt.graphics.Font getFontFixed()
public org.eclipse.swt.graphics.Font getFontGraph()
public org.eclipse.swt.graphics.Font getFontNote()
public org.eclipse.swt.graphics.Image getImageBol()
public org.eclipse.swt.graphics.Image getImageCalendar()
public org.eclipse.swt.graphics.Image getImageCluster()
public org.eclipse.swt.graphics.Image getImageSlave()
public org.eclipse.swt.graphics.Image getImageConnection()
public org.eclipse.swt.graphics.Image getImageAdd()
public org.eclipse.swt.graphics.Image getImageTable()
public org.eclipse.swt.graphics.Image getImageKeySmall()
public org.eclipse.swt.graphics.Image getImageColumnSmall()
public org.eclipse.swt.graphics.Image getImageSchema()
public org.eclipse.swt.graphics.Image getImageSynonym()
public org.eclipse.swt.graphics.Image getImageProcedure()
public org.eclipse.swt.graphics.Image getImageExploreDbSmall()
public org.eclipse.swt.graphics.Image getImageView()
public org.eclipse.swt.graphics.Image getImageNoteSmall()
public org.eclipse.swt.graphics.Image getImageColor()
public org.eclipse.swt.graphics.Image getImageCredits()
public org.eclipse.swt.graphics.Image getImageDummy()
public org.eclipse.swt.graphics.Image getImageHop()
public org.eclipse.swt.graphics.Image getImageDisabledHop()
public org.eclipse.swt.graphics.Image getImageSpoon()
public org.eclipse.swt.graphics.Image getImagePentaho()
public org.eclipse.swt.graphics.Image getImagePentahoSwirl()
public Map<String,org.eclipse.swt.graphics.Image> getImagesSteps()
public Map<String,org.eclipse.swt.graphics.Image> getImagesStepsSmall()
public org.eclipse.swt.graphics.Image getImageStart()
public Map<String,org.eclipse.swt.graphics.Image> getImagesJobentries()
public void setImagesJobentries(Hashtable<String,org.eclipse.swt.graphics.Image> imagesJobentries)
imagesJobentries
- The imagesJobentries to set.public Map<String,org.eclipse.swt.graphics.Image> getImagesJobentriesSmall()
public void setImagesJobentriesSmall(Hashtable<String,org.eclipse.swt.graphics.Image> imagesJobentriesSmall)
imagesJobentriesSmall
- The imagesJobentriesSmall to set.public org.eclipse.swt.graphics.Image getImageChef()
public void setImageChef(org.eclipse.swt.graphics.Image imageChef)
imageChef
- The imageChef to set.public org.eclipse.swt.graphics.Font getFontLarge()
public org.eclipse.swt.graphics.Font getFontTiny()
public org.eclipse.swt.graphics.Font getFontSmall()
public org.eclipse.swt.dnd.Clipboard getNewClipboard()
public void toClipboard(String cliptext)
public String fromClipboard()
public org.eclipse.swt.graphics.Font getFontBold()
public org.eclipse.swt.graphics.Image getImageVariable()
public org.eclipse.swt.graphics.Image getImageTransGraph()
public org.eclipse.swt.graphics.Image getImageUser()
public org.eclipse.swt.graphics.Image getImageProfil()
public org.eclipse.swt.graphics.Image getImageFolderConnections()
public org.eclipse.swt.graphics.Image getImageJobGraph()
public org.eclipse.swt.graphics.Image getEditOptionButton()
public org.eclipse.swt.graphics.Image getResetOptionButton()
public org.eclipse.swt.graphics.Image getImageEditSmall()
public org.eclipse.swt.graphics.Image getImageExploreSolutionSmall()
public org.eclipse.swt.graphics.Image getImageArrow()
public void setImageArrow(org.eclipse.swt.graphics.Image imageArrow)
imageArrow
- the imageArrow to setpublic org.eclipse.swt.graphics.Image getImageDummySmall()
public void setImageDummySmall(org.eclipse.swt.graphics.Image imageDummySmall)
imageDummySmall
- the imageDummySmall to setpublic org.eclipse.swt.graphics.Image getImageStartSmall()
public void setImageStartSmall(org.eclipse.swt.graphics.Image imageStartSmall)
imageStartSmall
- the imageStartSmall to setpublic org.eclipse.swt.graphics.Image getImageBanner()
public org.eclipse.swt.graphics.Image getImageWizard()
public void setImageBanner(org.eclipse.swt.graphics.Image imageBanner)
imageBanner
- the imageBanner to setpublic org.eclipse.swt.graphics.Image getImageKettleLogo()
public void setImageKettleLogo(org.eclipse.swt.graphics.Image imageKettleLogo)
imageKettleLogo
- the imageKettleLogo to setpublic org.eclipse.swt.graphics.Color getColorPentaho()
public org.eclipse.swt.graphics.Image getImageLogoSmall()
public void setImageLogoSmall(org.eclipse.swt.graphics.Image imageLogoSmall)
imageLogoSmall
- the imageLogoSmall to setpublic org.eclipse.swt.graphics.Color getColorLightPentaho()
public org.eclipse.swt.graphics.Color getColorCreamPentaho()
public org.eclipse.swt.graphics.Color getColorCrystalTextPentaho()
public void drawPentahoGradient(org.eclipse.swt.widgets.Display display, org.eclipse.swt.graphics.GC gc, org.eclipse.swt.graphics.Rectangle rect, boolean vertical)
public Object[] messageDialogWithToggle(org.eclipse.swt.widgets.Shell shell, String dialogTitle, org.eclipse.swt.graphics.Image image, String message, int dialogImageType, String[] buttonLabels, int defaultIndex, String toggleMessage, boolean toggleState)
dialogTitle
- image
- message
- dialogImageType
- buttonLabels
- defaultIndex
- toggleMessage
- toggleState
- public static org.eclipse.swt.graphics.Point calculateControlPosition(org.eclipse.swt.widgets.Control control)
public org.eclipse.swt.graphics.Font getFontMedium()
public org.eclipse.swt.graphics.Font getFontMediumBold()
public org.eclipse.swt.graphics.Image getImageShowLog()
public org.eclipse.swt.graphics.Image getImageShowGrid()
public org.eclipse.swt.graphics.Image getImageShowHistory()
public org.eclipse.swt.graphics.Image getImageShowPerf()
public org.eclipse.swt.graphics.Image getImageHideInactive()
public org.eclipse.swt.graphics.Image getImageShowInactive()
public org.eclipse.swt.graphics.Image getImageShowSelected()
public org.eclipse.swt.graphics.Image getImageShowAll()
public org.eclipse.swt.graphics.Image getImageClosePanel()
public org.eclipse.swt.graphics.Image getImageMaximizePanel()
public org.eclipse.swt.graphics.Image getImageMinimizePanel()
public org.eclipse.swt.graphics.Image getImageShowErrorLines()
public org.eclipse.swt.graphics.Image getImageShowResults()
public org.eclipse.swt.graphics.Image getImageHideResults()
public org.eclipse.swt.graphics.Image getImageDesignPanel()
public org.eclipse.swt.graphics.Image getImageViewPanel()
public org.eclipse.swt.graphics.Image getImageExpandAll()
public org.eclipse.swt.graphics.Image getImageSearchSmall()
public org.eclipse.swt.graphics.Image getImageRegexSmall()
public org.eclipse.swt.graphics.Image getImageCollapseAll()
public org.eclipse.swt.graphics.Image getImageStepError()
public org.eclipse.swt.graphics.Image getImageCopyHop()
public org.eclipse.swt.graphics.Image getImageErrorHop()
public org.eclipse.swt.graphics.Image getImageInfoHop()
public org.eclipse.swt.graphics.Image getImageWarning()
public org.eclipse.swt.graphics.Image getImageVersionBrowser()
public org.eclipse.swt.graphics.Image getImageNew()
public org.eclipse.swt.graphics.Image getImageEdit()
public org.eclipse.swt.graphics.Image getImageDelete()
public org.eclipse.swt.graphics.Image getImageShowDeleted()
public org.eclipse.swt.graphics.Image getImagePauseLog()
public org.eclipse.swt.graphics.Image getImageContinueLog()
public org.eclipse.swt.graphics.Image getImageImport()
public org.eclipse.swt.graphics.Image getImageExport()
public org.eclipse.swt.graphics.Image getImageHopInput()
public org.eclipse.swt.graphics.Image getImageHopOutput()
public org.eclipse.swt.graphics.Image getImageHopTarget()
public org.eclipse.swt.graphics.Image getImageLocked()
public org.eclipse.swt.graphics.Image getImage(String location)
location
- public org.eclipse.swt.graphics.Color getColor(int red, int green, int blue)
public Map<String,org.eclipse.swt.graphics.Image> getImageMap()
public org.eclipse.swt.graphics.Image getImageTrue()
public org.eclipse.swt.graphics.Image getImageFalse()
public org.eclipse.swt.graphics.Image getImageContextMenu()
public org.eclipse.swt.graphics.Image getImageParallelHop()
public org.eclipse.swt.graphics.Image getImageUnconditionalHop()
public org.eclipse.swt.graphics.Image getImageBusy()
public org.eclipse.swt.graphics.Image getImageEmpty16x16()
public org.eclipse.swt.graphics.Image getImageInject()
public org.eclipse.swt.graphics.Image getImageBalance()
public org.eclipse.swt.graphics.Image getImageSpoonHigh()
public void setImageSpoonHigh(org.eclipse.swt.graphics.Image imageSpoonHigh)
public org.eclipse.swt.graphics.Image getImageCheckpoint()
public org.eclipse.swt.graphics.Image getImageGantt()
public org.eclipse.swt.graphics.Image getImageHelpWeb()
public org.eclipse.swt.graphics.Image getHadoop()
public void setImageDropHere(org.eclipse.swt.graphics.Image imageDropHere)
public org.eclipse.swt.graphics.Image getImageDropHere()
public void setImageAddAll(org.eclipse.swt.graphics.Image imageAddAll)
public org.eclipse.swt.graphics.Image getImageAddAll()
public void setImageAddSingle(org.eclipse.swt.graphics.Image imageAddSingle)
public org.eclipse.swt.graphics.Image getImageAddSingle()
public void setImageRemoveAll(org.eclipse.swt.graphics.Image imageRemoveAll)
public org.eclipse.swt.graphics.Image getImageRemoveAll()
public void setImageRemoveSingle(org.eclipse.swt.graphics.Image imageRemoveSingle)
public org.eclipse.swt.graphics.Image getImageRemoveSingle()