Package org.eclipse.ui.actions

Examples of org.eclipse.ui.actions.CloseResourceAction


        // open
        // mOpenProjectAction = new OpenResourceAction(shell);
        mOpenProjectAction = new OpenResourceAction(shell);
       
        // close
        mCloseProjectAction = new CloseResourceAction(shell);
       
        // refresh
        mRefreshAction = new RefreshAction(shell);
       
        mRetargetRefreshAction = ActionFactory.REFRESH.create(window);
View Full Code Here


        // open
        // mOpenProjectAction = new OpenResourceAction(shell);
        mOpenProjectAction = new OpenResourceAction(shell);

        // close
        mCloseProjectAction = new CloseResourceAction(shell);

        // refresh
        mRefreshAction = new RefreshAction(shell);

        mRetargetRefreshAction = ActionFactory.REFRESH.create(window);
View Full Code Here

    fSite = part.getSite();
    Shell shell = fSite.getShell();
    ISelectionProvider provider = fSite.getSelectionProvider();
    ISelection selection = provider.getSelection();

    fCloseAction = new CloseResourceAction(shell);
    fCloseAction
        .setActionDefinitionId("org.eclipse.ui.project.closeProject"); //$NON-NLS-1$
    fOpenAction = new OpenProjectAction(fSite);
    fOpenAction.setActionDefinitionId("org.eclipse.ui.project.openProject"); //$NON-NLS-1$
    if (selection instanceof IStructuredSelection) {
View Full Code Here

TOP

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

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.