Package org.rssowl.ui.internal.actions

Examples of org.rssowl.ui.internal.actions.EntityPropertyDialogAction


    /* Find (Eclipse Integration) */
    fViewSite.getActionBars().setGlobalActionHandler(ActionFactory.FIND.getId(), new FindAction());

    /* Properties */
    fViewSite.getActionBars().setGlobalActionHandler(ActionFactory.PROPERTIES.getId(), new EntityPropertyDialogAction(fViewSite, fViewer));

    /* Disable some Edit-Actions at first */
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.CUT.getId()).setEnabled(false);
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.COPY.getId()).setEnabled(false);
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.PASTE.getId()).setEnabled(false);
View Full Code Here


        fSearchBar.getControl().setFocus();
      }
    });

    /* Properties */
    fViewSite.getActionBars().setGlobalActionHandler(ActionFactory.PROPERTIES.getId(), new EntityPropertyDialogAction(fViewSite, fViewer));

    /* Disable some Edit-Actions at first */
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.CUT.getId()).setEnabled(false);
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.COPY.getId()).setEnabled(false);
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.PASTE.getId()).setEnabled(false);
View Full Code Here

  private void onEdit() {
    showInfo();

    IStructuredSelection selection = (IStructuredSelection) fViewer.getSelection();
    if (!selection.isEmpty()) {
      new EntityPropertyDialogAction(this, fViewer).run();
      fViewer.refresh();
    }
  }
View Full Code Here

  private void onEdit() {
    showInfo();

    IStructuredSelection selection = (IStructuredSelection) fViewer.getSelection();
    if (!selection.isEmpty()) {
      new EntityPropertyDialogAction(this, fViewer).run();
      fViewer.refresh();
    }
  }
View Full Code Here

        fSearchBar.getControl().setFocus();
      }
    });

    /* Properties */
    fViewSite.getActionBars().setGlobalActionHandler(ActionFactory.PROPERTIES.getId(), new EntityPropertyDialogAction(fViewSite, fViewer));

    /* Disable some Edit-Actions at first */
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.CUT.getId()).setEnabled(false);
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.COPY.getId()).setEnabled(false);
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.PASTE.getId()).setEnabled(false);
View Full Code Here

  private void onEdit() {
    showInfo();

    IStructuredSelection selection = (IStructuredSelection) fViewer.getSelection();
    if (!selection.isEmpty()) {
      new EntityPropertyDialogAction(this, fViewer).run();
      fViewer.refresh();
    }
  }
View Full Code Here

    /* Find (Eclipse Integration) */
    fViewSite.getActionBars().setGlobalActionHandler(ActionFactory.FIND.getId(), new FindAction());

    /* Properties */
    fViewSite.getActionBars().setGlobalActionHandler(ActionFactory.PROPERTIES.getId(), new EntityPropertyDialogAction(fViewSite, fViewer));

    /* Disable some Edit-Actions at first */
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.CUT.getId()).setEnabled(false);
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.COPY.getId()).setEnabled(false);
    fViewSite.getActionBars().getGlobalActionHandler(ActionFactory.PASTE.getId()).setEnabled(false);
View Full Code Here

TOP

Related Classes of org.rssowl.ui.internal.actions.EntityPropertyDialogAction

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.