public void run() {
PreferenceManager mgr = new PreferenceManager();
PreferenceDialog dlg = new PreferenceDialog(null, mgr);
PreferenceNode node = new PreferenceNode("Gateway Client",
new WorkbenchPreferencePage("Gateway Client"));
mgr.addToRoot(node);
dlg.open();
}