コード例 #1
0
 public void renderChanges(final Widget widget) throws IOException {
   Tree tree = (Tree) widget;
   ControlLCAUtil.writeChanges(tree);
   updateSelectionListener(tree);
   writeHeaderHeight(tree);
   writeHeaderVisible(tree);
   writeColumnOrder(tree);
   writeScrollLeft(tree);
   writeOverflow(tree);
   WidgetLCAUtil.writeCustomVariant(tree);
 }
コード例 #2
0
 public void renderChanges(final Widget widget) throws IOException {
   ScrolledComposite composite = (ScrolledComposite) widget;
   ControlLCAUtil.writeChanges(composite);
   writeClipBounds(composite);
   // TODO [rh] initial positioning of the client-side scroll bar does not work
   writeBarSelection(composite);
   // [if] Order is important: writeScrollBars after writeBarSelection
   writeScrollBars(composite);
   writeSelectionListener(composite);
   writeShowFocusedControl(composite);
   WidgetLCAUtil.writeCustomVariant(composite);
 }
コード例 #3
0
 public void renderChanges(final Widget widget) throws IOException {
   Shell shell = (Shell) widget;
   writeImage(shell);
   writeText(shell);
   writeAlpha(shell);
   // Important: Order matters, writing setActive() before open() leads to
   //            strange behavior!
   writeOpen(shell);
   writeActiveShell(shell);
   // Important: Order matters, write setMode() after open() and before
   // setBounds() - see bug 302224
   writeMode(shell);
   writeFullScreen(shell);
   writeCloseListener(shell);
   writeMinimumSize(shell);
   writeDefaultButton(shell);
   ControlLCAUtil.writeChanges(shell);
   WidgetLCAUtil.writeCustomVariant(shell);
 }