Class EditorRuntimeBuilderProps

All Implemented Interfaces:
IPropEditorExtenderProvider<PKCS12IdentityPropEditor, PKCS12IdentityProp, byte[]>, IPropDesigner, ITooltipPropList, EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable, IAdaptable

Container that holds the required settings for the runtime builder.
  • Constructor Details

    • EditorRuntimeBuilderProps

      public EditorRuntimeBuilderProps()
      Creates the screen identification property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • EditorRuntimeBuilderProps

      public EditorRuntimeBuilderProps(Atom propertyAtom)
      Creates the screen identification 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

    • setup

      public void setup(ModuleModel module, IRuntimeBuilder runtimeBuilder)
      Sets up the property.
      Parameters:
      module - The Module model.
      runtimeBuilder - The runtime builder.
    • getDesigner

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

      public ModuleModel getModuleModel()
      Gets the module model.
    • getAssetsDirectory

      public File getAssetsDirectory()
      Gets the Assets directory.
      Overrides:
      getAssetsDirectory in class RuntimeBuilderProps
      Returns:
      The Assets directory, null if not found or the properties are not yet assigned a module.
    • getAssetsSubFolder

      public File getAssetsSubFolder()
      Gets the subfolder in the assets directory.
      Returns:
      The subfolder to use for storing certificate keystores, splash screens, icons, etc. Returns null if not defined yet.
    • getOutputIFolder

      public IFolder getOutputIFolder()
      Gets the output directory (that may not be created).
    • getTextTable

      public TextTable getTextTable()
      Looks up the text table.
      Overrides:
      getTextTable in class RuntimeBuilderProps
      Returns:
      The text table, or null if not found.
    • clone

      public EditorRuntimeBuilderProps clone()
      Clone must be overridden.
      Overrides:
      clone in class RuntimeBuilderProps
    • onPropDispose

      protected void onPropDispose()
      Called when a property is disposed of by delete/remove in a container, or by the dispose method.

      This call is done just at the end of the delete/remove routine in the container, without synchronization.

      During this call, whatever components that e.g. the client needs to disposed of is done.

      Subclasses needing to perform some intelligent operations upon deletion should do it by overloading this method and always call the super.onPropDispose() method.

      Overrides:
      onPropDispose in class PropCnr
    • getTooltipPropertyList

      public List<TooltipItem> getTooltipPropertyList()
      Gets the list of property names that should be displayed.
      Specified by:
      getTooltipPropertyList in interface ITooltipPropList
      Returns:
      The list, or null for no tooltip.
    • onRemoteEvent

      public void onRemoteEvent(RemoteEvent event)
      Called when a remote property event should be processed by this property.

      A subclass can override this method to perform appropriate processing and is not required to call super.onRemoteEvent(e).

      The onRemoteEvent is NOT called when in a proxied property container, but rather the normal onEventSelf method.

      Specified by:
      onRemoteEvent in interface IGProp<GProp<?>[]>
      Overrides:
      onRemoteEvent in class GProp<GProp<?>[]>
      Parameters:
      event - The remote event.
    • getEditorExtender

      Gets the extension for a property editor.
      Specified by:
      getEditorExtender in interface IPropEditorExtenderProvider<PKCS12IdentityPropEditor, PKCS12IdentityProp, byte[]>
      Parameters:
      editor - The requesting editor.
      atom - The property atom being edited.
      Returns:
      The extender, or null for none.
    • 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.