Home » Modeling » UML2 » Stereotypes parameters
Stereotypes parameters [message #477972] |
Sat, 15 November 2008 05:58  |
Eclipse User |
|
|
|
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 06:04   |
Eclipse User |
|
|
|
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 09:35   |
Eclipse User |
|
|
|
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 12:00   |
Eclipse User |
|
|
|
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 10: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 #627191 is a reply to message #477973] |
Sun, 16 November 2008 13:32  |
Eclipse User |
|
|
|
Christian W. Damus wrote:
> 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).
I see... the dialog is there but it is so much larger than the screen that I
can't see anything!
It's the same under Windows and Linux...
Mauro
|
|
|
Re: Stereotypes parameters [message #627196 is a reply to message #477974] |
Mon, 17 November 2008 04:00  |
Eclipse User |
|
|
|
Mauro,
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)...
Kenn
"Mauro" <mauro@bglug.it> wrote in message
news:gfpli1$oil$1@build.eclipse.org...
> Christian W. Damus wrote:
>
>> 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).
> I see... the dialog is there but it is so much larger than the screen that
> I
> can't see anything!
> It's the same under Windows and Linux...
>
> Mauro
>
>
|
|
|
Re: Stereotypes parameters [message #627197 is a reply to message #477979] |
Mon, 17 November 2008 06:04  |
Eclipse User |
|
|
|
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 09:35  |
Eclipse User |
|
|
|
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 #627200 is a reply to message #477982] |
Mon, 17 November 2008 14:44  |
Eclipse User |
|
|
|
> Please raise a defect on that with a small example to reproduce the issue
> and it will be addressed.
I did it
Is it normal to have those operations in the resource set?
I installed just the default packages...
do you see any workaround (filtering the data somewhere?)
Mauro
|
|
|
Re: Stereotypes parameters [message #627205 is a reply to message #477983] |
Wed, 19 November 2008 10:33  |
Eclipse User |
|
|
|
Thanks for raising the defect.
I can see the problem now... very wacky.
Below when you ask ".. is it normal to have *those* operations ..." which
operations are you referring to exactly? You can explicitly load other
resources into your resource set.
Filtering the data would be one possibility, but I really can't see why the
dialog is so large. Perhaps popping up a dialog with some filtering
criteria would be more helpful.
This is definitely an issue.
Cheers,
- James.
"Mauro" <mauro@bglug.it> wrote in message
news:gfse5d$324$1@build.eclipse.org...
>> Please raise a defect on that with a small example to reproduce the issue
>> and it will be addressed.
> I did it
>
> Is it normal to have those operations in the resource set?
> I installed just the default packages...
>
> do you see any workaround (filtering the data somewhere?)
>
> Mauro
>
|
|
|
Re: Stereotypes parameters [message #627207 is a reply to message #477988] |
Wed, 19 November 2008 12:00  |
Eclipse User |
|
|
|
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: Thu Jul 10 01:52:37 EDT 2025
Powered by FUDForum. Page generated in 0.13637 seconds
|