use of org.eclipse.wb.internal.rcp.databinding.ui.contentproviders.CheckedElementsUiContentProvider in project windowbuilder by eclipse.
the class CheckedElementsObservableInfo method createContentProviders.
// //////////////////////////////////////////////////////////////////////////
//
// Editing
//
// //////////////////////////////////////////////////////////////////////////
@Override
public void createContentProviders(List<IUiContentProvider> providers, BindingUiContentProviderContext context, DatabindingsProvider provider) throws Exception {
super.createContentProviders(providers, context, provider);
//
ChooseClassConfiguration configuration = new ChooseClassConfiguration();
configuration.setDialogFieldLabel(Messages.CheckedElementsObservableInfo_label);
configuration.setValueScope("beans");
configuration.setChooseInterfaces(true);
configuration.setEmptyClassErrorMessage(MessageFormat.format(Messages.CheckedElementsObservableInfo_emptyMessage, context.getDirection()));
configuration.setErrorMessagePrefix(MessageFormat.format(Messages.CheckedElementsObservableInfo_errorPrefix, context.getDirection()));
//
providers.add(new CheckedElementsUiContentProvider(configuration, this, provider));
}
Aggregations