Skip to main content



      Home
Home » Modeling » Papyrus » Remove the diagram file only
Remove the diagram file only [message #819767] Tue, 13 March 2012 05:55 Go to next message
Eclipse UserFriend
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 08:29 Go to previous messageGo to next message
Eclipse UserFriend
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 09:40 Go to previous messageGo to next message
Eclipse UserFriend
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 09:41] by Moderator

Re: Remove the diagram file only [message #820726 is a reply to message #820722] Wed, 14 March 2012 09:47 Go to previous messageGo to next message
Eclipse UserFriend
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 10:33 Go to previous messageGo to next message
Eclipse UserFriend
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 10:42 Go to previous messageGo to next message
Eclipse UserFriend
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 10:51 Go to previous messageGo to next message
Eclipse UserFriend
The "filters" option with the Di View is in the *Project* explorer, not in the *Model* explorer.

[Updated on: Wed, 14 March 2012 10:51] by Moderator

Re: Remove the diagram file only [message #820783 is a reply to message #820763] Wed, 14 March 2012 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Screenshot attached.
  • Attachment: probleme2.png
    (Size: 59.62KB, Downloaded 287 times)
Re: Remove the diagram file only [message #820787 is a reply to message #820783] Wed, 14 March 2012 11:07 Go to previous messageGo to next message
Eclipse UserFriend
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 11:13 Go to previous messageGo to next message
Eclipse UserFriend
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?
  • Attachment: probleme3.png
    (Size: 66.13KB, Downloaded 292 times)
Re: Remove the diagram file only [message #820816 is a reply to message #820791] Wed, 14 March 2012 11:52 Go to previous messageGo to next message
Eclipse UserFriend
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 12:00 Go to previous messageGo to next message
Eclipse UserFriend
Actually, on the last screenshot, you're using the *Package* explorer, and still not the *Project* explorer Smile
Re: Remove the diagram file only [message #821314 is a reply to message #820821] Thu, 15 March 2012 03:34 Go to previous messageGo to next message
Eclipse UserFriend
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 03:38] by Moderator

Re: Remove the diagram file only [message #854125 is a reply to message #821314] Mon, 23 April 2012 13:37 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 14:24:39 EDT 2025

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

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

Back to the top