Class EditorImageLocation

All Implemented Interfaces:
IEditorImage, IPropDesigner, EventListener, IGProp<GProp<?>[]>, IImageLocation, IImageTarget, IPropCnr, Cloneable, org.eclipse.core.runtime.IAdaptable

public class EditorImageLocation extends ImageLocation implements IPropDesigner, IEditorImage
This Image Location has the location of the image part.
  • Constructor Details

    • EditorImageLocation

      public EditorImageLocation()
      Creates the Image Location property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • EditorImageLocation

      public EditorImageLocation(Atom propertyAtom)
      Creates the Image Location property container with the specified name. All system-reserved names for components begins with "$".
      Parameters:
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details

    • getDesigner

      public ImageDesignerProp getDesigner()
      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IPropDesigner
      Returns:
      The instance of the Designer Extension.
    • clone

      Clone must be overridden.
      Overrides:
      clone in class PropCnr
      Throws:
      CloneNotSupportedException - If a subclass doesn't allow cloning, e.g. the client properties.
    • getCNImage

      public org.eclipse.swt.graphics.Image getCNImage()
      Gets the image for the Common Navigator.
      Specified by:
      getCNImage in interface IEditorImage
    • getCNType

      public String getCNType()
      Gets the type for the Common Navigator.
      Specified by:
      getCNType in interface IEditorImage
    • getCNText

      public String getCNText(int column)
      Gets the label text for the Common Navigator.
      Specified by:
      getCNText in interface IEditorImage
    • createTooltip

      public org.eclipse.swt.widgets.Composite createTooltip(org.eclipse.swt.widgets.Composite parent)
      Creates the tooltip.
      Specified by:
      createTooltip in interface IEditorImage
    • verify

      public boolean verify(PropVerification verification)
      Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
      Specified by:
      verify in interface IGProp<GProp<?>[]>
      Overrides:
      verify in class PropCnr
      Parameters:
      verification - The property verification class.
      Returns:
      true if verification should proceed, false if disposed of and verification should not take place.