Class EditorServerSettings

    • Constructor Detail

      • EditorServerSettings

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

        public EditorServerSettings​(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 Detail

      • assignConfigFile

        public void assignConfigFile​(java.io.File file)
        Assigns the config file.
        Parameters:
        file - The config file.
      • getConfigFile

        public java.io.File getConfigFile()
        Gets the config file.
        Returns:
        The config file, null if not loaded yet.
      • getFileName

        public java.lang.String getFileName()
        Gets the file name.
      • setFileName

        public void setFileName​(java.lang.String fileName)
        Assigns the file name.
      • getPossibleChildren

        public java.lang.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.
      • getServerConfigEnvironment

        public EditorServerConfigEnvProps getServerConfigEnvironment​(java.lang.String name)
        Gets the configuration environment of a name.
        Overrides:
        getServerConfigEnvironment in class ServerSettings
        Parameters:
        name - The name (e.g. "test", "development" or "production"), or null for default configuration environment name.
        Returns:
        The configuration setup, or null if not found.
      • getTooltipPropertyList

        public java.util.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.