Did you both create an *.editorconfigurator file and an *.diagramconfigurator file ?

Geib, Mark a écrit :
I have no diagram related classes. I have tried both generating in the same plugin and a separate plugin. I don't think the diagram generation is working...

I believe I have a very simple config. I downloaded the 1.2.0 rcp and unzipped to a testing directory. I then create a new, empty workspace to use for testing. I have no other projects in the workspace and am running the topcased rcp, not an eclipse install with the topcased plugins.

Thanks,
Mark.


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Jacques LESCOT
Sent: Fri 4/11/2008 10:37 AM
To: [email protected]
Subject: Re: [Topcased-users] topcased 1.2.0 rcp code generation problem
 
You can choose to generate the diagram in the same plugin as the editor (the generated class files are contained in a *diagram package, and you have a pluginToMerge.xml file), or not (it is generated in a new plugin). Do you have any plugins in your workspace that are also installed in your Eclipse environment ? I sometimes notice that this could result in bad import organization ...

Geib, Mark a écrit : 

	Removed the .JETxxx project and regenerated both the editor and diagram with no change. When I turned on the organize imports the diagram generation failed.
	
	I got it to compile by making these change...
	
	import org.eclipse.jface.resource.ImageDescriptor;
	//import org.eclipse.jface.resource.ImageRegistry;
	import org.topcased.modeler.ImageRegistry;
	import org.eclipse.swt.graphics.Image;
	
	What file or files should the diagram generator generate...I don't see any changes after a generation.
	
	Mark.
	
	
	-----Original Message-----
	From: [EMAIL PROTECTED] on behalf of Jacques LESCOT
	Sent: Fri 4/11/2008 9:52 AM
	To: [email protected]
	Subject: Re: [Topcased-users] topcased 1.2.0 rcp code generation problem
	 
	No, the ImageRegistry you are refering should be the one defined in the org.topcased.modeler plugin.
	
	It seems that you have some problems in your workspace configuration :
	- do you have imported some projects (from Topcased or EMF) in your workspace ?
	- I suggest you to delete the .JETEmittersDiagram and .JETEmittersEditor projects (show hidden files in the navigator if you do not see this project) and try to generate again (try to enable the "organizeImport" property), this should remove the errors under these project.
	
	Regards,
	Jacques
	
	Geib, Mark a écrit : 
	
		I am following the network editor turtorial with topcased 1.2.0 rcp.
		
		I have all the modeling down and now the editor and diagram both generate, but the code generated will not compile. As an example the code the xxxImageRegistery make a call to ImageRegistery.getInstance() and this fails with the method getInstance() not found. This Class is in jface I believe.
		
		Also, I looked in the .log file and find
		
		!ENTRY org.topcased.modeler.generator 4 0 2008-04-11 09:09:00.000
		!MESSAGE Validation problem : a problem occured during the diagram configuration validation.
		
		
		but nothing else. And I get no error popup during diagram generation.
		
		Thanks,
		Mark.
		  
		
		
	________________________________
	
	
		_______________________________________________
		Topcased-users mailing list
		[email protected]
		http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
	
	
	  
	
	
________________________________


	_______________________________________________
	Topcased-users mailing list
	[email protected]
	http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users


  

_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

-- 
Jacques LESCOT
Solutions et Technologies
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 06 60
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com
_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to