Home » Modeling » UML2 » Stereotypes parameters
|
Re: Stereotypes parameters [message #477973 is a reply to message #477972] |
Sat, 15 November 2008 15:15 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Mauro,
By "parameter" do you mean that the stereotype has a *property* of type
uml::Operation? (i.e., an association to the Operation metaclass)
This feature is supported by the UML editor. You should get a drop-down
list from which to select any existing operation in the resource set (if
it is a single-valued property) or a dialog from which to select
existing operations (if it is a multi-valued property).
Perhaps you can share details of the stereotype definition in your
profile (a snippet of the XMI would be most handy)? Likely we would be
able to see what the problem is ...
Cheers,
Christian
Mauro wrote:
> I defined a stereotype with a parameter of type uml::Operation
> The problem is that when I apply the stereotype it seems impossible to fill
> the parameter value in the property view...
>
> Is this feature supported by the uml editor?
>
> thanks
> Mauro
|
|
| | |
Re: Stereotypes parameters [message #477980 is a reply to message #477979] |
Mon, 17 November 2008 11:04 |
Mauro Messages: 79 Registered: July 2009 |
Member |
|
|
Kenn Hussey wrote:
> Do you have a large number of operations in your resource set? We have
> received similar complaints in the past, but have been unable to reproduce
> the problem (since the list should simply be scrollable)...
yes the list is very very long, some resources have a very long name and I
think that the size of the menu is based on the longest wich are
<Operation> Create Association (End 1 Is Navigable : Boolean, End 1
Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower : Integer,
End 1 Upper : Unlimited Natural, End 1 Type : Type, End 2 Is Navigable :
Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
Lower : Integer, End 2 Upper : Unlimited Natural) : Association
<Operation> Create Communication Path (End 1 Is Navigable : Boolean, End 1
Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower : Integer,
End 1 Upper : Unlimited Natural, End 1 Node : Node, End 2 Is Navigable :
Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
Lower : Integer, End 2 Upper : Unlimited Natural) : Communication Path
Mauro
|
|
|
Re: Stereotypes parameters [message #477982 is a reply to message #477980] |
Mon, 17 November 2008 14:35 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Mauro,
Please raise a defect on that with a small example to reproduce the issue
and it will be addressed.
Cheers,
- James.
"Mauro" <mauro@bglug.it> wrote in message
news:gfrfn2$mnv$1@build.eclipse.org...
> Kenn Hussey wrote:
>> Do you have a large number of operations in your resource set? We have
>> received similar complaints in the past, but have been unable to
>> reproduce
>> the problem (since the list should simply be scrollable)...
>
> yes the list is very very long, some resources have a very long name and I
> think that the size of the menu is based on the longest wich are
>
> <Operation> Create Association (End 1 Is Navigable : Boolean, End 1
> Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower :
> Integer,
> End 1 Upper : Unlimited Natural, End 1 Type : Type, End 2 Is Navigable :
> Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
> Lower : Integer, End 2 Upper : Unlimited Natural) : Association
>
> <Operation> Create Communication Path (End 1 Is Navigable : Boolean, End 1
> Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower :
> Integer,
> End 1 Upper : Unlimited Natural, End 1 Node : Node, End 2 Is Navigable :
> Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
> Lower : Integer, End 2 Upper : Unlimited Natural) : Communication Path
>
> Mauro
|
|
| | |
Re: Stereotypes parameters [message #477990 is a reply to message #477988] |
Wed, 19 November 2008 17:00 |
mauro Messages: 9 Registered: July 2009 |
Junior Member |
|
|
James Bruck wrote:
> Below when you ask ".. is it normal to have *those* operations ..."
> which operations are you referring to exactly?
the very long 2 I mentioned before:
<Operation> Create Association (End 1 Is Navigable : Boolean, End 1
Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower : Integer,
End 1 Upper : Unlimited Natural, End 1 Type : Type, End 2 Is Navigable :
Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
Lower : Integer, End 2 Upper : Unlimited Natural) : Association
<Operation> Create Communication Path (End 1 Is Navigable : Boolean, End 1
Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower : Integer,
End 1 Upper : Unlimited Natural, End 1 Node : Node, End 2 Is Navigable :
Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
Lower : Integer, End 2 Upper : Unlimited Natural) : Communication Path
I think they are the cause of the wide menu!!
Mauro
|
|
| |
Re: Stereotypes parameters [message #627190 is a reply to message #477972] |
Sat, 15 November 2008 15:15 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Mauro,
By "parameter" do you mean that the stereotype has a *property* of type
uml::Operation? (i.e., an association to the Operation metaclass)
This feature is supported by the UML editor. You should get a drop-down
list from which to select any existing operation in the resource set (if
it is a single-valued property) or a dialog from which to select
existing operations (if it is a multi-valued property).
Perhaps you can share details of the stereotype definition in your
profile (a snippet of the XMI would be most handy)? Likely we would be
able to see what the problem is ...
Cheers,
Christian
Mauro wrote:
> I defined a stereotype with a parameter of type uml::Operation
> The problem is that when I apply the stereotype it seems impossible to fill
> the parameter value in the property view...
>
> Is this feature supported by the uml editor?
>
> thanks
> Mauro
|
|
| | |
Re: Stereotypes parameters [message #627197 is a reply to message #477979] |
Mon, 17 November 2008 11:04 |
Mauro Messages: 79 Registered: July 2009 |
Member |
|
|
Kenn Hussey wrote:
> Do you have a large number of operations in your resource set? We have
> received similar complaints in the past, but have been unable to reproduce
> the problem (since the list should simply be scrollable)...
yes the list is very very long, some resources have a very long name and I
think that the size of the menu is based on the longest wich are
<Operation> Create Association (End 1 Is Navigable : Boolean, End 1
Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower : Integer,
End 1 Upper : Unlimited Natural, End 1 Type : Type, End 2 Is Navigable :
Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
Lower : Integer, End 2 Upper : Unlimited Natural) : Association
<Operation> Create Communication Path (End 1 Is Navigable : Boolean, End 1
Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower : Integer,
End 1 Upper : Unlimited Natural, End 1 Node : Node, End 2 Is Navigable :
Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
Lower : Integer, End 2 Upper : Unlimited Natural) : Communication Path
Mauro
|
|
|
Re: Stereotypes parameters [message #627199 is a reply to message #477980] |
Mon, 17 November 2008 14:35 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Mauro,
Please raise a defect on that with a small example to reproduce the issue
and it will be addressed.
Cheers,
- James.
"Mauro" <mauro@bglug.it> wrote in message
news:gfrfn2$mnv$1@build.eclipse.org...
> Kenn Hussey wrote:
>> Do you have a large number of operations in your resource set? We have
>> received similar complaints in the past, but have been unable to
>> reproduce
>> the problem (since the list should simply be scrollable)...
>
> yes the list is very very long, some resources have a very long name and I
> think that the size of the menu is based on the longest wich are
>
> <Operation> Create Association (End 1 Is Navigable : Boolean, End 1
> Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower :
> Integer,
> End 1 Upper : Unlimited Natural, End 1 Type : Type, End 2 Is Navigable :
> Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
> Lower : Integer, End 2 Upper : Unlimited Natural) : Association
>
> <Operation> Create Communication Path (End 1 Is Navigable : Boolean, End 1
> Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower :
> Integer,
> End 1 Upper : Unlimited Natural, End 1 Node : Node, End 2 Is Navigable :
> Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
> Lower : Integer, End 2 Upper : Unlimited Natural) : Communication Path
>
> Mauro
|
|
| | |
Re: Stereotypes parameters [message #627207 is a reply to message #477988] |
Wed, 19 November 2008 17:00 |
mauro Messages: 9 Registered: July 2009 |
Junior Member |
|
|
James Bruck wrote:
> Below when you ask ".. is it normal to have *those* operations ..."
> which operations are you referring to exactly?
the very long 2 I mentioned before:
<Operation> Create Association (End 1 Is Navigable : Boolean, End 1
Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower : Integer,
End 1 Upper : Unlimited Natural, End 1 Type : Type, End 2 Is Navigable :
Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
Lower : Integer, End 2 Upper : Unlimited Natural) : Association
<Operation> Create Communication Path (End 1 Is Navigable : Boolean, End 1
Aggregation : Aggregation Kind, End 1 Name : String, End 1 Lower : Integer,
End 1 Upper : Unlimited Natural, End 1 Node : Node, End 2 Is Navigable :
Boolean, End 2 Aggregation : Aggregation Kind, End 2 Name : String, End 2
Lower : Integer, End 2 Upper : Unlimited Natural) : Communication Path
I think they are the cause of the wide menu!!
Mauro
|
|
| |
Goto Forum:
Current Time: Tue Sep 24 22:07:39 GMT 2024
Powered by FUDForum. Page generated in 0.05198 seconds
|