Hello,
we create descendants of org.eclipse.jface.dialogs.Dialog, but on Linux minimize and maximize buttons are missing (these options in context menu are disabled).
The code in constructor:
public EditComponentDialog(Shell parentShell, ETLComponent component, EditComponentAction action) {
super(parentShell);
this.component = component;
this.action = action;
setShellStyle(getShellStyle() | SWT.MIN | SWT.MAX | SWT.RESIZE);
}
This dialog opens another dialog window:
public MultiLineTextEditorDialog(Shell parentShell, String dialogTitle, String initialValue, IInputValidator validator, boolean editable) {
super(parentShell);
setShellStyle(getShellStyle() | SWT.RESIZE | SWT.MAX);
.
.
.
}
The buttons are visible and works properly on Win as well as on Mac. The problem is only on my Ubuntu.