Bug 499740 - EMF model connector should be decoupled from Query Explorer
Summary: EMF model connector should be decoupled from Query Explorer
Status: RESOLVED FIXED
Alias: None
Product: Viatra
Classification: Modeling
Component: Query (show other bugs)
Version: 1.4.0   Edit
Hardware: PC Windows NT
: P3 normal
Target Milestone: 1.4.0M2   Edit
Assignee: Abel Hegedus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 499995
  Show dependency tree
 
Reported: 2016-08-16 08:24 EDT by Abel Hegedus CLA
Modified: 2016-08-23 04:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abel Hegedus CLA 2016-08-16 08:24:53 EDT
The EMFModelConnector that is the superclass of many IModelConnector implementations is tightly coupled with the Query Explorer, however it is also used in the Query Results view to reuse model loading functionality.

The EMFModelConnector internal implementation should be modified in the following:
- all code that uses QueryExplorer.getInstance() should instead send notifications to a set of listeners
- both Query Explorer and Query Results view should register itself as a listener
Comment 1 Eclipse Genie CLA 2016-08-19 04:37:03 EDT
New Gerrit change created: https://git.eclipse.org/r/79322
Comment 3 Abel Hegedus CLA 2016-08-23 04:19:51 EDT
Fixed in master.