[
https://issues.jboss.org/browse/TEIIDDES-945?page=com.atlassian.jira.plug...
]
Barry LaFond commented on TEIIDDES-945:
---------------------------------------
In ModelExtensionLabelProvider.decorate() method you could add something like the
following to show users the object has existing extension metadata (properties)
if( element instanceof IResource && !(element instanceof IFolder)
&& !(element instanceof IProject) ) {
if( ModelObjectAnnotationHelper.hasExtensionProperties(element) ) {
decoration.addOverlay(UiPlugin.getDefault().getExtensionDecoratorImage(),
IDecoration.TOP_LEFT);
}
}
Add generic extension metadata handling
---------------------------------------
Key: TEIIDDES-945
URL:
https://issues.jboss.org/browse/TEIIDDES-945
Project: Teiid Designer
Issue Type: Feature Request
Components: Modeling
Affects Versions: 7.4
Reporter: Steven Hawkins
Assignee: Ted Jones
Priority: Critical
Fix For: 7.4
Attachments: addnewextendedproperties.png, extendedproperties.png
Relational models in particular would benefit from the ability to add/edit/remove name
value pairs on all indexable records that can have extension metadata. This includes
things like tables/procedures/columns and excludes schemas/catalogs.
The name value pairs should appear in the index file just like an actual extension
property.
No validation is needed on either the keys or the values at this time.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira