Class DragDropLinkAdapter

  • All Implemented Interfaces:
    EventListener, IGProp<GProp<?>[]>, IPropCnr, java.lang.Cloneable

    public class DragDropLinkAdapter
    extends PropCnr
    Component acting as a drag-drop adapter when dragging non-UI components into the JavaScript Panel Editor.

    The adapter displays the most common component image that will be used, and makes it possible to use a single class on the JS side for all.

    Christopher Mindus
    • Constructor Detail

      • DragDropLinkAdapter

        public DragDropLinkAdapter()
        Default constructor must be present but is really unused.
      • DragDropLinkAdapter

        public DragDropLinkAdapter​(Atom name,
                                   ILinkCapable linkCapable)
        Constructor for the component to adapt for.
        name - The name of the property.
        linkCapable - The link capable component.
    • Method Detail

      • getLinkCapable

        public ILinkCapable getLinkCapable()
        Gets the source linkable element.