public MutableMultipleChoiceFieldEditor(IWidgetSettings settings) {
   super(settings);
   bar.setCommands(commands);
   bar.getLayout().direction = SWT.VERTICAL;
   bar.getLayout().setMargins(0, 0, 0, 0);
   bar.addCommandBarListener(this);
   bar.setWidgetSettings(settings);
 }
 protected String changePressed() {
   if (change == null) return null;
   Properties p = new Properties();
   p.put("shell", bar.getControl().getShell()); // $NON-NLS-1$
   change.setObject(p);
   int i = change.execute();
   if (i != 0) return null;
   return p.getProperty("value"); // $NON-NLS-1$
 }
 protected Control getChangeControl(Composite parent) {
   if (bar.getControl() != null && !bar.getControl().isDisposed()) {
     return bar.getControl();
   }
   return bar.createControl(parent);
 }