Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Remove the diagram file only
Remove the diagram file only [message #819767] Tue, 13 March 2012 09:55 Go to next message
Yugi Muto is currently offline Yugi Muto
Messages: 33
Registered: February 2012
Member
Hello,

when I right delete a .di file, the .uml corresponding file is also automatically removed. I think it is an incorrect behavior because the model can exists without the diagram.

Is there a way to remove the .di file only?

Thank you.

I use Papyrus 0.8.2 on Eclipse 3.7.1.
Re: Remove the diagram file only [message #819868 is a reply to message #819767] Tue, 13 March 2012 12:29 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan Faure
Messages: 227
Registered: July 2009
Senior Member
Hi it is a limitation for the moment.
To remove only the di you have to disable the "Di view" filter in the Project Explorer view options.
In project Explorer View > arrow oriented to the bottom > Customize view > Uncheck DI view.

Regards

Re: Remove the diagram file only [message #820722 is a reply to message #819868] Wed, 14 March 2012 13:40 Go to previous messageGo to next message
Yugi Muto is currently offline Yugi Muto
Messages: 33
Registered: February 2012
Member
Thanks for the tip but I don't have the "DI view" check box in Model Explorer > arrow oriented to the bottom > Customize View... > Content.
The 2 things I got are :
-UML Model Contents
-Model Contents

Which one I must uncheck?

[Updated on: Wed, 14 March 2012 13:41]

Report message to a moderator

Re: Remove the diagram file only [message #820726 is a reply to message #820722] Wed, 14 March 2012 13:47 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan Faure
Messages: 227
Registered: July 2009
Senior Member
you are in the tab "content" you have to check the option in tab "Filter"

Regards

Tristan FAURE
Re: Remove the diagram file only [message #820757 is a reply to message #820726] Wed, 14 March 2012 14:33 Go to previous messageGo to next message
Yugi Muto is currently offline Yugi Muto
Messages: 33
Registered: February 2012
Member
There is no option in the tab "Filter" on my Eclipse.
It's empty.

How can I get these options?
Re: Remove the diagram file only [message #820763 is a reply to message #820757] Wed, 14 March 2012 14:42 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan Faure
Messages: 227
Registered: July 2009
Senior Member
strange, can you copy/paste a snapshot of your dialog ?
Re: Remove the diagram file only [message #820772 is a reply to message #820763] Wed, 14 March 2012 14:51 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille Letavernier
Messages: 451
Registered: February 2011
Senior Member
The "filters" option with the Di View is in the *Project* explorer, not in the *Model* explorer.

Camille Letavernier
Papyrus developer

[Updated on: Wed, 14 March 2012 14:51]

Report message to a moderator

Re: Remove the diagram file only [message #820783 is a reply to message #820763] Wed, 14 March 2012 15:02 Go to previous messageGo to next message
Yugi Muto is currently offline Yugi Muto
Messages: 33
Registered: February 2012
Member
Screenshot attached.
  • Attachment: probleme2.png
    (Size: 59.62KB, Downloaded 104 times)
Re: Remove the diagram file only [message #820787 is a reply to message #820783] Wed, 14 March 2012 15:07 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan Faure
Messages: 227
Registered: July 2009
Senior Member
Ok i understand Smile
you have selected the option from the "Model Explorer View"
do the same from the "Project Explorer View"

Regards
Re: Remove the diagram file only [message #820791 is a reply to message #820783] Wed, 14 March 2012 15:13 Go to previous messageGo to next message
Yugi Muto is currently offline Yugi Muto
Messages: 33
Registered: February 2012
Member
Camille Letavernier >
True :The "filters" option is in the *Project* explorer, not in the *Model* explorer.

But I don't found the "Di View" option.
See the new screenshot attached.

How can I get this Di view option?
Re: Remove the diagram file only [message #820816 is a reply to message #820791] Wed, 14 March 2012 15:52 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan Faure
Messages: 227
Registered: July 2009
Senior Member
Okay in fact you don't have the correct view sorry, it seems the filter is not present in your platform.
can you open a bug about it ?

Regards
Re: Remove the diagram file only [message #820821 is a reply to message #820816] Wed, 14 March 2012 16:00 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille Letavernier
Messages: 451
Registered: February 2011
Senior Member
Actually, on the last screenshot, you're using the *Package* explorer, and still not the *Project* explorer Smile

Camille Letavernier
Papyrus developer
Re: Remove the diagram file only [message #821314 is a reply to message #820821] Thu, 15 March 2012 07:34 Go to previous messageGo to next message
Yugi Muto is currently offline Yugi Muto
Messages: 33
Registered: February 2012
Member
Oops.
Ok now on the correct view: I can uncheck the "Di view" option.
Now, the di files are not agregated[1] bellow a common parent.
But it doesn't resolve my problem : when I delete the ".di" file, the ".uml" is automatically removed!

Is there a way to remove the .di file only?

Thank you.

[1]agregated : my firefox dictionary tells me to put 2 "g" to agregated like this "aggregated" and I see only one "g" in the description of the "Di view" option), probably a spelling error to report.

[Updated on: Thu, 15 March 2012 07:38]

Report message to a moderator

Re: Remove the diagram file only [message #854125 is a reply to message #821314] Mon, 23 April 2012 17:37 Go to previous message
Arnaud Cuccuru is currently offline Arnaud Cuccuru
Messages: 18
Registered: April 2010
Junior Member
Hi Yugi,

You can switch from the Papyrus perspective to another Eclipse perspective (e.g. Java perspective), and you should have no problem to delete only the .di file. This is obviously a trick, but I hope that this can help you.

Cheers,

Arnaud
Previous Topic:Cannot delete an Expansion Region from my anywhere
Next Topic:Papyrus cannot save my data - Lost all my models
Goto Forum:
  


Current Time: Mon Sep 15 02:21:21 GMT 2014

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

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