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
if (toolBarManager.getContextMenuManager() == null) {
                        handleContextMenu(event);
                    }
                }
            });
            
            if (getUseChevron()) {
                
                coolItem.addSelectionListener(new SelectionAdapter() {
                    public void widgetSelected(SelectionEvent event) {
                        if (event.detail == SWT.ARROW) {
                            handleChevron(event);
                        }
                    }
                });
            }
            
            coolItem.addDisposeListener(new DisposeListener() {
                public void widgetDisposed(DisposeEvent event) {
                    handleWidgetDispose(event);
                }
            });
            
            updateSize(true);
        }
    }
    /**
     * Returns a consistent set of wrap indices. The return value will always