Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Why is a Port always owned by a Component?
Why is a Port always owned by a Component? [message #478131] Wed, 21 January 2009 11:19 Go to next message
Waqas is currently offline WaqasFriend
Messages: 32
Registered: July 2009
Member
Hi,

I am working to create a UML profile that contains several specialized
components, connectors and ports (yes they are stereotypes created in a
Profile). The plan is to apply the profile in a model and then let the end
user decide which port stereotype to be applied on a component. The
problem is that i can not create a standalone port stereotype. At the
moment, i can create a port as 'ownedPort' for a component only. Is it a
UML restriction? How can i create a Profile that lets the user create a
'Input' stereotype for a Port and then let the end-user decide to which
Component this 'Input' port should belong to.

Thanks
Waqas
Re: Why is a Port always owned by a Component? [message #478132 is a reply to message #478131] Wed, 21 January 2009 12:45 Go to previous messageGo to next message
Waqas is currently offline WaqasFriend
Messages: 32
Registered: July 2009
Member
-- same question with some correction

I am working to create a UML profile that contains several specialized
components, connectors and ports (yes they are stereotypes created in a
Profile). The plan is to apply the profile in a model and then let the end
user decide which port to be attached to a component. The problem is that
i can not create a standalone port stereotype. At the moment, i can create
a port as 'ownedPort' for a component only. Is it a UML restriction? How
can i create a standalone Port stereotype in a Profile?

Thanks
Waqas
Re: Why is a Port always owned by a Component? [message #478134 is a reply to message #478132] Wed, 21 January 2009 22:26 Go to previous message
Waqas is currently offline WaqasFriend
Messages: 32
Registered: July 2009
Member
Please ignore this question. I have solved the problem. It was my problem
in understanding the working of UML profiles in Eclipse. It is working
perfect now. By the way, how can i delete a posted question like this one?
Re: Why is a Port always owned by a Component? [message #627338 is a reply to message #478131] Wed, 21 January 2009 12:45 Go to previous message
Waqas is currently offline WaqasFriend
Messages: 32
Registered: July 2009
Member
-- same question with some correction

I am working to create a UML profile that contains several specialized
components, connectors and ports (yes they are stereotypes created in a
Profile). The plan is to apply the profile in a model and then let the end
user decide which port to be attached to a component. The problem is that
i can not create a standalone port stereotype. At the moment, i can create
a port as 'ownedPort' for a component only. Is it a UML restriction? How
can i create a standalone Port stereotype in a Profile?

Thanks
Waqas
Re: Why is a Port always owned by a Component? [message #627340 is a reply to message #478132] Wed, 21 January 2009 22:26 Go to previous message
Waqas is currently offline WaqasFriend
Messages: 32
Registered: July 2009
Member
Please ignore this question. I have solved the problem. It was my problem
in understanding the working of UML profiles in Eclipse. It is working
perfect now. By the way, how can i delete a posted question like this one?
Previous Topic:[Announce] MDT UML2 3.0.0 I200901211303 is available
Next Topic:Middleweight UML extension: creating specific Operations
Goto Forum:
  


Current Time: Fri Apr 26 14:42:34 GMT 2024

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

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

Back to the top