- Common ways to obtain Composite
private void myMethod () {Composite c =
Control control;control.getParent()
StatusDialog zuper;(Composite) zuper.createDialogArea(parent)
TitleAreaDialog zuper;(Composite) zuper.createDialogArea(parent)
- Smart code suggestions by Codota
}
void removeControl (Control control) { if (control.hasFocus()) redrawWidget(view, true); fixTabList (control); }
@Override void redrawWidget (int x, int y, int width, int height, boolean redrawAll, boolean all, boolean trim) { boolean isFocus = caret != null && caret.isFocusCaret (); if (isFocus) caret.killFocus (); super.redrawWidget (x, y, width, height, redrawAll, all, trim); if (isFocus) caret.setFocus (); }
@Override void redrawWidget (int x, int y, int width, int height, boolean redrawAll, boolean all, boolean trim) { boolean isFocus = caret != null && caret.isFocusCaret (); if (isFocus) caret.killFocus (); super.redrawWidget (x, y, width, height, redrawAll, all, trim); if (isFocus) caret.setFocus (); }
@Override void redrawWidget (int x, int y, int width, int height, boolean redrawAll, boolean all, boolean trim) { boolean isFocus = caret != null && caret.isFocusCaret (); if (isFocus) caret.killFocus (); super.redrawWidget (x, y, width, height, redrawAll, all, trim); if (isFocus) caret.setFocus (); }