org.eclipse.ui.views.properties.ComboBoxPropertyDescriptor Java Examples

The following examples show how to use org.eclipse.ui.views.properties.ComboBoxPropertyDescriptor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ERDiagramPropertySource.java    From erflute with Apache License 2.0 5 votes vote down vote up
@Override
public IPropertyDescriptor[] getPropertyDescriptors() {
    final List<String> dbList = DBManagerFactory.getAllDBList();

    return new IPropertyDescriptor[] { new ComboBoxPropertyDescriptor("database", DisplayMessages.getMessage("label.database"),
            dbList.toArray(new String[dbList.size()])) };
}
 
Example #2
Source File: ERDiagramPropertySource.java    From ermaster-b with Apache License 2.0 5 votes vote down vote up
public IPropertyDescriptor[] getPropertyDescriptors() {
	List<String> dbList = DBManagerFactory.getAllDBList();

	return new IPropertyDescriptor[] { new ComboBoxPropertyDescriptor(
			"database", ResourceString.getResourceString("label.database"),
			dbList.toArray(new String[dbList.size()])) };
}
 
Example #3
Source File: ERDiagramPropertySource.java    From ermasterr with Apache License 2.0 4 votes vote down vote up
@Override
public IPropertyDescriptor[] getPropertyDescriptors() {
    final List<String> dbList = DBManagerFactory.getAllDBList();

    return new IPropertyDescriptor[] {new ComboBoxPropertyDescriptor("database", ResourceString.getResourceString("label.database"), dbList.toArray(new String[dbList.size()]))};
}