How can I extend UML2? [message #477953] |
Mon, 10 November 2008 09:46  |
Eclipse User |
|
|
|
Hi all,
I would like to add some additional notification mechanism to UML2. I need
to get notified of read accesses of UML elements (e.g. getName() of a
Class is called). How is that best done? Should I add the code manually to
the UML classes? Or is there any other way around this?
Thank you so much for your help!
|
|
|
|
|
|
Re: How can I extend UML2? [message #477957 is a reply to message #477956] |
Mon, 10 November 2008 14:00  |
Eclipse User |
|
|
|
The goal is to observe model validation. If I am able to get notified of
read accesses in the context of validation, I know which elements (and
what feature of the element) the validator looked at.
My idea was to use your read/write access notifications for that.
|
|
|
Re: How can I extend UML2? [message #627166 is a reply to message #477953] |
Mon, 10 November 2008 10:06  |
Eclipse User |
|
|
|
Iris,
This sounds similar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=247130
Iris Groher wrote:
> Hi all,
>
> I would like to add some additional notification mechanism to UML2. I
> need to get notified of read accesses of UML elements (e.g. getName()
> of a Class is called). How is that best done? Should I add the code
> manually to the UML classes? Or is there any other way around this?
>
> Thank you so much for your help!
|
|
|
Re: How can I extend UML2? [message #627167 is a reply to message #477954] |
Mon, 10 November 2008 12:45  |
Eclipse User |
|
|
|
Thank you very much Ed! This seems to be exactly what I am looking for.
Could you please give me some hints on how to install the prototype you
created? Is it correct to replace Class.java with your version,
re-generate the code and re-install the plugin?
Greetings,
Iris.
Ed Merks wrote:
> Iris,
> This sounds similar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=247130
> Iris Groher wrote:
>> Hi all,
>>
>> I would like to add some additional notification mechanism to UML2. I
>> need to get notified of read accesses of UML elements (e.g. getName()
>> of a Class is called). How is that best done? Should I add the code
>> manually to the UML classes? Or is there any other way around this?
>>
>> Thank you so much for your help!
Thank you so m
|
|
|
Re: How can I extend UML2? [message #627168 is a reply to message #477955] |
Mon, 10 November 2008 13:12  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
--------------070506010108070009030806
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Iris,
I think it will be quite hard to try out the prototype and I'm working
on a new one right now. This document describes how we set up the source:
<http://wiki.eclipse.org/EMF/Getting_Source>
http://wiki.eclipse.org/EMF/Getting_Source
You'd need UML set up this way too...
I wonder what you're trying to do?
Iris Groher wrote:
> Thank you very much Ed! This seems to be exactly what I am looking
> for. Could you please give me some hints on how to install the
> prototype you created? Is it correct to replace Class.java with your
> version, re-generate the code and re-install the plugin?
>
> Greetings,
> Iris.
>
> Ed Merks wrote:
>
>> Iris,
>
>> This sounds similar to
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=247130
>
>
>> Iris Groher wrote:
>>> Hi all,
>>>
>>> I would like to add some additional notification mechanism to UML2.
>>> I need to get notified of read accesses of UML elements (e.g.
>>> getName() of a Class is called). How is that best done? Should I add
>>> the code manually to the UML classes? Or is there any other way
>>> around this?
>>>
>>> Thank you so much for your help!
> Thank you so m
>
--------------070506010108070009030806
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Iris,<br>
<br>
I think it will be quite hard to try out the prototype and I'm working
on a new one right now.
|
|
|
Re: How can I extend UML2? [message #627169 is a reply to message #477956] |
Mon, 10 November 2008 14:00  |
Eclipse User |
|
|
|
The goal is to observe model validation. If I am able to get notified of
read accesses in the context of validation, I know which elements (and
what feature of the element) the validator looked at.
My idea was to use your read/write access notifications for that.
|
|
|
Powered by
FUDForum. Page generated in 0.26540 seconds