Home » Modeling » Epsilon » EWL setting a profile/stereotype and trigger the wizard
EWL setting a profile/stereotype and trigger the wizard [message #15724] |
Tue, 21 April 2009 04:49  |
Eclipse User |
|
|
|
Originally posted by: friebenj.mail.upb.de
Hello,
I have two (beginner) questions regarding EWL and its possibilities.
First I would like to create a wizard to apply a profile to a package of
a selected class (if not already applied). Afterwards a stereotype of
this profile should be attached to the selected class and a new property
should be set.
The epsilon book contains an example for attaching a stereotype, but I
can not find a way to set the profile first and to assign change/set
properties later.
Second - exists the possibility to execute an EWL wizard not only from
the wizards popup menu, but also from self coded menu actions or other
events?
Any help welcome!
Thanks,
Jens Frieben
|
|
|
Re: EWL setting a profile/stereotype and trigger the wizard [message #15741 is a reply to message #15724] |
Tue, 21 April 2009 05:09   |
Eclipse User |
|
|
|
Hi Jens,
Jens Frieben wrote:
> Hello,
>
> I have two (beginner) questions regarding EWL and its possibilities.
>
> First I would like to create a wizard to apply a profile to a package of
> a selected class (if not already applied). Afterwards a stereotype of
> this profile should be attached to the selected class and a new property
> should be set.
>
> The epsilon book contains an example for attaching a stereotype, but I
> can not find a way to set the profile first and to assign change/set
> properties later.
>
Please have a look at
http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.epsilo n/msg00111.html
for an example of applying a UML profile programmatically with Epsilon.
In this example, the profile is known and loaded in the form of an
additional model (Profile). In the case of EWL, only one model is
available by default (the one currently edited) so we'll need to load
and put the profile model in the context using a Tool (see
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf) at runtime.
If this all sounds terribly complicated, please post an enhancement
request in the bugzilla and I'll try to come up with an working example
as soon as possible.
> Second - exists the possibility to execute an EWL wizard not only from
> the wizards popup menu, but also from self coded menu actions or other
> events?
Sure. The org.eclipse.epsilon.ewl.emf plugin in the SVN provides a good
example of doing so.
>
> Any help welcome!
>
> Thanks,
> Jens Frieben
Cheers,
Dimitris
|
|
|
Re: EWL setting a profile/stereotype and trigger the wizard [message #16209 is a reply to message #15741] |
Wed, 22 April 2009 06:50   |
Eclipse User |
|
|
|
Originally posted by: friebenj.mail.upb.de
Thanks for you quick reply.
I am currently trying to get such a 'Tool' to work for loading the new
profile. I will of course post a successful implementation here.
Dimitris Kolovos schrieb:
> Hi Jens,
>
> Jens Frieben wrote:
>> Hello,
>>
>> I have two (beginner) questions regarding EWL and its possibilities.
>>
>> First I would like to create a wizard to apply a profile to a package
>> of a selected class (if not already applied). Afterwards a stereotype
>> of this profile should be attached to the selected class and a new
>> property should be set.
>>
>> The epsilon book contains an example for attaching a stereotype, but I
>> can not find a way to set the profile first and to assign change/set
>> properties later.
>>
>
> Please have a look at
> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.epsilo n/msg00111.html
> for an example of applying a UML profile programmatically with Epsilon.
> In this example, the profile is known and loaded in the form of an
> additional model (Profile). In the case of EWL, only one model is
> available by default (the one currently edited) so we'll need to load
> and put the profile model in the context using a Tool (see
> http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf) at runtime.
>
> If this all sounds terribly complicated, please post an enhancement
> request in the bugzilla and I'll try to come up with an working example
> as soon as possible.
>
>> Second - exists the possibility to execute an EWL wizard not only from
>> the wizards popup menu, but also from self coded menu actions or other
>> events?
>
> Sure. The org.eclipse.epsilon.ewl.emf plugin in the SVN provides a good
> example of doing so.
>>
>> Any help welcome!
>>
>> Thanks,
>> Jens Frieben
>
> Cheers,
> Dimitris
|
|
|
Re: EWL setting a profile/stereotype and trigger the wizard [message #16276 is a reply to message #16209] |
Fri, 24 April 2009 08:35  |
Eclipse User |
|
|
|
Thanks Jens. Looking forward to hearing more on this.
Cheers,
Dimitris
Jens Frieben wrote:
> Thanks for you quick reply.
> I am currently trying to get such a 'Tool' to work for loading the new
> profile. I will of course post a successful implementation here.
>
>
>
> Dimitris Kolovos schrieb:
>> Hi Jens,
>>
>> Jens Frieben wrote:
>>> Hello,
>>>
>>> I have two (beginner) questions regarding EWL and its possibilities.
>>>
>>> First I would like to create a wizard to apply a profile to a package
>>> of a selected class (if not already applied). Afterwards a stereotype
>>> of this profile should be attached to the selected class and a new
>>> property should be set.
>>>
>>> The epsilon book contains an example for attaching a stereotype, but
>>> I can not find a way to set the profile first and to assign
>>> change/set properties later.
>>>
>>
>> Please have a look at
>> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.epsilo n/msg00111.html
>> for an example of applying a UML profile programmatically with
>> Epsilon. In this example, the profile is known and loaded in the form
>> of an additional model (Profile). In the case of EWL, only one model
>> is available by default (the one currently edited) so we'll need to
>> load and put the profile model in the context using a Tool (see
>> http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf) at runtime.
>>
>> If this all sounds terribly complicated, please post an enhancement
>> request in the bugzilla and I'll try to come up with an working
>> example as soon as possible.
>>
>>> Second - exists the possibility to execute an EWL wizard not only
>>> from the wizards popup menu, but also from self coded menu actions or
>>> other events?
>>
>> Sure. The org.eclipse.epsilon.ewl.emf plugin in the SVN provides a
>> good example of doing so.
>>>
>>> Any help welcome!
>>>
>>> Thanks,
>>> Jens Frieben
>>
>> Cheers,
>> Dimitris
|
|
|
Re: EWL setting a profile/stereotype and trigger the wizard [message #566868 is a reply to message #15724] |
Tue, 21 April 2009 05:09  |
Eclipse User |
|
|
|
Hi Jens,
Jens Frieben wrote:
> Hello,
>
> I have two (beginner) questions regarding EWL and its possibilities.
>
> First I would like to create a wizard to apply a profile to a package of
> a selected class (if not already applied). Afterwards a stereotype of
> this profile should be attached to the selected class and a new property
> should be set.
>
> The epsilon book contains an example for attaching a stereotype, but I
> can not find a way to set the profile first and to assign change/set
> properties later.
>
Please have a look at
http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.epsilo n/msg00111.html
for an example of applying a UML profile programmatically with Epsilon.
In this example, the profile is known and loaded in the form of an
additional model (Profile). In the case of EWL, only one model is
available by default (the one currently edited) so we'll need to load
and put the profile model in the context using a Tool (see
http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf) at runtime.
If this all sounds terribly complicated, please post an enhancement
request in the bugzilla and I'll try to come up with an working example
as soon as possible.
> Second - exists the possibility to execute an EWL wizard not only from
> the wizards popup menu, but also from self coded menu actions or other
> events?
Sure. The org.eclipse.epsilon.ewl.emf plugin in the SVN provides a good
example of doing so.
>
> Any help welcome!
>
> Thanks,
> Jens Frieben
Cheers,
Dimitris
|
|
|
Re: EWL setting a profile/stereotype and trigger the wizard [message #567013 is a reply to message #15741] |
Wed, 22 April 2009 06:50  |
Eclipse User |
|
|
|
Originally posted by: friebenj.mail.upb.de
Thanks for you quick reply.
I am currently trying to get such a 'Tool' to work for loading the new
profile. I will of course post a successful implementation here.
Dimitris Kolovos schrieb:
> Hi Jens,
>
> Jens Frieben wrote:
>> Hello,
>>
>> I have two (beginner) questions regarding EWL and its possibilities.
>>
>> First I would like to create a wizard to apply a profile to a package
>> of a selected class (if not already applied). Afterwards a stereotype
>> of this profile should be attached to the selected class and a new
>> property should be set.
>>
>> The epsilon book contains an example for attaching a stereotype, but I
>> can not find a way to set the profile first and to assign change/set
>> properties later.
>>
>
> Please have a look at
> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.epsilo n/msg00111.html
> for an example of applying a UML profile programmatically with Epsilon.
> In this example, the profile is known and loaded in the form of an
> additional model (Profile). In the case of EWL, only one model is
> available by default (the one currently edited) so we'll need to load
> and put the profile model in the context using a Tool (see
> http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf) at runtime.
>
> If this all sounds terribly complicated, please post an enhancement
> request in the bugzilla and I'll try to come up with an working example
> as soon as possible.
>
>> Second - exists the possibility to execute an EWL wizard not only from
>> the wizards popup menu, but also from self coded menu actions or other
>> events?
>
> Sure. The org.eclipse.epsilon.ewl.emf plugin in the SVN provides a good
> example of doing so.
>>
>> Any help welcome!
>>
>> Thanks,
>> Jens Frieben
>
> Cheers,
> Dimitris
|
|
|
Re: EWL setting a profile/stereotype and trigger the wizard [message #567096 is a reply to message #16209] |
Fri, 24 April 2009 08:35  |
Eclipse User |
|
|
|
Thanks Jens. Looking forward to hearing more on this.
Cheers,
Dimitris
Jens Frieben wrote:
> Thanks for you quick reply.
> I am currently trying to get such a 'Tool' to work for loading the new
> profile. I will of course post a successful implementation here.
>
>
>
> Dimitris Kolovos schrieb:
>> Hi Jens,
>>
>> Jens Frieben wrote:
>>> Hello,
>>>
>>> I have two (beginner) questions regarding EWL and its possibilities.
>>>
>>> First I would like to create a wizard to apply a profile to a package
>>> of a selected class (if not already applied). Afterwards a stereotype
>>> of this profile should be attached to the selected class and a new
>>> property should be set.
>>>
>>> The epsilon book contains an example for attaching a stereotype, but
>>> I can not find a way to set the profile first and to assign
>>> change/set properties later.
>>>
>>
>> Please have a look at
>> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.epsilo n/msg00111.html
>> for an example of applying a UML profile programmatically with
>> Epsilon. In this example, the profile is known and loaded in the form
>> of an additional model (Profile). In the case of EWL, only one model
>> is available by default (the one currently edited) so we'll need to
>> load and put the profile model in the context using a Tool (see
>> http://www.eclipse.org/gmt/epsilon/doc/EpsilonTools.pdf) at runtime.
>>
>> If this all sounds terribly complicated, please post an enhancement
>> request in the bugzilla and I'll try to come up with an working
>> example as soon as possible.
>>
>>> Second - exists the possibility to execute an EWL wizard not only
>>> from the wizards popup menu, but also from self coded menu actions or
>>> other events?
>>
>> Sure. The org.eclipse.epsilon.ewl.emf plugin in the SVN provides a
>> good example of doing so.
>>>
>>> Any help welcome!
>>>
>>> Thanks,
>>> Jens Frieben
>>
>> Cheers,
>> Dimitris
|
|
|
Goto Forum:
Current Time: Wed Mar 12 00:21:33 EDT 2025
Powered by FUDForum. Page generated in 0.04281 seconds
|