243244245246247248249250251252253
PreferenceManager mgr = new PreferenceManager(); PreferenceDialog dlg = new PreferenceDialog(null, mgr); PreferenceNode node = new PreferenceNode("REGISTRY_CLIENT", new WorkbenchPreferencePage("Registry Client")); mgr.addToRoot(node); dlg.open(); }
242526272829303132
Composite composite = new Composite(parent, SWT.NONE); GridLayout layout = new GridLayout(); layout.numColumns = 2; composite.setLayout(layout); WorkbenchPreferencePage page = new WorkbenchPreferencePage("Registry settings"); }