Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » problem extending "Getting Started with UML2"
problem extending "Getting Started with UML2" [message #471654] Sat, 17 March 2007 00:40 Go to next message
Bogdan Pistol is currently offline Bogdan PistolFriend
Messages: 29
Registered: July 2009
Junior Member
Hello,

Thank you for developing such an amazing project! I like Eclipse UML2
very much!

I have some problems extending the "Getting Started with UML2" article.

Suppose I have a model and I save it in a file "file.uml" then another
tool or someone else modifies the file.

Now if I try to load again "file.uml" (to see the modification) the
modification doesn't appear. If I exit my program and start it again and
load the file, it works.

I am using save() and load() provided in "Getting Started with UML2"
article.
I believe that when the file is loaded it is cashed and then a cashed
URI is not refreshed on a new load.

Please tell me how to handle this, how can I refresh the model, or how
can I close it and open it again.

Thanks for any help.

Bogdan Pistol
Re: problem extending "Getting Started with UML2" [message #471733 is a reply to message #471654] Tue, 20 March 2007 02:49 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Bogdan,

I'm glad you like UML, you can thank Kenn Hussey for this API.
As far as your question goes, you can try to unload each of the resources in
your resource set.
p.303 of the "Eclipse Modeling Framework" book describes this method and
mentions "... This allows you to bring a resource up to date if, for
example, the underlying file has changed since it was last loaded ..".

Hope that helps,

- James.


"Bogdan Pistol" <bogdanciprian@yahoo.com> wrote in message
news:etfdaa$2gk$1@utils.eclipse.org...
> Hello,
>
> Thank you for developing such an amazing project! I like Eclipse UML2 very
> much!
>
> I have some problems extending the "Getting Started with UML2" article.
>
> Suppose I have a model and I save it in a file "file.uml" then another
> tool or someone else modifies the file.
>
> Now if I try to load again "file.uml" (to see the modification) the
> modification doesn't appear. If I exit my program and start it again and
> load the file, it works.
>
> I am using save() and load() provided in "Getting Started with UML2"
> article.
> I believe that when the file is loaded it is cashed and then a cashed URI
> is not refreshed on a new load.
>
> Please tell me how to handle this, how can I refresh the model, or how can
> I close it and open it again.
>
> Thanks for any help.
>
> Bogdan Pistol
Re: problem extending "Getting Started with UML2" [message #471742 is a reply to message #471733] Wed, 21 March 2007 01:13 Go to previous messageGo to next message
Bogdan Pistol is currently offline Bogdan PistolFriend
Messages: 29
Registered: July 2009
Junior Member
Hello James,

Thanks for the tip, I found the reference in the book. I'll read this
book to find out more about UML2.

Eclipse UML2 is great!

Bogdan Pistol

James Bruck wrote:
> Bogdan,
>
> I'm glad you like UML, you can thank Kenn Hussey for this API.
> As far as your question goes, you can try to unload each of the resources in
> your resource set.
> p.303 of the "Eclipse Modeling Framework" book describes this method and
> mentions "... This allows you to bring a resource up to date if, for
> example, the underlying file has changed since it was last loaded ..".
>
> Hope that helps,
>
> - James.
>
>
> "Bogdan Pistol" <bogdanciprian@yahoo.com> wrote in message
> news:etfdaa$2gk$1@utils.eclipse.org...
>> Hello,
>>
>> Thank you for developing such an amazing project! I like Eclipse UML2 very
>> much!
>>
>> I have some problems extending the "Getting Started with UML2" article.
>>
>> Suppose I have a model and I save it in a file "file.uml" then another
>> tool or someone else modifies the file.
>>
>> Now if I try to load again "file.uml" (to see the modification) the
>> modification doesn't appear. If I exit my program and start it again and
>> load the file, it works.
>>
>> I am using save() and load() provided in "Getting Started with UML2"
>> article.
>> I believe that when the file is loaded it is cashed and then a cashed URI
>> is not refreshed on a new load.
>>
>> Please tell me how to handle this, how can I refresh the model, or how can
>> I close it and open it again.
>>
>> Thanks for any help.
>>
>> Bogdan Pistol
>
>
Re: problem extending "Getting Started with UML2" [message #471753 is a reply to message #471742] Thu, 22 March 2007 09:25 Go to previous messageGo to next message
Jerry is currently offline JerryFriend
Messages: 32
Registered: July 2009
Member
May I ask which book is this? It seems there are many books have the name
"Eclipse Modeling Framework", which one should I buy?
Thank you
Re: problem extending "Getting Started with UML2" [message #471754 is a reply to message #471753] Thu, 22 March 2007 11:12 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30993
Registered: July 2009
Senior Member
Jerry,

I think there is only one such book:
http://www.awprofessional.com/bookstore/product.asp?isbn=013 1425420&rl=1
< http://www.awprofessional.com/bookstore/product.asp?isbn=013 1425420&rl=1>.
We are currently working on the second edition but don't expect that
will be available for another 3-4 months.


Jerry wrote:
> May I ask which book is this? It seems there are many books have the
> name "Eclipse Modeling Framework", which one should I buy?
> Thank you
>
Re: problem extending "Getting Started with UML2" [message #471758 is a reply to message #471754] Fri, 23 March 2007 01:36 Go to previous messageGo to next message
Bogdan Pistol is currently offline Bogdan PistolFriend
Messages: 29
Registered: July 2009
Junior Member
Yes, that's the book.


Ed Merks wrote:
> Jerry,
>
> I think there is only one such book:
> http://www.awprofessional.com/bookstore/product.asp?isbn=013 1425420&rl=1
> < http://www.awprofessional.com/bookstore/product.asp?isbn=013 1425420&rl=1>.
> We are currently working on the second edition but don't expect that
> will be available for another 3-4 months.
>
>
> Jerry wrote:
>> May I ask which book is this? It seems there are many books have the
>> name "Eclipse Modeling Framework", which one should I buy?
>> Thank you
>>
Re: problem extending "Getting Started with UML2" [message #471760 is a reply to message #471758] Fri, 23 March 2007 08:31 Go to previous message
Jerry is currently offline JerryFriend
Messages: 32
Registered: July 2009
Member
Thanks! It will be good to have it since the API doc is too simple for a
beginner like me :)
Re: problem extending "Getting Started with UML2" [message #601838 is a reply to message #471654] Tue, 20 March 2007 02:49 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Bogdan,

I'm glad you like UML, you can thank Kenn Hussey for this API.
As far as your question goes, you can try to unload each of the resources in
your resource set.
p.303 of the "Eclipse Modeling Framework" book describes this method and
mentions "... This allows you to bring a resource up to date if, for
example, the underlying file has changed since it was last loaded ..".

Hope that helps,

- James.


"Bogdan Pistol" <bogdanciprian@yahoo.com> wrote in message
news:etfdaa$2gk$1@utils.eclipse.org...
> Hello,
>
> Thank you for developing such an amazing project! I like Eclipse UML2 very
> much!
>
> I have some problems extending the "Getting Started with UML2" article.
>
> Suppose I have a model and I save it in a file "file.uml" then another
> tool or someone else modifies the file.
>
> Now if I try to load again "file.uml" (to see the modification) the
> modification doesn't appear. If I exit my program and start it again and
> load the file, it works.
>
> I am using save() and load() provided in "Getting Started with UML2"
> article.
> I believe that when the file is loaded it is cashed and then a cashed URI
> is not refreshed on a new load.
>
> Please tell me how to handle this, how can I refresh the model, or how can
> I close it and open it again.
>
> Thanks for any help.
>
> Bogdan Pistol
Re: problem extending "Getting Started with UML2" [message #601908 is a reply to message #471733] Wed, 21 March 2007 01:13 Go to previous message
Bogdan Pistol is currently offline Bogdan PistolFriend
Messages: 29
Registered: July 2009
Junior Member
Hello James,

Thanks for the tip, I found the reference in the book. I'll read this
book to find out more about UML2.

Eclipse UML2 is great!

Bogdan Pistol

James Bruck wrote:
> Bogdan,
>
> I'm glad you like UML, you can thank Kenn Hussey for this API.
> As far as your question goes, you can try to unload each of the resources in
> your resource set.
> p.303 of the "Eclipse Modeling Framework" book describes this method and
> mentions "... This allows you to bring a resource up to date if, for
> example, the underlying file has changed since it was last loaded ..".
>
> Hope that helps,
>
> - James.
>
>
> "Bogdan Pistol" <bogdanciprian@yahoo.com> wrote in message
> news:etfdaa$2gk$1@utils.eclipse.org...
>> Hello,
>>
>> Thank you for developing such an amazing project! I like Eclipse UML2 very
>> much!
>>
>> I have some problems extending the "Getting Started with UML2" article.
>>
>> Suppose I have a model and I save it in a file "file.uml" then another
>> tool or someone else modifies the file.
>>
>> Now if I try to load again "file.uml" (to see the modification) the
>> modification doesn't appear. If I exit my program and start it again and
>> load the file, it works.
>>
>> I am using save() and load() provided in "Getting Started with UML2"
>> article.
>> I believe that when the file is loaded it is cashed and then a cashed URI
>> is not refreshed on a new load.
>>
>> Please tell me how to handle this, how can I refresh the model, or how can
>> I close it and open it again.
>>
>> Thanks for any help.
>>
>> Bogdan Pistol
>
>
Re: problem extending "Getting Started with UML2" [message #603112 is a reply to message #471742] Thu, 22 March 2007 09:25 Go to previous message
Jerry is currently offline JerryFriend
Messages: 32
Registered: July 2009
Member
May I ask which book is this? It seems there are many books have the name
"Eclipse Modeling Framework", which one should I buy?
Thank you
Re: problem extending "Getting Started with UML2" [message #603117 is a reply to message #471753] Thu, 22 March 2007 11:12 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30993
Registered: July 2009
Senior Member
Jerry,

I think there is only one such book:
http://www.awprofessional.com/bookstore/product.asp?isbn=013 1425420&rl=1
< http://www.awprofessional.com/bookstore/product.asp?isbn=013 1425420&rl=1>.
We are currently working on the second edition but don't expect that
will be available for another 3-4 months.


Jerry wrote:
> May I ask which book is this? It seems there are many books have the
> name "Eclipse Modeling Framework", which one should I buy?
> Thank you
>
Re: problem extending "Getting Started with UML2" [message #603137 is a reply to message #471754] Fri, 23 March 2007 01:36 Go to previous message
Bogdan Pistol is currently offline Bogdan PistolFriend
Messages: 29
Registered: July 2009
Junior Member
Yes, that's the book.


Ed Merks wrote:
> Jerry,
>
> I think there is only one such book:
> http://www.awprofessional.com/bookstore/product.asp?isbn=013 1425420&rl=1
> < http://www.awprofessional.com/bookstore/product.asp?isbn=013 1425420&rl=1>.
> We are currently working on the second edition but don't expect that
> will be available for another 3-4 months.
>
>
> Jerry wrote:
>> May I ask which book is this? It seems there are many books have the
>> name "Eclipse Modeling Framework", which one should I buy?
>> Thank you
>>
Re: problem extending "Getting Started with UML2" [message #603143 is a reply to message #471758] Fri, 23 March 2007 08:31 Go to previous message
Jerry is currently offline JerryFriend
Messages: 32
Registered: July 2009
Member
Thanks! It will be good to have it since the API doc is too simple for a
beginner like me :)
Previous Topic:[Announce] MDT UML2 2.1.0 I200703221526 is available
Next Topic:Jar2UML reverse engineering tool available
Goto Forum:
  


Current Time: Sun Mar 29 18:49:33 GMT 2020

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

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

Back to the top