use of com.google.gerrit.client.diff.PreferencesBox in project gerrit by GerritCodeReview.
the class MyDiffPreferencesScreen method onInitUI.
@Override
protected void onInitUI() {
super.onInitUI();
PreferencesBox pb = new PreferencesBox(null);
pb.set(DiffPreferences.create(Gerrit.getDiffPreferences()));
FlowPanel p = new FlowPanel();
p.setStyleName(pb.getStyle().dialog());
p.add(pb);
add(p);
}
Aggregations