Bug 240559 - Either remove or correct NotationViewDependentsAdvice/RemoveBookmarksAdvice registration
Summary: Either remove or correct NotationViewDependentsAdvice/RemoveBookmarksAdvice r...
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---   Edit
Assignee: Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-12 08:08 EDT by Alex Shatalin CLA
Modified: 2010-07-19 21:58 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 Alex Shatalin CLA 2008-07-12 08:08:46 EDT
Following two edit helper advices are registered inside org.eclipse.gmf.runtime.diagram.core plugin:

<extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
   <metamodel nsURI="http://www.eclipse.org/emf/2002/Ecore">
      <adviceBinding
         class="org.eclipse.gmf.runtime.diagram.core.edithelpers.NotationViewDependentsAdvice"
         id="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"
         inheritance="none"
         typeId="*"/>
      <adviceBinding
         class="org.eclipse.gmf.runtime.diagram.core.edithelpers.RemoveBookmarksAdvice"
         id="org.eclipse.gmf.runtime.diagram.core.advice.removeBookmarks"
         inheritance="none"
         typeId="*"/>
   </metamodel>
</extension>

AFAIU both advices are registered for any elementTypes attached to "http://www.eclipse.org/emf/2002/Ecore" metamodel. The question is: why corresponding two advices are registered for this particular metamodel? We should either register these advices for all generated diargams (+metamodels) or remove this registration.

AFAIKSee both advices are rather geenric, so not sure which option should we follow.
Comment 1 Eclipse Webmaster CLA 2010-07-19 21:58:18 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug