use of com.google.gerrit.client.editor.EditPreferencesBox in project gerrit by GerritCodeReview.
the class MyEditPreferencesScreen method onInitUI.
@Override
protected void onInitUI() {
super.onInitUI();
EditPreferencesBox pb = new EditPreferencesBox(null);
pb.set(EditPreferences.create(Gerrit.getEditPreferences()));
FlowPanel p = new FlowPanel();
p.setStyleName(pb.getStyle().dialog());
p.add(pb);
add(p);
}
Aggregations