Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How can I extend UML2?
How can I extend UML2? [message #477953] Mon, 10 November 2008 14:46 Go to next message
Iris Groher is currently offline Iris GroherFriend
Messages: 33
Registered: July 2009
Member
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 #477954 is a reply to message #477953] Mon, 10 November 2008 15:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
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!


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How can I extend UML2? [message #477955 is a reply to message #477954] Mon, 10 November 2008 17:45 Go to previous messageGo to next message
Iris Groher is currently offline Iris GroherFriend
Messages: 33
Registered: July 2009
Member
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 #477956 is a reply to message #477955] Mon, 10 November 2008 18:12 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How can I extend UML2? [message #477957 is a reply to message #477956] Mon, 10 November 2008 19:00 Go to previous message
Iris Groher is currently offline Iris GroherFriend
Messages: 33
Registered: July 2009
Member
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 15:06 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
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!


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How can I extend UML2? [message #627167 is a reply to message #477954] Mon, 10 November 2008 17:45 Go to previous message
Iris Groher is currently offline Iris GroherFriend
Messages: 33
Registered: July 2009
Member
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 18:12 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: How can I extend UML2? [message #627169 is a reply to message #477956] Mon, 10 November 2008 19:00 Go to previous message
Iris Groher is currently offline Iris GroherFriend
Messages: 33
Registered: July 2009
Member
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.
Previous Topic:How can I extend UML2?
Next Topic:How to run the UML code generator?
Goto Forum:
  


Current Time: Thu Mar 28 10:55:21 GMT 2024

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

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

Back to the top