@Test public void drawingOrderPlacement() { Control first = new GitItemUi( parent, item, DRAWING_ORDER_TOP, niceTime ).getControl(); Control second = new GitItemUi( parent, item, DRAWING_ORDER_SECOND, niceTime ).getControl(); Control third = gitItemUi.getControl(); Control fourth = new GitItemUi( parent, item, DRAWING_ORDER_BOTTOM, niceTime ).getControl(); assertThat( parent.getChildren() ).containsExactly( first, second, third, fourth ); }
@Override public Control getControl() { return control; }
GitItemUi implements SwtItemUi<GitItem> { @Override public Control getControl() { return control; } }
GitItemUi implements SwtItemUi<GitItem> { @Override public Control getControl() { return control; } GitItemUi( Composite parent, GitItem item, int index );   GitItemUi( Composite parent, GitItem item, int index, NiceTime niceTime ); }
GitItemUi implements SwtItemUi<GitItem> { @Override public Control getControl() { return control; } GitItemUi( Composite parent, GitItem item, int index );   GitItemUi( Composite parent, GitItem item, int index, NiceTime niceTime ); @Override Control getControl(); @Override void update(); }
GitItemUi implements SwtItemUi<GitItem> { @Override public Control getControl() { return control; } GitItemUi( Composite parent, GitItem item, int index );   GitItemUi( Composite parent, GitItem item, int index, NiceTime niceTime ); @Override Control getControl(); @Override void update();  }