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
Deepak is currently offline DeepakFriend
Messages: 53
Registered: July 2009

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.


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

Current Time: Mon Apr 06 00:26:11 GMT 2020

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

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

Back to the top