Bug 55827 [Contributions] Need to remove refs to Platform.getDebugOption from JFace
build I20040323 Standalone JFace applications are currently broken due to several refs to Platform.getDebugOption in JFace, which is only available if Eclipse is running. Should have static flags for the various debug options in JFace, and initialize them from the Workbench.
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarContributionItem.java
public ToolBarContributionItem(IToolBarManager toolBarManager) {
        this(toolBarManager, null);
    }
    /**
     * Creates a tool bar contribution item.
     * 
     * @param toolBarManager
     *            the tool bar manager to wrap
     * @param id
     *            the contribution item id, or <code>null</code> if none
     */
    public ToolBarContributionItem(IToolBarManager toolBarManager, String id) {
        super(id);
        Assert.isTrue(toolBarManager instanceof ToolBarManager);
        this.toolBarManager = (ToolBarManager) toolBarManager;
    }
    /**
     * Checks whether this contribution item has been disposed. If it has, and
     * the tracing options are active, then it prints some debugging
     * information.
     * 
     * @return <code>true</code> if the item is disposed; <code>false</code>
     *         otherwise.
     *  
     */
    private final boolean checkDisposed() {
        if (disposed) {
            if ("true".equalsIgnoreCase(Platform 
                    .getDebugOption("org.eclipse.jface/trace/toolbarDisposal"))) { 
                System.out