Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Plugin-transformation diagram layout problem
Plugin-transformation diagram layout problem [message #604282] Wed, 20 January 2010 08:22
Marco  is currently offline Marco Friend
Messages: 4
Registered: January 2010
Junior Member
When trying to layout a diagram using the following code in a plugin-transformation project I get an error. I used the following code:

public Object createTarget(ITransformContext ruleContext) {
Package sourcePack = (Package) ruleContext.getSource();
List<Diagram> diagrams = UMLModeler.getUMLDiagramHelper().getDiagrams(sourcePack);
for(Diagram diagram : diagrams){
UMLModeler.getUMLDiagramHelper().layoutNodes(diagram.getChil dren(), LayoutType.RADIAL);
return sourcePack;

Any idea what might be wrong?
Previous Topic:Plugin-transformation diagram layout problem
Next Topic:Relation to Equinox
Goto Forum:

Current Time: Fri Jun 18 19:31:10 GMT 2021

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

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

Back to the top