Package org.eclipse.ui.actions

Examples of org.eclipse.ui.actions.OpenResourceAction


        provider = selectionProvider;
        selectedElement = null;
        selectedClosedProjects = Sets.newHashSet();
        final IShellProvider shellProvider = (IShellProvider) site.getViewSite()
                .getAdapter(IShellProvider.class);
        openResourceAction = new OpenResourceAction(shellProvider);
    }
View Full Code Here


     */
    WorkspaceActionGroup(Shell shell, IWorkbenchWindow window)
    {
        // open
        // mOpenProjectAction = new OpenResourceAction(shell);
        mOpenProjectAction = new OpenResourceAction(shell);
       
        // close
        mCloseProjectAction = new CloseResourceAction(shell);
       
        // refresh
View Full Code Here

    @SuppressWarnings("deprecation")
    WorkspaceActionGroup(Shell shell, IWorkbenchWindow window)
    {
        // open
        // mOpenProjectAction = new OpenResourceAction(shell);
        mOpenProjectAction = new OpenResourceAction(shell);

        // close
        mCloseProjectAction = new CloseResourceAction(shell);

        // refresh
View Full Code Here

   * @param site
   *            the site providing context information for this action
   */
  public OpenProjectAction(IWorkbenchSite site) {
    super(site);
    fWorkbenchAction = new OpenResourceAction(site);
    setText(fWorkbenchAction.getText());
    setToolTipText(fWorkbenchAction.getToolTipText());
    setEnabled(hasCloseProjects());
    PlatformUI.getWorkbench().getHelpSystem().setHelp(this,
        IPHPHelpContextIds.PROJECT);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.actions.OpenResourceAction

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.