Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Stereotypes parameters
Stereotypes parameters [message #477972] Sat, 15 November 2008 10:58 Go to next message
Mauro is currently offline MauroFriend
Messages: 79
Registered: July 2009
Member
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 #477973 is a reply to message #477972] Sat, 15 November 2008 15:15 Go to previous messageGo to next message
Eclipse UserFriend
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 #477974 is a reply to message #477973] Sun, 16 November 2008 18:32 Go to previous messageGo to next message
Mauro is currently offline MauroFriend
Messages: 79
Registered: July 2009
Member
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 #477979 is a reply to message #477974] Mon, 17 November 2008 09:00 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
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 #477980 is a reply to message #477979] Mon, 17 November 2008 11:04 Go to previous messageGo to next message
Mauro is currently offline MauroFriend
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 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
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 #477983 is a reply to message #477982] Mon, 17 November 2008 19:44 Go to previous messageGo to next message
Mauro is currently offline MauroFriend
Messages: 79
Registered: July 2009
Member
> 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 #477988 is a reply to message #477983] Wed, 19 November 2008 15:33 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
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 #477990 is a reply to message #477988] Wed, 19 November 2008 17:00 Go to previous messageGo to next message
mauro is currently offline mauroFriend
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 #478020 is a reply to message #477988] Tue, 25 November 2008 17:00 Go to previous message
mauro is currently offline mauroFriend
Messages: 9
Registered: July 2009
Junior Member
James Bruck wrote:

> but I really can't see why the dialog is so large.
I think it's because the width of the menu is the width of the longest
contained element...
Re: Stereotypes parameters [message #627190 is a reply to message #477972] Sat, 15 November 2008 15:15 Go to previous message
Eclipse UserFriend
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 18:32 Go to previous message
Mauro is currently offline MauroFriend
Messages: 79
Registered: July 2009
Member
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 09:00 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
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 11:04 Go to previous message
Mauro is currently offline MauroFriend
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 Go to previous message
james bruck is currently offline james bruckFriend
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 #627200 is a reply to message #477982] Mon, 17 November 2008 19:44 Go to previous message
Mauro is currently offline MauroFriend
Messages: 79
Registered: July 2009
Member
> 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 15:33 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
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 17:00 Go to previous message
mauro is currently offline mauroFriend
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 #627237 is a reply to message #477988] Tue, 25 November 2008 17:00 Go to previous message
mauro is currently offline mauroFriend
Messages: 9
Registered: July 2009
Junior Member
James Bruck wrote:

> but I really can't see why the dialog is so large.
I think it's because the width of the menu is the width of the longest
contained element...
Previous Topic:Usage of DerivedUnion or simple derived?
Next Topic:Creating a DSL / Extending UML2
Goto Forum:
  


Current Time: Wed May 27 01:18:42 GMT 2020

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

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

Back to the top