Class PathVariablesOptionsGroup

  • All Implemented Interfaces:
    java.lang.Cloneable

    @OpenApi
    public class PathVariablesOptionsGroup
    extends com.nomagic.magicdraw.core.options.VersionedOptionsGroup
    Path variables options group.
    • Field Detail

      • IGNORED_VARIABLES

        private static final java.lang.String IGNORED_VARIABLES
        See Also:
        Constant Field Values
      • INVISIBLE

        private static final java.lang.String[] INVISIBLE
      • mPathVariables

        private java.util.List<PathVariable> mPathVariables
        Cached path variables
    • Constructor Detail

      • PathVariablesOptionsGroup

        public PathVariablesOptionsGroup()
    • Method Detail

      • createOptionsPanel

        public com.nomagic.magicdraw.ui.dialogs.options.BaseOptionsPanel createOptionsPanel()
        Description copied from class: OptionsGroup
        Creates options panel for editing the properties.
        Returns:
        created options panel.
      • setDefaultValues

        public void setDefaultValues()
        Description copied from class: AbstractPropertyOptionsGroup
        Sets default values for the properties contained in this group. Overriding classes should set default values to the properties.
        Overrides:
        setDefaultValues in class com.nomagic.magicdraw.core.options.VersionedOptionsGroup
      • getVariables

        public java.lang.String[] getVariables()
      • getPathVariables

        @OpenApi
        public java.util.Collection<PathVariable> getPathVariables()
        Get path variables.
        Returns:
        path variables.
      • setVariables

        public void setVariables​(java.lang.String[] variables)
      • setPathVariables

        public void setPathVariables​(java.util.Collection<PathVariable> pathVariables)
      • formatPropertyString

        private static java.lang.String formatPropertyString​(PathVariable pathVariable)
      • parsePropertyString

        public static PathVariable parsePropertyString​(java.lang.String pathVariable)
      • addPathVariable

        @OpenApi
        public void addPathVariable​(PathVariable variable)
      • isSuggestUsePathVariables

        public boolean isSuggestUsePathVariables()
      • setSuggestUsePathVariables

        public void setSuggestUsePathVariables​(boolean value)
      • setIgnoredVariables

        private void setIgnoredVariables​(java.lang.String[] ignored)
      • getIgnoredVariables

        private java.lang.String[] getIgnoredVariables()
      • addIgnoredVariable

        public void addIgnoredVariable​(java.lang.String variable)
      • removeIgnoredVariables

        private void removeIgnoredVariables​(java.lang.String[] variables)
      • isIgnoredVariable

        public boolean isIgnoredVariable​(java.lang.String variable)
      • getOptionsToSave

        public Style getOptionsToSave()
        Overrides:
        getOptionsToSave in class com.nomagic.magicdraw.core.options.VersionedOptionsGroup
      • getBanner

        public com.nomagic.ui.banners.Banner getBanner()