Search in sources :

Example 1 with EditPreferencesBox

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);
}
Also used : EditPreferencesBox(com.google.gerrit.client.editor.EditPreferencesBox) FlowPanel(com.google.gwt.user.client.ui.FlowPanel)

Aggregations

EditPreferencesBox (com.google.gerrit.client.editor.EditPreferencesBox)1 FlowPanel (com.google.gwt.user.client.ui.FlowPanel)1