Package org.openbp.jaspira.gui.interaction

Examples of org.openbp.jaspira.gui.interaction.MultiTransferable


    if (transferables != null)
    {
      DrawingEditorPlugin modeler = (DrawingEditorPlugin) editor();

      // Create an interaction event that transports the objects we refer to
      InteractionEvent iae = new InteractionEvent(modeler, InteractionEvent.POPUP, new MultiTransferable(transferables));

      // Fire the event to the other plugins
      modeler.fireEvent(iae);

      // Create a popup menu from what the Jaspira actions the other plugins have added
View Full Code Here


        {
          // If we have a single node selected, add the model qualifier of the node in addition
          Node node = (Node) copiedSourceNodes.get(0);
          ModelQualifier qualifier = node.getQualifier();

          MultiTransferable mt = new MultiTransferable();
          mt.addTransferable(ret);
          mt.addTransferable(new SimpleTransferable(qualifier, ClientFlavors.MODEL_QUALIFIER));
          ret = mt;
        }

        return ret;
      }
View Full Code Here

TOP

Related Classes of org.openbp.jaspira.gui.interaction.MultiTransferable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.