Search in sources :

Example 1 with PropertyDescriptor

use of org.eclipse.ui.views.properties.PropertyDescriptor in project meclipse by flaper87.

the class DBObjectPropertySource method getPropertyDescriptors.

public IPropertyDescriptor[] getPropertyDescriptors() {
    IPropertyDescriptor[] returnVal = new IPropertyDescriptor[dbObj.keySet().size()];
    int counter = 0;
    for (String propKey : dbObj.keySet()) {
        returnVal[counter] = new PropertyDescriptor(propKey, propKey);
        counter++;
    }
    return returnVal;
}
Also used : PropertyDescriptor(org.eclipse.ui.views.properties.PropertyDescriptor) IPropertyDescriptor(org.eclipse.ui.views.properties.IPropertyDescriptor) IPropertyDescriptor(org.eclipse.ui.views.properties.IPropertyDescriptor)

Aggregations

IPropertyDescriptor (org.eclipse.ui.views.properties.IPropertyDescriptor)1 PropertyDescriptor (org.eclipse.ui.views.properties.PropertyDescriptor)1