Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » compartment name method
compartment name method [message #198959] Fri, 25 July 2008 12:08 Go to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
I have defined a compartment in .gengraph,and set the 'Need title'
false.But inside the generated xxxcompartmentEditPart code there is the
following code,
* @generated
public String getCompartmentName() {
return Messages.NetworkCanalsObjectCompartmentEditPart_title;
the error said the 'Messages.NetworkCanalsObjectCompartmentEditPart_title'
can't be resolved.
In the corresponding EditPolicy code,one method
'getSemanticChildrenList()'is reported error
'getNetworkCanalsObjectCompartment_5002SemanticChildren()'is undefined for
the type xxxDiagramUpdater.
protected List getSemanticChildrenList() {
View viewObject = (View) getHost().getModel();
List result = new LinkedList();
for (Iterator it = CanalsDiagramUpdater
viewObject).iterator(); it.hasNext();) {
return result;

How to solve this?

Many thanks!

Re: compartment name method [message #199097 is a reply to message #198959] Mon, 28 July 2008 09:38 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Ye,

Look like you have some classes wich was generated befor and are not generated
anymore from the current .gmfgen model. Can you please delete whole diagramming
plugin and regenerate it from the scratch?

Alex Shatalin
Previous Topic:abnomal editor
Next Topic:Open generated XML (from EMF/GMF) again
Goto Forum:

Current Time: Tue May 18 12:10:42 GMT 2021

Powered by FUDForum. Page generated in 0.01638 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top