Class EMLDefaultItemProp

    • Constructor Detail

      • EMLDefaultItemProp

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

        public EMLDefaultItemProp​(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

      • getDesigner

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

        public boolean hasEditedPropertyListChanged​(GEvent event)
        Verifies if the property has changed. This will rebuild the property editor if the type changes.
        Specified by:
        hasEditedPropertyListChanged in interface IDynamicPropertyEditorList
        Parameters:
        event - The property event.
        Returns:
        true if it changed.
      • isLinkCapable

        public org.eclipse.core.runtime.IStatus isLinkCapable​(LinkData data)
        Returns if this property container could potentially be link capable.

        This call is done many times during drag-drop and must be very fast and not cause too much garbage collection.

        Specified by:
        isLinkCapable in interface IJavaMethodLinkEnabler
        Specified by:
        isLinkCapable in interface ILinkCapable
        Parameters:
        data - The link data.
        Returns:
        The status of capability of the operation.
      • getDragDropText

        public java.lang.String getDragDropText()
        Gets the link text to display when drag-dropping into JavaScript Panel Editor.
        Specified by:
        getDragDropText in interface ILinkCapable
        Returns:
        The drag-drop text to use, or null if the method ILinkCapable.getDragDropHTML() is used instead.