[
https://issues.jboss.org/browse/TEIIDDES-505?page=com.atlassian.jira.plug...
]
Barry LaFond edited comment on TEIIDDES-505 at 2/16/13 4:52 PM:
----------------------------------------------------------------
It's fairly straight forward to add functionality to the Refactor Command to check the
workspace for VDBs containing the affected model. The biggest issues is dependencies since
org.teiid.designer.ui has no access to org.teiid.designer.vdb plugin which has classes and
methods to determine VDB content.
Designer does have a IRefactorModelHandler extension point. Probably add a method to
"pre-process" (i..e query the user) and return a boolean OK or NOT to
stop/cancel or continue the refactor and possible update the VDB to reflect the refactored
model.
was (Author: blafond):
It's fairly straight forward to add functionality to the Refactor Command to check
the workspace for VDBs containing the affected model. The biggest issues is dependencies
since org.teiid.designer.ui has no access to org.teiid.designer.vdb plugin which has
classes and methods to determine VDB content.
Refactored file is not reflected in VDB (no corresponding file in
workspace)
----------------------------------------------------------------------------
Key: TEIIDDES-505
URL:
https://issues.jboss.org/browse/TEIIDDES-505
Project: Teiid Designer
Issue Type: Bug
Components: Modeling, VDB & Execution
Affects Versions: 7.0
Environment: Fedora 12, JBDS 3.0.1, Teiid Designer 7 Final
Reporter: Paul Nittel
Assignee: Barry LaFond
Priority: Critical
Fix For: 8.1
I created a VDB which contained source and view models. I Refactor > Renamed one
virtual model. When I opened the VDB, the original file was present and, when the mouse
hovered over the file, this message was displayed, "This entry has no corresponding
file in the workspace".
I believe the VDB's contents should have been involved in the refactoring, just like
other files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira