Package com.iizigo

Class ApplicationUI

java.lang.Object
com.iizigo.ApplicationUI

public class ApplicationUI extends Object
The ApplicationUI instance holds the various images loaded from Image Descriptors and can be used as SWT Images directly, as well as other SWT allocated object such as colors.
Author:
Christopher Mindus
  • Field Details

    • ERROR_STYLER

      public static final org.eclipse.jface.viewers.StyledString.Styler ERROR_STYLER
      The error style color for StyledText.
    • display

      public final org.eclipse.swt.widgets.Display display
      The Display.
    • white

      public final org.eclipse.swt.graphics.Color white
    • black

      public final org.eclipse.swt.graphics.Color black
    • transparent

      public final org.eclipse.swt.graphics.Color transparent
    • gray

      public final org.eclipse.swt.graphics.Color gray
    • border

      public org.eclipse.swt.graphics.Color border
    • foreground

      public org.eclipse.swt.graphics.Color foreground
    • background

      public org.eclipse.swt.graphics.Color background
    • widgetBackground

      public org.eclipse.swt.graphics.Color widgetBackground
    • headerBackground

      public org.eclipse.swt.graphics.Color headerBackground
    • listSelectionForeground

      public org.eclipse.swt.graphics.Color listSelectionForeground
    • listSelectionBackground

      public org.eclipse.swt.graphics.Color listSelectionBackground
    • disabledForeground

      public org.eclipse.swt.graphics.Color disabledForeground
    • lightShadow

      public org.eclipse.swt.graphics.Color lightShadow
    • darkShadow

      public org.eclipse.swt.graphics.Color darkShadow
    • tooltipBackground

      public org.eclipse.swt.graphics.Color tooltipBackground
    • entryFieldFocusBackground

      public org.eclipse.swt.graphics.Color entryFieldFocusBackground
    • entryFieldBackground

      public org.eclipse.swt.graphics.Color entryFieldBackground
    • entryFieldForeground

      public org.eclipse.swt.graphics.Color entryFieldForeground
    • errorBackground

      public org.eclipse.swt.graphics.Color errorBackground
    • errorBackgroundCursor

      public org.eclipse.swt.graphics.Color errorBackgroundCursor
    • errorForeground

      public org.eclipse.swt.graphics.Color errorForeground
    • warningBackground

      public org.eclipse.swt.graphics.Color warningBackground
    • warningBackgroundCursor

      public org.eclipse.swt.graphics.Color warningBackgroundCursor
    • warningForeground

      public org.eclipse.swt.graphics.Color warningForeground
    • infoBackground

      public org.eclipse.swt.graphics.Color infoBackground
    • infoBackgroundCursor

      public org.eclipse.swt.graphics.Color infoBackgroundCursor
    • infoForeground

      public org.eclipse.swt.graphics.Color infoForeground
    • greenForeground

      public org.eclipse.swt.graphics.Color greenForeground
    • greenBackground

      public org.eclipse.swt.graphics.Color greenBackground
    • selectedPropBackground

      public org.eclipse.swt.graphics.Color selectedPropBackground
    • propertyValueWarning

      public org.eclipse.swt.graphics.Color propertyValueWarning
    • propertyValueError

      public org.eclipse.swt.graphics.Color propertyValueError
    • propertyValueUndefined

      public org.eclipse.swt.graphics.Color propertyValueUndefined
    • propertyValueDefined

      public org.eclipse.swt.graphics.Color propertyValueDefined
    • propertyValueInherited

      public org.eclipse.swt.graphics.Color propertyValueInherited
    • propertyValueOverridden

      public org.eclipse.swt.graphics.Color propertyValueOverridden
    • paleLine

      public org.eclipse.swt.graphics.Color paleLine
    • propTreeLine

      public org.eclipse.swt.graphics.Color propTreeLine
    • propEditorBackground

      public org.eclipse.swt.graphics.Color propEditorBackground
    • propEditorIconBackground

      public org.eclipse.swt.graphics.Color propEditorIconBackground
    • packageNameStyler

      public final org.eclipse.jface.viewers.StyledString.Styler packageNameStyler
      Styler used for Package Names for StyledString's.
    • projectNameStyler

      public final org.eclipse.jface.viewers.StyledString.Styler projectNameStyler
      Styler used for Project Names for StyledString's.
    • imageFile

      public final org.eclipse.swt.graphics.Image imageFile
    • imageError

      public final org.eclipse.swt.graphics.Image imageError
    • imageWarning

      public final org.eclipse.swt.graphics.Image imageWarning
    • imageInformation

      public final org.eclipse.swt.graphics.Image imageInformation
    • imageFolder

      public org.eclipse.swt.graphics.Image imageFolder
    • imageFolderSelector

      public org.eclipse.swt.graphics.Image imageFolderSelector
    • imageInformationCircle

      public org.eclipse.swt.graphics.Image imageInformationCircle
    • imageEditPen

      public org.eclipse.swt.graphics.Image imageEditPen
    • imageEditProperties

      public org.eclipse.swt.graphics.Image imageEditProperties
    • imageGotoInput

      public org.eclipse.swt.graphics.Image imageGotoInput
    • imageIizi

      public org.eclipse.swt.graphics.Image imageIizi
    • imageModule

      public org.eclipse.swt.graphics.Image imageModule
    • imagePanel

      public org.eclipse.swt.graphics.Image imagePanel
    • imageVirtualSpace

      public org.eclipse.swt.graphics.Image imageVirtualSpace
    • imageInfo

      public org.eclipse.swt.graphics.Image imageInfo
    • imageWizard

      public org.eclipse.swt.graphics.Image imageWizard
    • imageExtends

      public org.eclipse.swt.graphics.Image imageExtends
    • imageAdd

      public org.eclipse.swt.graphics.Image imageAdd
    • imageShow

      public org.eclipse.swt.graphics.Image imageShow
    • imageMore

      public org.eclipse.swt.graphics.Image imageMore
    • imageMore16

      public org.eclipse.swt.graphics.Image imageMore16
    • imageProperties

      public org.eclipse.swt.graphics.Image imageProperties
    • imageExpandAll

      public org.eclipse.swt.graphics.Image imageExpandAll
    • imageCollapseAll

      public org.eclipse.swt.graphics.Image imageCollapseAll
    • imageSortA2Z

      public org.eclipse.swt.graphics.Image imageSortA2Z
    • imageSortZ2A

      public org.eclipse.swt.graphics.Image imageSortZ2A
    • imageSortByType

      public org.eclipse.swt.graphics.Image imageSortByType
    • imageShowTree

      public org.eclipse.swt.graphics.Image imageShowTree
    • imageShowInherited

      public org.eclipse.swt.graphics.Image imageShowInherited
    • imageLinkProps

      public org.eclipse.swt.graphics.Image imageLinkProps
    • imageHideValues

      public org.eclipse.swt.graphics.Image imageHideValues
    • imageShowInEditor

      public org.eclipse.swt.graphics.Image imageShowInEditor
    • imageErrorDecoration

      public org.eclipse.swt.graphics.Image imageErrorDecoration
    • imageWarningDecoration

      public org.eclipse.swt.graphics.Image imageWarningDecoration
    • imageConvert

      public org.eclipse.swt.graphics.Image imageConvert
    • imageRichText

      public org.eclipse.swt.graphics.Image imageRichText
    • imageRawText

      public org.eclipse.swt.graphics.Image imageRawText
    • imageTagProcessing

      public org.eclipse.swt.graphics.Image imageTagProcessing
    • imageTextTable

      public org.eclipse.swt.graphics.Image imageTextTable
    • imageTranslate

      public org.eclipse.swt.graphics.Image imageTranslate
    • imageImport

      public org.eclipse.swt.graphics.Image imageImport
    • imageOpen

      public org.eclipse.swt.graphics.Image imageOpen
    • imageMoveProps

      public org.eclipse.swt.graphics.Image imageMoveProps
    • imageTextOK

      public org.eclipse.swt.graphics.Image imageTextOK
    • imageTextError

      public org.eclipse.swt.graphics.Image imageTextError
    • imageFormatPlain

      public org.eclipse.swt.graphics.Image imageFormatPlain
    • imageFormatPlainTag

      public org.eclipse.swt.graphics.Image imageFormatPlainTag
    • imageFormatHTML

      public org.eclipse.swt.graphics.Image imageFormatHTML
    • imageFormatHTMLTag

      public org.eclipse.swt.graphics.Image imageFormatHTMLTag
    • imageInsertTextID

      public org.eclipse.swt.graphics.Image imageInsertTextID
    • imageInsertTextIDDisabled

      public org.eclipse.swt.graphics.Image imageInsertTextIDDisabled
    • imageInsertTextVS

      public org.eclipse.swt.graphics.Image imageInsertTextVS
    • imageInsertTextVSDisabled

      public org.eclipse.swt.graphics.Image imageInsertTextVSDisabled
    • imageInsertHyperlinkDisabled

      public org.eclipse.swt.graphics.Image imageInsertHyperlinkDisabled
    • imageRemoveHyperlinkDisabled

      public org.eclipse.swt.graphics.Image imageRemoveHyperlinkDisabled
    • imageInsertImage

      public org.eclipse.swt.graphics.Image imageInsertImage
    • imageInsertImageDisabled

      public org.eclipse.swt.graphics.Image imageInsertImageDisabled
    • imageMoveUp

      public org.eclipse.swt.graphics.Image imageMoveUp
    • imageMoveDown

      public org.eclipse.swt.graphics.Image imageMoveDown
    • imageMoveTop

      public org.eclipse.swt.graphics.Image imageMoveTop
    • imageMoveBottom

      public org.eclipse.swt.graphics.Image imageMoveBottom
    • imageUIPanelPart

      public org.eclipse.swt.graphics.Image imageUIPanelPart
    • imageUIDialog

      public org.eclipse.swt.graphics.Image imageUIDialog
    • imageUIAccordion

      public org.eclipse.swt.graphics.Image imageUIAccordion
    • imageUIContainer

      public org.eclipse.swt.graphics.Image imageUIContainer
    • imageUIContextMenu

      public org.eclipse.swt.graphics.Image imageUIContextMenu
    • imageUITitlePane

      public org.eclipse.swt.graphics.Image imageUITitlePane
    • imageUIMenuBar

      public org.eclipse.swt.graphics.Image imageUIMenuBar
    • imageUIMenu

      public org.eclipse.swt.graphics.Image imageUIMenu
    • imageUITabContainer

      public org.eclipse.swt.graphics.Image imageUITabContainer
    • imageUISwapContainer

      public org.eclipse.swt.graphics.Image imageUISwapContainer
    • imageUILayouts

      public org.eclipse.swt.graphics.Image imageUILayouts
    • imageUIAbsoluteLayout

      public org.eclipse.swt.graphics.Image imageUIAbsoluteLayout
    • imageUIAccordionLayout

      public org.eclipse.swt.graphics.Image imageUIAccordionLayout
    • imageUIBorderLayout

      public org.eclipse.swt.graphics.Image imageUIBorderLayout
    • imageUIFlexLayout

      public org.eclipse.swt.graphics.Image imageUIFlexLayout
    • imageUIGridLayout

      public org.eclipse.swt.graphics.Image imageUIGridLayout
    • imageUITabLayout

      public org.eclipse.swt.graphics.Image imageUITabLayout
    • imageUISwapLayout

      public org.eclipse.swt.graphics.Image imageUISwapLayout
    • imageSelector

      public org.eclipse.swt.graphics.Image imageSelector
    • imageSelectors

      public org.eclipse.swt.graphics.Image imageSelectors
    • imageStyles

      public org.eclipse.swt.graphics.Image imageStyles
    • imageStateStyles

      public org.eclipse.swt.graphics.Image imageStateStyles
    • imageAsset

      public org.eclipse.swt.graphics.Image imageAsset
    • imageDevicePortrait

      public org.eclipse.swt.graphics.Image imageDevicePortrait
    • imageDeviceLandscape

      public org.eclipse.swt.graphics.Image imageDeviceLandscape
    • imageUIComponent

      public org.eclipse.swt.graphics.Image imageUIComponent
    • imageUIComponents

      public org.eclipse.swt.graphics.Image imageUIComponents
    • imageThemes

      public org.eclipse.swt.graphics.Image imageThemes
    • imageThemesError

      public org.eclipse.swt.graphics.Image imageThemesError
    • imageUIButton

      public org.eclipse.swt.graphics.Image imageUIButton
    • imageUICalendar

      public org.eclipse.swt.graphics.Image imageUICalendar
    • imageUICheckBox

      public org.eclipse.swt.graphics.Image imageUICheckBox
    • imageUIComboBox

      public org.eclipse.swt.graphics.Image imageUIComboBox
    • imageUIDateTime

      public org.eclipse.swt.graphics.Image imageUIDateTime
    • imageUIEmpty

      public org.eclipse.swt.graphics.Image imageUIEmpty
    • imageUILabel

      public org.eclipse.swt.graphics.Image imageUILabel
    • imageUIOutput

      public org.eclipse.swt.graphics.Image imageUIOutput
    • imageUIMenuItem

      public org.eclipse.swt.graphics.Image imageUIMenuItem
    • imageUICheckedMenuItem

      public org.eclipse.swt.graphics.Image imageUICheckedMenuItem
    • imageUIRadioMenuItem

      public org.eclipse.swt.graphics.Image imageUIRadioMenuItem
    • imageUIMenuSeparator

      public org.eclipse.swt.graphics.Image imageUIMenuSeparator
    • imageUIProgress

      public org.eclipse.swt.graphics.Image imageUIProgress
    • imageUIRadioButton

      public org.eclipse.swt.graphics.Image imageUIRadioButton
    • imageUIGauge

      public org.eclipse.swt.graphics.Image imageUIGauge
    • imageUISlider

      public org.eclipse.swt.graphics.Image imageUISlider
    • imageUISpinner

      public org.eclipse.swt.graphics.Image imageUISpinner
    • imageUIText

      public org.eclipse.swt.graphics.Image imageUIText
    • imageUITextArea

      public org.eclipse.swt.graphics.Image imageUITextArea
    • imageUIPicker

      public org.eclipse.swt.graphics.Image imageUIPicker
    • imageUIPickerSlot

      public org.eclipse.swt.graphics.Image imageUIPickerSlot
    • imageUITable

      public org.eclipse.swt.graphics.Image imageUITable
    • imageUITableColumn

      public org.eclipse.swt.graphics.Image imageUITableColumn
    • imageUIChart

      public org.eclipse.swt.graphics.Image imageUIChart
    • imageUIImage

      public org.eclipse.swt.graphics.Image imageUIImage
    • imageUIImage2

      public org.eclipse.swt.graphics.Image imageUIImage2
    • imageUICalendarList

      public org.eclipse.swt.graphics.Image imageUICalendarList
    • imageUICalendarEvent

      public org.eclipse.swt.graphics.Image imageUICalendarEvent
    • imageUIMap

      public org.eclipse.swt.graphics.Image imageUIMap
    • imageUIMapMarkers

      public org.eclipse.swt.graphics.Image imageUIMapMarkers
    • imageUIMapMarker

      public org.eclipse.swt.graphics.Image imageUIMapMarker
    • imageMUIButton

      public org.eclipse.swt.graphics.Image imageMUIButton
    • imageMUICheckBox

      public org.eclipse.swt.graphics.Image imageMUICheckBox
    • imageMUIRadioButton

      public org.eclipse.swt.graphics.Image imageMUIRadioButton
    • imageMUIList

      public org.eclipse.swt.graphics.Image imageMUIList
    • imageMUIHeading

      public org.eclipse.swt.graphics.Image imageMUIHeading
    • imageMUITabBar

      public org.eclipse.swt.graphics.Image imageMUITabBar
    • imageMUIProgress

      public org.eclipse.swt.graphics.Image imageMUIProgress
    • imageMUIProgressInd

      public org.eclipse.swt.graphics.Image imageMUIProgressInd
    • imageMUISlider

      public org.eclipse.swt.graphics.Image imageMUISlider
    • imageMUISwitch

      public org.eclipse.swt.graphics.Image imageMUISwitch
    • imageMUIListHeader

      public org.eclipse.swt.graphics.Image imageMUIListHeader
    • imageMUISimpleListItem

      public org.eclipse.swt.graphics.Image imageMUISimpleListItem
    • imageVSComponent

      public org.eclipse.swt.graphics.Image imageVSComponent
    • imageVSTable

      public org.eclipse.swt.graphics.Image imageVSTable
    • imageVSColumn

      public org.eclipse.swt.graphics.Image imageVSColumn
    • imageVSRow

      public org.eclipse.swt.graphics.Image imageVSRow
    • imageVSField

      public org.eclipse.swt.graphics.Image imageVSField
    • imageVSGroup

      public org.eclipse.swt.graphics.Image imageVSGroup
    • imageVSCell

      public org.eclipse.swt.graphics.Image imageVSCell
    • imageVSAction

      public org.eclipse.swt.graphics.Image imageVSAction
    • imageVSActionReference

      public org.eclipse.swt.graphics.Image imageVSActionReference
    • imageAction

      public org.eclipse.swt.graphics.Image imageAction
    • imageActions

      public org.eclipse.swt.graphics.Image imageActions
    • imageActionReference

      public org.eclipse.swt.graphics.Image imageActionReference
    • imageVSType

      public org.eclipse.swt.graphics.Image imageVSType
    • imageVSMessage

      public org.eclipse.swt.graphics.Image imageVSMessage
    • imageVSName

      public org.eclipse.swt.graphics.Image imageVSName
    • imageVSValue

      public org.eclipse.swt.graphics.Image imageVSValue
    • imageVSParticipant

      public org.eclipse.swt.graphics.Image imageVSParticipant
    • imageVSParticipants

      public org.eclipse.swt.graphics.Image imageVSParticipants
    • imageVSState

      public org.eclipse.swt.graphics.Image imageVSState
    • imageVSReference

      public org.eclipse.swt.graphics.Image imageVSReference
    • imageDescription

      public org.eclipse.swt.graphics.Image imageDescription
    • imageCNProperty

      public org.eclipse.swt.graphics.Image imageCNProperty
    • imageActors

      public org.eclipse.swt.graphics.Image imageActors
    • imageConnectionsIn

      public org.eclipse.swt.graphics.Image imageConnectionsIn
    • imageConnectionsOut

      public org.eclipse.swt.graphics.Image imageConnectionsOut
    • imageConnectionsOneToMany

      public org.eclipse.swt.graphics.Image imageConnectionsOneToMany
    • imageConnectionsManyToOne

      public org.eclipse.swt.graphics.Image imageConnectionsManyToOne
    • imageClear

      public org.eclipse.swt.graphics.Image imageClear
    • imageClearHover

      public org.eclipse.swt.graphics.Image imageClearHover
    • imageExpanded

      public org.eclipse.swt.graphics.Image imageExpanded
    • imageExpandedHover

      public org.eclipse.swt.graphics.Image imageExpandedHover
    • imageExpandedWarning

      public org.eclipse.swt.graphics.Image imageExpandedWarning
    • imageExpandedWarningHover

      public org.eclipse.swt.graphics.Image imageExpandedWarningHover
    • imageExpandedError

      public org.eclipse.swt.graphics.Image imageExpandedError
    • imageExpandedErrorHover

      public org.eclipse.swt.graphics.Image imageExpandedErrorHover
    • imageCollapsed

      public org.eclipse.swt.graphics.Image imageCollapsed
    • imageCollapsedHover

      public org.eclipse.swt.graphics.Image imageCollapsedHover
    • imageCollapsedWarning

      public org.eclipse.swt.graphics.Image imageCollapsedWarning
    • imageCollapsedWarningHover

      public org.eclipse.swt.graphics.Image imageCollapsedWarningHover
    • imageCollapsedError

      public org.eclipse.swt.graphics.Image imageCollapsedError
    • imageCollapsedErrorHover

      public org.eclipse.swt.graphics.Image imageCollapsedErrorHover
    • imageUndefined

      public org.eclipse.swt.graphics.Image imageUndefined
    • imageUndefinedHover

      public org.eclipse.swt.graphics.Image imageUndefinedHover
    • imageMissing

      public org.eclipse.swt.graphics.Image imageMissing
    • imageDefined

      public org.eclipse.swt.graphics.Image imageDefined
    • imageDefinedHover

      public org.eclipse.swt.graphics.Image imageDefinedHover
    • imageDefinedWarning

      public org.eclipse.swt.graphics.Image imageDefinedWarning
    • imageDefinedWarningHover

      public org.eclipse.swt.graphics.Image imageDefinedWarningHover
    • imageDefinedError

      public org.eclipse.swt.graphics.Image imageDefinedError
    • imageDefinedErrorHover

      public org.eclipse.swt.graphics.Image imageDefinedErrorHover
    • imagePlus

      public org.eclipse.swt.graphics.Image imagePlus
    • imagePlusHover

      public org.eclipse.swt.graphics.Image imagePlusHover
    • imageMinus

      public org.eclipse.swt.graphics.Image imageMinus
    • imageMinusHover

      public org.eclipse.swt.graphics.Image imageMinusHover
    • imageChecked

      public org.eclipse.swt.graphics.Image imageChecked
    • imageUnchecked

      public org.eclipse.swt.graphics.Image imageUnchecked
    • imageText

      public org.eclipse.swt.graphics.Image imageText
    • imageTextHover

      public org.eclipse.swt.graphics.Image imageTextHover
    • imageTextTag

      public org.eclipse.swt.graphics.Image imageTextTag
    • imageTextTagHover

      public org.eclipse.swt.graphics.Image imageTextTagHover
    • imageHTML

      public org.eclipse.swt.graphics.Image imageHTML
    • imageHTMLHover

      public org.eclipse.swt.graphics.Image imageHTMLHover
    • imageHTMLTag

      public org.eclipse.swt.graphics.Image imageHTMLTag
    • imageHTMLTagHover

      public org.eclipse.swt.graphics.Image imageHTMLTagHover
    • imageHoverButton

      public org.eclipse.swt.graphics.Image imageHoverButton
    • imageDownButton

      public org.eclipse.swt.graphics.Image imageDownButton
    • imageModulePackage

      public org.eclipse.swt.graphics.Image imageModulePackage
    • imageModulePackageEmpty

      public org.eclipse.swt.graphics.Image imageModulePackageEmpty
    • imageModulePackageNameError

      public org.eclipse.swt.graphics.Image imageModulePackageNameError
    • imageImageDefinition

      public org.eclipse.swt.graphics.Image imageImageDefinition
    • imageFontFaces

      public org.eclipse.swt.graphics.Image imageFontFaces
    • imageFontIconsDefinition

      public org.eclipse.swt.graphics.Image imageFontIconsDefinition
    • imageFontIconDefinition

      public org.eclipse.swt.graphics.Image imageFontIconDefinition
    • imageFontFiles

      public org.eclipse.swt.graphics.Image imageFontFiles
    • imageFontFile

      public org.eclipse.swt.graphics.Image imageFontFile
    • imageSingleImage

      public org.eclipse.swt.graphics.Image imageSingleImage
    • imageMultipleImages

      public org.eclipse.swt.graphics.Image imageMultipleImages
    • imageStyledImage

      public org.eclipse.swt.graphics.Image imageStyledImage
    • imageImageLocation

      public org.eclipse.swt.graphics.Image imageImageLocation
    • imageImageResolution

      public org.eclipse.swt.graphics.Image imageImageResolution
    • imageImageStyle

      public org.eclipse.swt.graphics.Image imageImageStyle
    • imageSVGDefinition

      public org.eclipse.swt.graphics.Image imageSVGDefinition
    • imageClass

      public org.eclipse.swt.graphics.Image imageClass
    • imageJavaMethodInstance

      public org.eclipse.swt.graphics.Image imageJavaMethodInstance
    • imageJavaMethodStatic

      public org.eclipse.swt.graphics.Image imageJavaMethodStatic
    • imageJavaMethodInstanceLarge

      public org.eclipse.swt.graphics.Image imageJavaMethodInstanceLarge
    • imageJavaMethodStaticLarge

      public org.eclipse.swt.graphics.Image imageJavaMethodStaticLarge
    • imageJavaActionActor

      public org.eclipse.swt.graphics.Image imageJavaActionActor
    • imageNewFieldActor

      public org.eclipse.swt.graphics.Image imageNewFieldActor
    • imageNewActionActor

      public org.eclipse.swt.graphics.Image imageNewActionActor
    • checkBoxChecked

      public org.eclipse.swt.graphics.Image checkBoxChecked
    • checkBoxUnchecked

      public org.eclipse.swt.graphics.Image checkBoxUnchecked
    • checkBoxCheckedDisabled

      public org.eclipse.swt.graphics.Image checkBoxCheckedDisabled
    • checkBoxUncheckedDisabled

      public org.eclipse.swt.graphics.Image checkBoxUncheckedDisabled
    • radioButtonSelected

      public org.eclipse.swt.graphics.Image radioButtonSelected
    • radioButtonUnselected

      public org.eclipse.swt.graphics.Image radioButtonUnselected
    • radioButtonSelectedDisabled

      public org.eclipse.swt.graphics.Image radioButtonSelectedDisabled
    • radioButtonUnselectedDisabled

      public org.eclipse.swt.graphics.Image radioButtonUnselectedDisabled
    • deviceCast

      public org.eclipse.swt.graphics.Image deviceCast
    • deviceCastDisabled

      public org.eclipse.swt.graphics.Image deviceCastDisabled
  • Method Details

    • autoScaleDown

      public static int autoScaleDown(int size)
      Auto-scales down for high DPI displays.
      Parameters:
      size - Value to scale down.
      Returns:
      The scaled value if supported, otherwise the same value.
    • autoScaleUp

      public static int autoScaleUp(int size)
      Auto-scales up for high DPI displays.
      Parameters:
      size - Value to scale up.
      Returns:
      The scaled value if supported, otherwise the same value.
    • addThemeListener

      public static boolean addThemeListener(IThemeListener listener)
      Call this method to register for theme changes.
      Parameters:
      listener - The listener.
      Returns:
      true if the listener was added, false otherwise.
      Throws:
      NullPointerException - If the listener is null.
    • addThemeListener

      public static boolean addThemeListener(IThemeListener listener, org.eclipse.swt.widgets.Control widget)
      Call this method to register for theme changes and automatic removal of its listener when the widget is disposed of.
      Parameters:
      listener - The listener.
      widget - The widget or container to listen to for dispose.
      Returns:
      true if the listener was added, false otherwise.
      Throws:
      NullPointerException - If the listener is null.
    • removeThemeListener

      public static boolean removeThemeListener(IThemeListener listener)
      Call this method to register for theme changes.
      Parameters:
      listener - The listener.
      Returns:
      true if the listener was removed, false otherwise.
      Throws:
      NullPointerException - If the listener is null.
    • getInstance

      public static ApplicationUI getInstance()
      Gets the instance of the ApplicationUI. The first time this is done, it must be from the SWT thread, otherwise an InternalError is thrown.
      Returns:
      The singleton instance of the ApplicationUI.
    • isInstanceCreated

      public static boolean isInstanceCreated()
      Checks if the ApplicationUI instance is created.
      Returns:
      true if ApplicationUI is created or not.
    • isAutoScaled

      public boolean isAutoScaled()
      Gets the flag not to use scaling because it's automatic.
      Returns:
      true if Eclipse and SWT automatically adjust values to scale, false otherwise.
    • getTheme

      public ApplicationUI.Theme getTheme()
      Gets the current theme.
      Returns:
      The current theme.
    • isDarkMode

      public boolean isDarkMode()
      Checks if a "dark" mode is used, e.g. using ApplicationUI.Theme.DARK. In the future, it could be other dark themes, but right now, "there can be only one"!
      Returns:
      The flag, generally affecting images and/or colors.
    • getColor

      public org.eclipse.swt.graphics.Color getColor(int rgb)
      Gets a color and adds it to be disposed of when the plug-in exits. If the color has been created previously, that one is returned. This call must be done from the SWT thread.
      Parameters:
      rgb - The RGB color value between 0x000000 and 0xFFFFFF.
      Returns:
      The new Color instance, or a cached one.
    • getColor

      public org.eclipse.swt.graphics.Color getColor(int r, int g, int b)
      Gets a color and adds it to be disposed of when the plug-in exits. If the color has been created previously, that one is returned. This call must be done from the SWT thread.
      Parameters:
      r - The red color 0-255.
      g - The green color 0-255.
      b - The blue color 0-255.
      Returns:
      The new Color instance, or a cached one.
    • getFont

      public org.eclipse.swt.graphics.Font getFont(String name, int height, int style)
      Gets a font and adds it to be disposed of when the plug-in exits. If the font has been created previously, the same font is returned. This call must be done from the SWT thread.
      Parameters:
      name - The name of the font.
      height - The height of the font in pixels.
      style - The style of the font.
      Returns:
      A new of cached font instance.
    • getImage

      public org.eclipse.swt.graphics.Image getImage(String fileName)
      Gets an Image from a file name.
      Parameters:
      fileName - The file name loads a descriptor from the "icons" folder.
      Returns:
      A new or cached image of the file name.
    • getImage

      public org.eclipse.swt.graphics.Image getImage(org.eclipse.jface.resource.ImageDescriptor descriptor)
      Loads the image for an Image Descriptor and caches it. It will be disposed of when the plug-in exits.
      Parameters:
      descriptor - The Image Descriptor or null if none.
      Returns:
      The image created, null for none or when Image Descriptor is null.
    • removeImage

      public boolean removeImage(org.eclipse.swt.graphics.Image image)
      Removes an image and its image descriptor once loaded.
      Parameters:
      image - The image to remove.
      Returns:
      true if the image was removed, false otherwise.
    • getDecoratedImage

      public org.eclipse.swt.graphics.Image getDecoratedImage(org.eclipse.swt.graphics.Image image, int errorLevel)
      Creates or gets a (perhaps) decorated image for warning/errors. Error level is the same as IMarker.SEVERITY_*.
      Parameters:
      image - The image to decorate.
      errorLevel - 0=no decoration, 1=warning, 2=error.
      Returns:
      The (perhaps) decorated image. The image is cached in order to reuse the decoration for that image.
    • getImage

      public org.eclipse.swt.graphics.Image getImage(GProp<?> property)
      Gets an Image for a property.
      Parameters:
      property - The property instance or null for none.
      Returns:
      The Image or null for none or property instance is null.
    • getImage

      public <GPROP extends GProp<?>> org.eclipse.swt.graphics.Image getImage(Class<GPROP> propertyClass)
      Gets an Image for a property class.
      Type Parameters:
      GPROP - The GProperty from the property class.
      Parameters:
      propertyClass - The property class.
      Returns:
      The Image Descriptor or null for none.
    • getImage

      public org.eclipse.swt.graphics.Image getImage(DesignerProp dp)
      Gets the Image for a DesignerProp instance.
      Parameters:
      dp - The Designer property instance.
      Returns:
      The Image, or null if dp is null.
    • getErrorImage

      public org.eclipse.swt.graphics.Image getErrorImage(IPropErrorItem errorItem)
      Gets the image for the property error severity level.
      Parameters:
      errorItem - An instance of an error item.
      Returns:
      The cached image for the severity in question, null for no image.
    • getErrorImage

      public org.eclipse.swt.graphics.Image getErrorImage(int level)
      Gets the image for the property error level 0=INFO, 1=WARNING, 2=ERROR.
      Parameters:
      level - The error level (0-2).
      Returns:
      The cached image for the severity, or null if the level is not 0-2.
    • getErrorImageDecoration

      public org.eclipse.swt.graphics.Image getErrorImageDecoration(int level)
      Gets the small decoration images for the property error levels 1=WARNING, 2=ERROR.
      Parameters:
      level - The error level (1-2).
      Returns:
      The cached image for the severity, or null if the level is not 1-2.
    • getWorkBenchImage

      public org.eclipse.swt.graphics.Image getWorkBenchImage(String name)
      Gets a Workbench Shared image by a name.
      Parameters:
      name - The name defined in org.eclipse.ui.ISharedImages.
      Returns:
      The cached image, or null if not found.
    • loadWorkBenchImages

      public void loadWorkBenchImages(org.eclipse.swt.widgets.ToolItem item, String name)
      Loads a set of workbench Image's from its symbolic names defined in org.eclipse.ui.ISharedImages and assigns it to the ToolItem. The "_DISABLED" image will be loaded and used if defined.
      Parameters:
      item - The tool bar item.
      name - The name of the image.
    • applyHeaderGradient

      public void applyHeaderGradient(org.eclipse.swt.widgets.Composite c)
      Applies a gradient on a composite in light mode, and in dark mode, just use the default widget background.
      Parameters:
      c - The composite.
    • center

      public void center(org.eclipse.swt.widgets.Shell shell, int w, int h)
      Centers the window on screen over its parent and sets the size.
      Parameters:
      shell - The window shell.
      w - Width of window, zero for none, negative not to scale.
      h - Height of window, zero for none, negative not to scale.
    • center

      public void center(org.eclipse.swt.widgets.Shell shell, String image, int w, int h)
      Centers the window on screen over its parent and sets the size and image.
      Parameters:
      shell - The window shell.
      image - The image for the dialog relative the icon directory.
      w - Width of window, zero for none, negative not to scale.
      h - Height of window, zero for none, negative not to scale.
    • center

      public void center(org.eclipse.swt.widgets.Shell shell, Class<?> clazz, int w, int h)
      Centers the window on screen over its parent and sets the size. The dialog size is kept to restore next time it's opened.
      Parameters:
      shell - The window shell.
      clazz - The class to remember the size of the dialog for, null for none.
      w - Width of window, zero for none, negative not to scale.
      h - Height of window, zero for none, negative not to scale.
    • center

      public void center(org.eclipse.swt.widgets.Shell shell, Class<?> clazz, String image, int w, int h)
      Centers the window on screen over its parent and sets the size and image. The dialog size is kept to restore next time it's opened.
      Parameters:
      shell - The window shell.
      clazz - The class to remember the size of the dialog for, null for none.
      image - The image for the dialog relative the icon directory, null for none.
      w - Width of window, zero for none, negative not to scale.
      h - Height of window, zero for none, negative not to scale.
    • center

      public void center(org.eclipse.swt.widgets.Shell shell, String className, String image, int w, int h)
      Centers the window on screen over its parent and sets the size and image. The dialog size is kept to restore next time it's opened.
      Parameters:
      shell - The window shell.
      className - The class to remember the size of the dialog for, null for none.
      image - The image for the dialog relative the icon directory, null for none.
      w - Width of window, zero for none, negative not to scale.
      h - Height of window, zero for none, negative not to scale.
    • cx

      public int cx(int w)
      Calculates the width of an element with the dialog font.
      Parameters:
      w - The width in pixel for the 100% font.
      Returns:
      The width to use.
    • cy

      public int cy(int h)
      Calculates the height of an element with the dialog font.
      Parameters:
      h - The width in pixel for the 100% font.
      Returns:
      The height to use.
    • s2

      public int s2()
      Gets the spacing of 2 "pixels" depending on font scaling.
      Returns:
      The pixel value.
    • s4

      public int s4()
      Gets the spacing of 4 "pixels" depending on font scaling.
      Returns:
      The pixel value.
    • s5

      public int s5()
      Gets the spacing of 5 "pixels" depending on font scaling.
      Returns:
      The pixel value.
    • s8

      public int s8()
      Gets the spacing of 8 "pixels" depending on font scaling.
      Returns:
      The pixel value.
    • s10

      public int s10()
      Gets the spacing of 5 "pixels" depending on font scaling.
      Returns:
      The pixel value.
    • s15

      public int s15()
      Gets the spacing of 5 "pixels" depending on font scaling.
      Returns:
      The pixel value.
    • s20

      public int s20()
      Gets the spacing of 5 "pixels" depending on font scaling.
      Returns:
      The pixel value.
    • cyProperty

      public int cyProperty()
      Gets the height of each item for properties.
      Returns:
      The default height is 16.
    • getNormalFont

      public org.eclipse.swt.graphics.Font getNormalFont()
      Gets the default dialog normal font.
      Returns:
      The normal font.
    • getHeadingFont

      public org.eclipse.swt.graphics.Font getHeadingFont()
      Gets a heading font.
      Returns:
      The font.
    • getBoldFont

      public org.eclipse.swt.graphics.Font getBoldFont()
      Gets a bold font for a standard component.
      Returns:
      The font.
    • getItalicFont

      public org.eclipse.swt.graphics.Font getItalicFont()
      Gets an italic font for a standard component.
      Returns:
      The font.
    • getFixedFont

      public org.eclipse.swt.graphics.Font getFixedFont()
      Gets the standard fixed font.
      Returns:
      The font.
    • loadWorkBenchImages

      public void loadWorkBenchImages(org.eclipse.swt.widgets.ToolItem item, String nameEnabled, String nameDisabled)
      Loads a set of workbench Image's from its symbolic names defined in org.eclipse.ui.ISharedImages and assigns it to the ToolItem.
      Parameters:
      item - The tool bar item.
      nameEnabled - The name of the enabled image.
      nameDisabled - The name of the disabled image.
    • getNewImageDescriptor

      public org.eclipse.jface.resource.ImageDescriptor getNewImageDescriptor(org.eclipse.swt.graphics.Image image)
      Creates a "New item" image descriptor from an existing image.
      Parameters:
      image - The image.
      Returns:
      The cached image descriptor with a "new item decorator" on the top-right corner.
    • getNewImage

      public org.eclipse.swt.graphics.Image getNewImage(org.eclipse.swt.graphics.Image image)
      Creates a "New item" image from an existing image.
      Parameters:
      image - The image.
      Returns:
      A cached image with a "new item decorator" on the top-right corner.
    • getWizardImage

      public org.eclipse.swt.graphics.Image getWizardImage(org.eclipse.swt.graphics.Image image)
      Creates a "wizard" image from an existing image.
      Parameters:
      image - The image.
      Returns:
      A cached image with the overlay of a new-wizard.