Package org.openbp.guiclient.model.item

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


  }

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


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

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

    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

          // 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

Related Classes of org.openbp.guiclient.model.item.ItemTransferable

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.