Examples of ItemTransferable


Examples of org.openbp.guiclient.model.item.ItemTransferable

  }

  public Transferable copy()
  {
    Item item = getSelectedItem();
    return new ItemTransferable(item);
  }
View Full Code Here

Examples of org.openbp.guiclient.model.item.ItemTransferable

    {
      modelConnector.showExceptionDialog(ex, item);
      return null;
    }

    return new ItemTransferable(item);
  }
View Full Code Here

Examples of org.openbp.guiclient.model.item.ItemTransferable

    InteractionEvent iae = null;
    try
    {
      // Broadcast an interaction event to collect the popup menu entries to display
      iae = new InteractionEvent(this, InteractionEvent.POPUP, new ItemTransferable(item));
      fireEvent(iae);
    }
    finally
    {
      if (displayContextMenuWaitCursor)
View Full Code Here

Examples of org.openbp.guiclient.model.item.ItemTransferable

          // Add the 'Add to toolbox' action
          JaspiraAction action = new JaspiraAction(UserToolBoxPlugin.this, "toolbox.add")
          {
            public void actionPerformed(ActionEvent ae)
            {
              addToolBoxItem(new ToolBoxItem(item.getDisplayText(), ItemIconMgr.getInstance().getIcon(item, FlexibleSize.MEDIUM), item.getDescriptionText(), new ItemTransferable(item)));
              refreshContent();

              // Bring the toolbox to the front, but don't switch pages
              showPlugin(false);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.