Package com.iizigo

Class ApplicationUI


  • public class ApplicationUI
    extends java.lang.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 Detail

      • display

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

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

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

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

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

        public final org.eclipse.swt.graphics.Color widgetBackground
      • listSelectionForeground

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

        public final org.eclipse.swt.graphics.Color listSelectionBackground
      • tooltipBackground

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

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

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

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

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

        public final org.eclipse.swt.graphics.Color paleGray
      • lightShadow

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

        public final org.eclipse.swt.graphics.Color darkShadow
      • tableLine

        public final org.eclipse.swt.graphics.Color tableLine
      • errorBackground

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public final org.eclipse.swt.graphics.Color propertyValueOverridden
      • cTop

        public final org.eclipse.swt.graphics.Color cTop
      • cBottom

        public final org.eclipse.swt.graphics.Color cBottom
      • paleLine

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

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

        public final org.eclipse.swt.graphics.Color propEditorBackground
      • 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
      • imageFolder

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

        public final org.eclipse.swt.graphics.Image imageFolderSelector
      • 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
      • imageInformationCircle

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public final org.eclipse.swt.graphics.Image imageInsertTextVSDisabled
      • imageInsertHyperlink

        public final org.eclipse.swt.graphics.Image imageInsertHyperlink
      • imageInsertHyperlinkDisabled

        public final org.eclipse.swt.graphics.Image imageInsertHyperlinkDisabled
      • imageRemoveHyperlink

        public final org.eclipse.swt.graphics.Image imageRemoveHyperlink
      • imageRemoveHyperlinkDisabled

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public final org.eclipse.swt.graphics.Image imageUIComboBox
      • imageUIEmpty

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public final org.eclipse.swt.graphics.Image deviceCastDisabled
    • Method Detail

      • 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.
      • 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.
      • 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.
      • 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, R in the lower bits, B in the higher.
        Returns:
        The new Color instance, or a cached one.
      • getFont

        public org.eclipse.swt.graphics.Font getFont​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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,
                                        java.lang.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.
        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,
                           java.lang.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,
                           java.lang.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,
                           java.lang.Class<?> clazz,
                           java.lang.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,
                           java.lang.String className,
                           java.lang.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.
      • s5

        public int s5()
        Gets the spacing of 5 "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,
                                        java.lang.String nameEnabled,
                                        java.lang.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.