Home » Modeling » UML2 Tools » Properties/Parts with Ports
|
Re: Properties/Parts with Ports [message #473374 is a reply to message #473373] |
Mon, 10 March 2008 19:56 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hi Joel,
> - How can I draw parts/properties inside classes (not as a list).
Palette entry was mixed up here. I submitted #222108 'Allow to create elements
inside expanded Class'. So, first update your source code and after that:
Create Class, invoke 'Show as->Expanded Class' action. Create inner property
by using Attribute palette entry.
(Or Create Class, invoke _'Show as->Class3'_ action. Create inner property
by using _Class_ palette entry if you still use old sources.)
> - How can I show/draw ports on the parts/properties?
There are quite sophisticated rules here. Let's look at them in the context
of the given example.
These port are just one more presentation of the ports of typing classifier.
Look, there is a 'e' attribute inside Car class. 'p' port is shown on its
boundary, this p port is the same port that is located on boundary of Engine.
Engine is a typing classifier for 'e' property.
These ports are shown if there is a connector link going to them. It means,
that ConnectorEnd has 'partWithPort' referencing to appropriate property.
In our example there is a Connector from Car::rear to Engine::p, this Connector
referencing Car::e in its partWithPort property.
Bugzilla #209651 'Port on the boundary of Part' has some implementation
details. Note, #215245 'Refresh connector when PartWithPort changes' which
is still open.
Good luck,
Tatiana.
|
|
|
Re: Properties/Parts with Ports [message #473375 is a reply to message #473374] |
Tue, 11 March 2008 07:12 |
Joel Greenyer Messages: 170 Registered: July 2009 |
Senior Member |
|
|
Tatiana Fesenko wrote:
> Hi Joel,
>
>> - How can I draw parts/properties inside classes (not as a list).
> Palette entry was mixed up here. I submitted #222108 'Allow to create
> elements inside expanded Class'. So, first update your source code and
> after that:
> Create Class, invoke 'Show as->Expanded Class' action. Create inner
> property by using Attribute palette entry. (Or Create Class, invoke
> _'Show as->Class3'_ action. Create inner property by using _Class_
> palette entry if you still use old sources.)
>
>> - How can I show/draw ports on the parts/properties?
> There are quite sophisticated rules here. Let's look at them in the
> context of the given example. These port are just one more presentation
> of the ports of typing classifier. Look, there is a 'e' attribute inside
> Car class. 'p' port is shown on its boundary, this p port is the same
> port that is located on boundary of Engine. Engine is a typing
> classifier for 'e' property.
> These ports are shown if there is a connector link going to them. It
> means, that ConnectorEnd has 'partWithPort' referencing to appropriate
> property. In our example there is a Connector from Car::rear to
> Engine::p, this Connector referencing Car::e in its partWithPort
> property. Bugzilla #209651 'Port on the boundary of Part' has some
> implementation details. Note, #215245 'Refresh connector when
> PartWithPort changes' which is still open.
> Good luck,
> Tatiana.
>
Tatiana,
I actually think that by default all ports from the classifier should be shown on the borders of the parts of this type.
At least there should be some context menu way to "make them appear" so that the parts can be connected the way you want
to connect them.
Thanks for helping
Joel
|
|
| | |
Re: Properties/Parts with Ports [message #618483 is a reply to message #473373] |
Mon, 10 March 2008 19:56 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Hi Joel,
> - How can I draw parts/properties inside classes (not as a list).
Palette entry was mixed up here. I submitted #222108 'Allow to create elements
inside expanded Class'. So, first update your source code and after that:
Create Class, invoke 'Show as->Expanded Class' action. Create inner property
by using Attribute palette entry.
(Or Create Class, invoke _'Show as->Class3'_ action. Create inner property
by using _Class_ palette entry if you still use old sources.)
> - How can I show/draw ports on the parts/properties?
There are quite sophisticated rules here. Let's look at them in the context
of the given example.
These port are just one more presentation of the ports of typing classifier.
Look, there is a 'e' attribute inside Car class. 'p' port is shown on its
boundary, this p port is the same port that is located on boundary of Engine.
Engine is a typing classifier for 'e' property.
These ports are shown if there is a connector link going to them. It means,
that ConnectorEnd has 'partWithPort' referencing to appropriate property.
In our example there is a Connector from Car::rear to Engine::p, this Connector
referencing Car::e in its partWithPort property.
Bugzilla #209651 'Port on the boundary of Part' has some implementation
details. Note, #215245 'Refresh connector when PartWithPort changes' which
is still open.
Good luck,
Tatiana.
|
|
|
Re: Properties/Parts with Ports [message #618486 is a reply to message #473374] |
Tue, 11 March 2008 07:12 |
Joel Greenyer Messages: 170 Registered: July 2009 |
Senior Member |
|
|
Tatiana Fesenko wrote:
> Hi Joel,
>
>> - How can I draw parts/properties inside classes (not as a list).
> Palette entry was mixed up here. I submitted #222108 'Allow to create
> elements inside expanded Class'. So, first update your source code and
> after that:
> Create Class, invoke 'Show as->Expanded Class' action. Create inner
> property by using Attribute palette entry. (Or Create Class, invoke
> _'Show as->Class3'_ action. Create inner property by using _Class_
> palette entry if you still use old sources.)
>
>> - How can I show/draw ports on the parts/properties?
> There are quite sophisticated rules here. Let's look at them in the
> context of the given example. These port are just one more presentation
> of the ports of typing classifier. Look, there is a 'e' attribute inside
> Car class. 'p' port is shown on its boundary, this p port is the same
> port that is located on boundary of Engine. Engine is a typing
> classifier for 'e' property.
> These ports are shown if there is a connector link going to them. It
> means, that ConnectorEnd has 'partWithPort' referencing to appropriate
> property. In our example there is a Connector from Car::rear to
> Engine::p, this Connector referencing Car::e in its partWithPort
> property. Bugzilla #209651 'Port on the boundary of Part' has some
> implementation details. Note, #215245 'Refresh connector when
> PartWithPort changes' which is still open.
> Good luck,
> Tatiana.
>
Tatiana,
I actually think that by default all ports from the classifier should be shown on the borders of the parts of this type.
At least there should be some context menu way to "make them appear" so that the parts can be connected the way you want
to connect them.
Thanks for helping
Joel
|
|
| | |
Goto Forum:
Current Time: Sat Apr 20 03:06:17 GMT 2024
Powered by FUDForum. Page generated in 0.03440 seconds
|