Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » getting all attributes
getting all attributes [message #508958] Wed, 20 January 2010 21:03
Randi  is currently offline Randi Friend
Messages: 31
Registered: November 2009
Member
Hello all,

What I want to do is loading an uml model(as xmi) with different kind of diagrams eg a classdiagram and a sequencediagram and printout all the elements and there attributes. Loading the xmi is OK , but when I can get all the elements from a classdiagram , but when I want to get all the elements of a sequencediagram, only the name of the diagam popsup. I use in my code for getting the types
//snippet


Type type

if( type instanceof Classifier )
//snippet

But it seems that for a sequencediagram(collaboration) it is not an instance of Classifier? Can anyone give me some advice to get all the elements and attributes (eg isLeaf) from a sequencediagram ?

Many thanks.
Previous Topic:Loading a UML2 model exported with MagicDraw along with profiles
Next Topic:getting all attributes
Goto Forum:
  


Current Time: Tue Apr 23 07:28:51 GMT 2024

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

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

Back to the top