Thanks Thibault,

I tried it and the compiler gave me an access restriction error "Access 
restriction: The type NetworkPlugin is not accessible due to restriction 
on required project org.topcased.network.modeler"
Then I modified my preferences in the topcased configuration to avoid 
these errors, as told in this thread : 
http://lists.gforge.enseeiht.fr/pipermail/topcased-users/2008-August/002326.html

But now I get another error: "The method getId() is undefined for the type 
NetworkPlugin".
This error is located in the same files, in the getBundleId() function. 
This function did not exist in Topcased 1.3.0, but if I remove it I get 
another error "The type NetworkPreferencePage must implement the inherited 
abstract method AbstractTopcasedPreferencePage.getBundleId()". 

By the way, if I import the org.topcased.network.NetworkPlugin rather than 
the org.topcased.network.modeler.NetworkPlugin I get the same final error 
"The method getId() is undefined for the type NetworkPlugin" but without 
the Access restriction.

sincerley,
Clement Debret





Thibault LANDRE <thibault.lan...@atosorigin.com> 
14/01/2009 18:08
Veuillez répondre à
thibault.lan...@atosorigin.com


A
topcased-users@lists.gforge.enseeiht.fr
cc
clement.deb...@continental-corporation.com
Objet
Re: [Topcased-users] Topcased 1.3.0 to 2.3.0 network tutorial diagram 
generation error






Hi Clement,

I think some imports are missing.

Try to do an 'Organize Import' on your preferencePages (Right Clic > 
Source > Organize Import  OR Ctrl+Shift+O) and save.
Select the 'org.topcased.modeler.network.NetworkPlugin'

It will solve your problem.

I will update the generator to avoid this issue.

Best Regards,

Thibault

topcased-users@lists.gforge.enseeiht.fr a écrit :
> 
> Hello everyone,
> 
> I did the network tutorial supplied by Jacques LESCOT with the 1.3.0 
> version of Topcased and it works fine:
> 
http://topcased-mm.gforge.enseeiht.fr/website/modeling/tutorials/tutorialNetwork.html
 

> 
> 
> Then I imported the project in Topcased 2.3.0 to generate the plug-in 
> from this version, and I found errors that were absent in the 1.3.0.
> 
> The .ecore / .genmodel / .editorconfigurator are fine while validating / 

> generating. The .diagramconfigurator file is validated.
> 
> The issues appear while generating the .diagramconfigurator file, during 

> the imports organization. A pop up shows ambiguous references for 
> several java preference files (ComputerPreferencePage.java, 
> InternetPreferencePage.java, NetworkPreferencePage.java and 
> LinksPreferencePage.java).
> Finally there are errors in the problems window, 4 of them saying 
> "NetworkPlugin cannot be resolved" for each preference file, the others 
> apparently resulting from the 4 firsts.
> 
> I think that these errors are due to a location that has changed from 
> 1.3.0 to 2.3.0, and that the generator is missing.
> It may be in the .diagramconfigurator configuration, and I tried to 
> modify it but I cannot find exactly where it can be situated, and in a 
> result I got more "NetworkPlugin cannot be resolved" errors.
> 
> While trying to use the plug-in, the diagram is shown with a buggy view, 

> and the palette is hidden.
> 
> I would be glad if someone could help me with this problem.
> 
> Sincerley,
> Clement Debret
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Topcased-users mailing list
> Topcased-users@lists.gforge.enseeiht.fr
> http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Attachment: thibault.landre.vcf
Description: Binary data

_______________________________________________
Topcased-users mailing list
Topcased-users@lists.gforge.enseeiht.fr
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to