コード例 #1
0
 private DefaultListChooserDialog.Builder buildAttributeTypeChooserDialogBuilder() {
   DefaultListChooserDialog.Builder builder = new DefaultListChooserDialog.Builder();
   builder.setTitleKey("ATTRIBUTE_TYPE_LIST_BROWSER_DIALOG.title");
   builder.setListBoxLabelKey("ATTRIBUTE_TYPE_LIST_BROWSER_DIALOG.listLabel");
   builder.setStringConverter(buildMWClassStringConverter());
   return builder;
 }
 private DefaultListChooserDialog.Builder buildViewChooserDialogBuilder() {
   DefaultListChooserDialog.Builder builder = new DefaultListChooserDialog.Builder();
   builder.setTitleKey("VIEW_CHOOSER_LIST_BROWSER_DIALOG.title");
   builder.setListBoxLabelKey("VIEW_CHOOSER_LIST_BROWSER_DIALOG.listLabel");
   builder.setStringConverter(buildTableStringConverter());
   return builder;
 }
 private DefaultListChooserDialog.Builder buildRelationTableChooserDialogBuilder() {
   DefaultListChooserDialog.Builder builder = new DefaultListChooserDialog.Builder();
   builder.setTitleKey("RELATION_TABLE_LIST_BROWSER_DIALOG.title");
   builder.setListBoxLabelKey("RELATION_TABLE_LIST_BROWSER_DIALOG.listLabel");
   builder.setStringConverter(buildTableStringConverter());
   return builder;
 }
コード例 #4
0
 private static DefaultListChooserDialog.Builder buildReferenceChooserDialogBuilder(
     ResourceRepository resourceRepository) {
   DefaultListChooserDialog.Builder builder = new DefaultListChooserDialog.Builder();
   builder.setTitleKey("REFERENCE_DESCRIPTOR_LIST_BROWSER_DIALOG.title");
   builder.setListBoxLabelKey("REFERENCE_DESCRIPTOR_LIST_BROWSER_DIALOG.listLabel");
   builder.setStringConverter(buildDescriptorStringConverter(resourceRepository));
   return builder;
 }