Class MetaEditor

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class MetaEditor
    extends java.lang.Object
    implements java.lang.Cloneable
    Editor associated to a type.
    Author:
    Javier Paniza
    • Constructor Detail

      • MetaEditor

        public MetaEditor()
    • Method Detail

      • _addListFormatterMetaSet

        public void _addListFormatterMetaSet​(MetaSet metaSet)
      • _addFormatterMetaSet

        public void _addFormatterMetaSet​(MetaSet metaSet)
      • getUrl

        public java.lang.String getUrl()
      • setUrl

        public void setUrl​(java.lang.String string)
      • addProperty

        public void addProperty​(java.lang.String name,
                                java.lang.String value)
      • hasProperty

        public boolean hasProperty​(java.lang.String name)
      • getProperty

        public java.lang.String getProperty​(java.lang.String name)
        Since:
        6.2
      • cloneMetaEditor

        public MetaEditor cloneMetaEditor()
        Since:
        6.6
      • setDependsStereotypes

        public void setDependsStereotypes​(java.lang.String stereotypes)
      • setDependsProperties

        public void setDependsProperties​(java.lang.String properties)
      • dependsStereotype

        public boolean dependsStereotype​(MetaProperty p)
      • getFormatterClassName

        public java.lang.String getFormatterClassName()
      • setFormatterClassName

        public void setFormatterClassName​(java.lang.String string)
      • hasHasSet

        public boolean hasHasSet()
      • getTypeSet

        public java.util.Set<java.lang.String> getTypeSet()
      • getAnnotationSet

        public java.util.Set<java.lang.String> getAnnotationSet()
      • getStereotypeSet

        public java.util.Set<java.lang.String> getStereotypeSet()
      • addType

        public void addType​(java.lang.String newPropertyType)
      • addAnnotation

        public void addAnnotation​(java.lang.String newAnnotation)
      • addStereotype

        public void addStereotype​(java.lang.String newStereotype)
      • typeMatches

        public boolean typeMatches​(MetaProperty mp)
      • stereotypeMatches

        public boolean stereotypeMatches​(MetaProperty mp)
      • isFormat

        public boolean isFormat()
      • setFormat

        public void setFormat​(boolean b)
      • isFrame

        public boolean isFrame()
      • setFrame

        public void setFrame​(boolean b)
      • isFormatterFromType

        public boolean isFormatterFromType()
      • setFormatterFromType

        public void setFormatterFromType​(boolean formatterFromType)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • dependsOnSomeOther

        public boolean dependsOnSomeOther()
        If this editor depends of some other property or stereotype.

      • setAlwaysReload

        public void setAlwaysReload​(boolean alwaysReload)
      • isAlwaysReload

        public boolean isAlwaysReload()
      • isComposite

        public boolean isComposite()
      • setComposite

        public void setComposite​(boolean composite)
      • getListFormatterClassName

        public java.lang.String getListFormatterClassName()
      • setListFormatterClassName

        public void setListFormatterClassName​(java.lang.String listFormatterClassName)
      • getIcon

        public java.lang.String getIcon()
      • setIcon

        public void setIcon​(java.lang.String icon)
      • getInitAction

        public java.lang.String getInitAction()
      • setInitAction

        public void setInitAction​(java.lang.String initAction)
      • getReleaseAction

        public java.lang.String getReleaseAction()
      • setReleaseAction

        public void setReleaseAction​(java.lang.String releaseAction)
      • isSelectableItems

        public boolean isSelectableItems()
      • setSelectableItems

        public void setSelectableItems​(boolean selectableItems)
      • getPriority

        public int getPriority()
      • getDefaultLabelFormat

        public java.lang.Integer getDefaultLabelFormat()
        Default label format for the editor.

        The possible values are NORMAL_LABEL, SMALL_LABEL and NO_LABEL from MetaPropertyView.
        If not specified the value will be null.

        Since:
        7.4
      • setDefaultLabelFormat

        public void setDefaultLabelFormat​(java.lang.Integer defaultLabelFormat)