Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Middleweight UML extension: creating specific Operations
Middleweight UML extension: creating specific Operations [message #627333] Mon, 19 January 2009 08:44
Eclipse UserFriend
Hello,

I am doing UML middleweight extension and I want to create a specific
UML operation for one of my classes.

That specific operation should have one Boolean parameter as input.

So I created within the UML editor a <<metaclass>> <Class> TestClass
which is a subclass of uml:Class.
I created a nested classifier <<metaclass>> <Class> testOp which is a
sublcass of uml:Operation.

Finally I added a nested classifier <<metaclass>> <Class> testParameter
which is a subclass of uml:Parameter.

But I can't set the direction and the type of testParameter. So how can
I set the set the constraint (the input parameter must be Boolean) for
the parameter ?

If I create a model instance of my metamodel, the "testOp" operation
won't show any braces in the generated editor. How can I add braces so
that one can distinguish between extended classes and extended
operations more easily.


Regards,


Deepak
Previous Topic:How to add comments for any Model Object
Next Topic:UML meta-levels mapping in Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 16:49:58 GMT 2024

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

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

Back to the top