Examples of selectionChanged()


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

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

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

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

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

          public void run() {

            /* Special Case "Send E-Mail" action */
            if (SendLinkAction.ID.equals(provider.getId())) {
              IActionDelegate action = new SendLinkAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

            /* Other Action */
            else {
View Full Code Here

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

            shareMenu.add(new Action(provider.getName()) {
              @Override
              public void run() {
                if (SendLinkAction.ID.equals(provider.getId())) {
                  IActionDelegate action = new SendLinkAction();
                  action.selectionChanged(null, selection);
                  action.run(null);
                } else {
                  Object obj = selection.getFirstElement();
                  if (StringUtils.isSet((String) obj) && !URIUtils.ABOUT_BLANK.equals(obj)) {
                    String shareLink = provider.toShareUrl((String) obj, null);
View Full Code Here

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

   */
  public Object execute(ExecutionEvent event) {
    IStructuredSelection activeSelection = OwlUI.getActiveSelection();

    SortByNameAction action = new SortByNameAction();
    action.selectionChanged(null, activeSelection);
    action.run(null);

    return null; //As per JavaDoc
  }
}
View Full Code Here

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

          /* Create Filter */
          manager.add(new Action(Messages.ApplicationActionBarAdvisor_CREATE_FILTER) {
            @Override
            public void run() {
              CreateFilterAction action = new CreateFilterAction();
              action.selectionChanged(null, selection);
              action.run(null);
            }

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

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

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

            @Override
            public ImageDescriptor getImageDescriptor() {
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.