Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dsl.provider cannot be resolved to a type
Dsl.provider cannot be resolved to a type [message #1016372] Wed, 06 March 2013 09:40 Go to next message
Günther Fiedler is currently offline Günther FiedlerFriend
Messages: 21
Registered: February 2013
Junior Member
Hello,

i´m trying to run my own Editor for Statemachines.

In the dsl.diagram.part package i have a class calles EmbDslDiagramEditorPlugin.

Following method is implemented:

protected void fillItemProviderFactories(List<AdapterFactory> factories) {
factories.add(newchrist.xtext.embedded.edsl.embDsl.provider.EmbDslItemProviderAdapterFactory());
factories.add(new ResourceItemProviderAdapterFactory());
factories.add(new ReflectiveItemProviderAdapterFactory());
}

The Error message:

christ.xtext.embedded.edsl.embDsl.provider cannot be resolved to a type


Can somebody pls help me to solve this Problem?

kind regards,
Günther

[Updated on: Wed, 06 March 2013 09:41]

Report message to a moderator

Re: Dsl.provider cannot be resolved to a type [message #1016416 is a reply to message #1016372] Wed, 06 March 2013 11:54 Go to previous messageGo to next message
Günther Fiedler is currently offline Günther FiedlerFriend
Messages: 21
Registered: February 2013
Junior Member
Hello again! Very Happy

I was able to fix this problem on my own, by just reloading the genmodel and generating the necessary code again.
Re: Dsl.provider cannot be resolved to a type [message #1016557 is a reply to message #1016416] Wed, 06 March 2013 22:18 Go to previous message
Andreas Muelder is currently offline Andreas MuelderFriend
Messages: 71
Registered: July 2011
Member
Hi Günther,

if you are interested in statemachines you should check out have a look at the open source project yakindu statechart tools.

It is an GMF based statechart editor that allows you to model harel statecharts, simulate them and generate Java and C code out of your models. Check out http://www.statecharts.org for more information.

Best regards,

Andreas
Previous Topic:Draw connection on attribute change
Next Topic:How to set the xmi:id in the generated XML based file
Goto Forum:
  


Current Time: Tue Nov 25 21:05:25 GMT 2014

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

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