Search in sources :

Example 6 with ITagsProperty

use of com.twinsoft.convertigo.beans.core.ITagsProperty in project convertigo by convertigo.

the class MobileSmartSourceTypeCellEditor method getTags.

private String[] getTags() {
    if (databaseObjectTreeObject != null && propertyDescriptor != null) {
        String propertyName = (String) propertyDescriptor.getId();
        DatabaseObject bean = (DatabaseObject) databaseObjectTreeObject.getObject();
        if (bean instanceof ITagsProperty) {
            return ((ITagsProperty) bean).getTagsForProperty(propertyName);
        }
    }
    return new String[] { "" };
}
Also used : ITagsProperty(com.twinsoft.convertigo.beans.core.ITagsProperty) DatabaseObject(com.twinsoft.convertigo.beans.core.DatabaseObject)

Aggregations

DatabaseObject (com.twinsoft.convertigo.beans.core.DatabaseObject)6 ITagsProperty (com.twinsoft.convertigo.beans.core.ITagsProperty)6