Class EditorConnectionProfilesSetup

All Implemented Interfaces:
IPropDesigner, EventListener, IGProp<GProp<?>[]>, IPropCnr, IServerApplicationSetup, IServerApplicationSetupPropCnr, Cloneable, IAdaptable

public class EditorConnectionProfilesSetup extends ConnectionProfilesSetup implements IPropDesigner
Editor class container with all connection profiles setup's by name.
Author:
Christopher Mindus
  • Constructor Details

    • EditorConnectionProfilesSetup

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

      public EditorConnectionProfilesSetup(Atom propertyAtom)
      Creates the 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 DatabaseDesignerProp 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 ConnectionProfilesSetup
    • getPossibleChildren

      public Class<?>[] getPossibleChildren()
      Gets the acceptable children property classes that can be used in conjunction with e.g. a Paste operation.
      Specified by:
      getPossibleChildren in interface IPropCnr
      Overrides:
      getPossibleChildren in class PropCnr
      Returns:
      An array containing the classes of possible children, or null for no support.
    • createEditorConnectionProfilesSetup

      public static EditorConnectionProfilesSetup createEditorConnectionProfilesSetup(ModuleRootPropCnr moduleRoot)
      Creates the instance of this property container, populated with connection profiles used in the project.
      Parameters:
      moduleRoot - The root of the Module application.
      Returns:
      The instance of the EditorConnectionProfilesSetup.