|
Re: problem extending "Getting Started with UML2" [message #471733 is a reply to message #471654] |
Tue, 20 March 2007 02:49 |
james bruck 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 |
Bogdan Pistol 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 #601838 is a reply to message #471654] |
Tue, 20 March 2007 02:49 |
james bruck 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 |
Bogdan Pistol 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
>
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04912 seconds