Examples of CollapseAllHandler


Examples of org.eclipse.ui.handlers.CollapseAllHandler

    activateHandler(IWorkbenchCommandConstants.EDIT_COPY, new CopyHandler(
        settings, getSite().getShell().getDisplay(), viewer));
    activateHandler(IWorkbenchCommandConstants.FILE_REFRESH,
        new RefreshSessionHandler(CoverageTools.getSessionManager()));
    activateHandler(IWorkbenchCommandConstants.NAVIGATE_COLLAPSE_ALL,
        new CollapseAllHandler(viewer));
    activateHandler(LinkWithSelectionHandler.ID, new LinkWithSelectionHandler(
        settings, selectiontracker));
  }
View Full Code Here

Examples of org.eclipse.ui.handlers.CollapseAllHandler

    activateHandler(IWorkbenchCommandConstants.EDIT_COPY,
        new CopyHandler(tree.getDisplay(), settings, labelprovider, viewer));
    activateHandler(IWorkbenchCommandConstants.FILE_REFRESH,
        new RefreshSessionHandler(CoverageTools.getSessionManager()));
    activateHandler(IWorkbenchCommandConstants.NAVIGATE_COLLAPSE_ALL,
        new CollapseAllHandler(viewer));
    activateHandler(LinkWithSelectionHandler.ID, new LinkWithSelectionHandler(
        settings, selectiontracker));
  }
View Full Code Here

Examples of org.eclipse.ui.handlers.CollapseAllHandler

    activateHandler(IWorkbenchCommandConstants.EDIT_COPY, new CopyHandler(
        settings, getSite().getShell().getDisplay(), viewer));
    activateHandler(IWorkbenchCommandConstants.FILE_REFRESH,
        new RefreshSessionHandler(CoverageTools.getSessionManager()));
    activateHandler(IWorkbenchCommandConstants.NAVIGATE_COLLAPSE_ALL,
        new CollapseAllHandler(viewer));
    activateHandler(LinkWithSelectionHandler.ID, new LinkWithSelectionHandler(
        settings, selectiontracker));
  }
View Full Code Here

Examples of org.eclipse.ui.handlers.CollapseAllHandler

    hookContextMenu();
    contributeToActionBars();

    // add collapse handler
    IHandlerService handlerService = (IHandlerService) getSite().getService(IHandlerService.class);
    collapseHandler = new CollapseAllHandler(getSelectionViewer());
    handlerService.activateHandler(CollapseAllHandler.COMMAND_ID, collapseHandler);

    // add DND support
    Transfer[] supportedTransfers = {LocalSelectionTransfer.getTransfer()};
    getSelectionViewer().addDragSupport(DND.DROP_DEFAULT | DND.DROP_COPY | DND.DROP_MOVE, supportedTransfers, new DragSourceAdapter() {
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.