Package org.rssowl.ui.internal.actions

Examples of org.rssowl.ui.internal.actions.CopyLinkAction.selectionChanged()


          /* Copy Link */
          manager.add(new Action("Copy Link") {
            @Override
            public void run() {
              IActionDelegate action = new CopyLinkAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            @Override
            public boolean isEnabled() {
View Full Code Here


          /* Send Link */
          manager.add(new Action("Send Link") {
            @Override
            public void run() {
              IActionDelegate action = new SendLinkAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            @Override
            public boolean isEnabled() {
View Full Code Here

          /* Update */
          manager.add(new Action("Update") {
            @Override
            public void run() {
              IActionDelegate action = new ReloadTypesAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            @Override
            public ImageDescriptor getImageDescriptor() {
View Full Code Here

      else if (attachments.size() == 1) {
        separate = false;
        attachmentMenu.add(new Separator());
        CopyLinkAction action = new CopyLinkAction();
        action.setIgnoreActiveSelection(true);
        action.selectionChanged(action, new StructuredSelection(attachments.iterator().next().getFirst()));
        attachmentMenu.add(action);
      }

      /* Offer to Automize Downloading */
      if (separate)
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.