Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » questions while applying extension
questions while applying extension [message #475589] Mon, 03 September 2007 08:21 Go to next message
Eclipse UserFriend
Originally posted by: sally_vladimir.yahoo.com

Hi,

I tried to apply the heavyweight extension steps that published in the
"Extending UML2:Creating Heavy-weight Extensions" article, but I have some
problems.

1. I think that those steps belongs to a middleweight extension rather
than a heavyweight, where there is no a package merge or a package import
in the extension model. please, I need your comment.

2. It is mentioned that there is a zip file attached with the article, but
I didn't find it. Could tell me how can I get it?

3. I applied the mentioned steps, but after the code generation I found a
warning states that " Discouraged access: The type ActorImpl is not
accessible due to restriction on required project org.eclipse.uml2.uml".
When I tried to run the generated code, I didn't find my model in the
examples EMF model creation wizard as stated.


thanks in advance,

Sally
Re: questions while applying extension [message #475766 is a reply to message #475589] Tue, 04 September 2007 13:22 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Sally,

Some comments below ....

"Sally Vladimir" <sally_vladimir@yahoo.com> wrote in message
news:35f23e7f481de40d0d23780352593f81$1@www.eclipse.org...
> Hi,
>
> I tried to apply the heavyweight extension steps that published in the
> "Extending UML2:Creating Heavy-weight Extensions" article, but I have some
> problems.
>
> 1. I think that those steps belongs to a middleweight extension rather
> than a heavyweight, where there is no a package merge or a package import
> in the extension model. please, I need your comment.

Yes there was a change in terminology somewhere along the way. This article
was created a while back and then another presentation came out with
slightly different conventions. This particular article is in a *rough*
draft form and hasn't officially been published yet. All the officially
published articles should be consistent and this one will be when it is
completed. ... sorry about the painfully long delay. So far these are the
only published ones
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Custo mizing_UML2_Which_Technique_is_Right_For_You/article.html
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk_files/frame.html

>
> 2. It is mentioned that there is a zip file attached with the article, but
> I didn't find it. Could tell me how can I get it?

Since the article is not official yet, the links to such code has not yet
been set up.

>
> 3. I applied the mentioned steps, but after the code generation I found a
> warning states that " Discouraged access: The type ActorImpl is not
> accessible due to restriction on required project org.eclipse.uml2.uml".
> When I tried to run the generated code, I didn't find my model in the
> examples EMF model creation wizard as stated.

I'm not sure about that issue. I'll have to retrace the steps outlined in
the article to see what is going on. Since the article was originally
created a *long* while back, there might be some subtle steps missing.
Consider this article a rough guideline for the time being.
If I'm not mistaken, others have used this article to get up and running.
You might want to search the newsgroup or perhaps others can comment on
their experiences.

>
>
> thanks in advance,
>
> Sally
>
>
Re: questions while applying extension [message #475767 is a reply to message #475766] Tue, 04 September 2007 15:20 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
The warning about discouraged access is expected since the UML2
implementation classes are considered internal - this is one of the reasons
why middleweight extensions are discouraged.

Kenn

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:fbjm1g$qhq$1@build.eclipse.org...
> Hi Sally,
>
> Some comments below ....
>
> "Sally Vladimir" <sally_vladimir@yahoo.com> wrote in message
> news:35f23e7f481de40d0d23780352593f81$1@www.eclipse.org...
>> Hi,
>>
>> I tried to apply the heavyweight extension steps that published in the
>> "Extending UML2:Creating Heavy-weight Extensions" article, but I have
>> some problems.
>>
>> 1. I think that those steps belongs to a middleweight extension rather
>> than a heavyweight, where there is no a package merge or a package import
>> in the extension model. please, I need your comment.
>
> Yes there was a change in terminology somewhere along the way. This
> article was created a while back and then another presentation came out
> with slightly different conventions. This particular article is in a
> *rough* draft form and hasn't officially been published yet. All the
> officially published articles should be consistent and this one will be
> when it is completed. ... sorry about the painfully long delay. So far
> these are the only published ones
> http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Custo mizing_UML2_Which_Technique_is_Right_For_You/article.html
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk_files/frame.html
>
>>
>> 2. It is mentioned that there is a zip file attached with the article,
>> but I didn't find it. Could tell me how can I get it?
>
> Since the article is not official yet, the links to such code has not yet
> been set up.
>
>>
>> 3. I applied the mentioned steps, but after the code generation I found a
>> warning states that " Discouraged access: The type ActorImpl is not
>> accessible due to restriction on required project org.eclipse.uml2.uml".
>> When I tried to run the generated code, I didn't find my model in the
>> examples EMF model creation wizard as stated.
>
> I'm not sure about that issue. I'll have to retrace the steps outlined
> in the article to see what is going on. Since the article was originally
> created a *long* while back, there might be some subtle steps missing.
> Consider this article a rough guideline for the time being.
> If I'm not mistaken, others have used this article to get up and running.
> You might want to search the newsgroup or perhaps others can comment on
> their experiences.
>
>>
>>
>> thanks in advance,
>>
>> Sally
>>
>>
>
>
Re: questions while applying extension [message #624618 is a reply to message #475589] Tue, 04 September 2007 13:22 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Sally,

Some comments below ....

"Sally Vladimir" <sally_vladimir@yahoo.com> wrote in message
news:35f23e7f481de40d0d23780352593f81$1@www.eclipse.org...
> Hi,
>
> I tried to apply the heavyweight extension steps that published in the
> "Extending UML2:Creating Heavy-weight Extensions" article, but I have some
> problems.
>
> 1. I think that those steps belongs to a middleweight extension rather
> than a heavyweight, where there is no a package merge or a package import
> in the extension model. please, I need your comment.

Yes there was a change in terminology somewhere along the way. This article
was created a while back and then another presentation came out with
slightly different conventions. This particular article is in a *rough*
draft form and hasn't officially been published yet. All the officially
published articles should be consistent and this one will be when it is
completed. ... sorry about the painfully long delay. So far these are the
only published ones
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Custo mizing_UML2_Which_Technique_is_Right_For_You/article.html
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk_files/frame.html

>
> 2. It is mentioned that there is a zip file attached with the article, but
> I didn't find it. Could tell me how can I get it?

Since the article is not official yet, the links to such code has not yet
been set up.

>
> 3. I applied the mentioned steps, but after the code generation I found a
> warning states that " Discouraged access: The type ActorImpl is not
> accessible due to restriction on required project org.eclipse.uml2.uml".
> When I tried to run the generated code, I didn't find my model in the
> examples EMF model creation wizard as stated.

I'm not sure about that issue. I'll have to retrace the steps outlined in
the article to see what is going on. Since the article was originally
created a *long* while back, there might be some subtle steps missing.
Consider this article a rough guideline for the time being.
If I'm not mistaken, others have used this article to get up and running.
You might want to search the newsgroup or perhaps others can comment on
their experiences.

>
>
> thanks in advance,
>
> Sally
>
>
Re: questions while applying extension [message #624619 is a reply to message #475766] Tue, 04 September 2007 15:20 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
The warning about discouraged access is expected since the UML2
implementation classes are considered internal - this is one of the reasons
why middleweight extensions are discouraged.

Kenn

"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:fbjm1g$qhq$1@build.eclipse.org...
> Hi Sally,
>
> Some comments below ....
>
> "Sally Vladimir" <sally_vladimir@yahoo.com> wrote in message
> news:35f23e7f481de40d0d23780352593f81$1@www.eclipse.org...
>> Hi,
>>
>> I tried to apply the heavyweight extension steps that published in the
>> "Extending UML2:Creating Heavy-weight Extensions" article, but I have
>> some problems.
>>
>> 1. I think that those steps belongs to a middleweight extension rather
>> than a heavyweight, where there is no a package merge or a package import
>> in the extension model. please, I need your comment.
>
> Yes there was a change in terminology somewhere along the way. This
> article was created a while back and then another presentation came out
> with slightly different conventions. This particular article is in a
> *rough* draft form and hasn't officially been published yet. All the
> officially published articles should be consistent and this one will be
> when it is completed. ... sorry about the painfully long delay. So far
> these are the only published ones
> http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Custo mizing_UML2_Which_Technique_is_Right_For_You/article.html
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk_files/frame.html
>
>>
>> 2. It is mentioned that there is a zip file attached with the article,
>> but I didn't find it. Could tell me how can I get it?
>
> Since the article is not official yet, the links to such code has not yet
> been set up.
>
>>
>> 3. I applied the mentioned steps, but after the code generation I found a
>> warning states that " Discouraged access: The type ActorImpl is not
>> accessible due to restriction on required project org.eclipse.uml2.uml".
>> When I tried to run the generated code, I didn't find my model in the
>> examples EMF model creation wizard as stated.
>
> I'm not sure about that issue. I'll have to retrace the steps outlined
> in the article to see what is going on. Since the article was originally
> created a *long* while back, there might be some subtle steps missing.
> Consider this article a rough guideline for the time being.
> If I'm not mistaken, others have used this article to get up and running.
> You might want to search the newsgroup or perhaps others can comment on
> their experiences.
>
>>
>>
>> thanks in advance,
>>
>> Sally
>>
>>
>
>
Previous Topic:questions while applying extension
Next Topic:UML OCL -> Switch to UML 2.2.0
Goto Forum:
  


Current Time: Tue Sep 24 00:34:27 GMT 2024

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

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

Back to the top