Examples of IToolBarManager


Examples of org.eclipse.jface.action.IToolBarManager

    private void setupToolbar() {

        // toolbars
        IActionBars bars = getViewSite().getActionBars();
        IToolBarManager tbm = bars.getToolBarManager();

        // add actions to the bar
        tbm.add(addParticipantAction);
        tbm.add(removeParticipantAction);

        tbm.add(new Separator());

        tbm.add(sortAction);
        tbm.add(autoSortAction);

        tbm.add(new Separator());

        tbm.add(clearEncounterAction);
    }
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.