Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Restrict diagrams to workspace projects
Restrict diagrams to workspace projects [message #146763] Thu, 16 August 2007 16:53 Go to next message
Eclipse UserFriend
Originally posted by: jacob.barde.swri.org

Is there a way to restrict the creation and editing of diagrams to
workspace projects only? Our application is being distributed as an RCP
application.

While attempting to implement SaveAs code from the Taipan/Mindmap
examples, I found it's code only likes to save out to workspace projects
folders. Since currently the application doesn't require this, I
thought we should go about adding that restriction anyway and thus
removing the headache of having to rewrite our own SaveAs routine, not
to mention it's an application requirement that is due on a later date.

Don't know if it matters, but our RCP app is built with a .product file
that uses the o.e.platform.ide and o.e.ui.ide.workbench as it's Product
ID and Application, respectively. This was done to include nice page
setup / print / print preview.

-Jacob
Re: Restrict diagrams to workspace projects [message #146951 is a reply to message #146763] Fri, 17 August 2007 06:38 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

You could try to find out UI components that are used to open and save
models and add filtering to them.

Jacob Barde wrote:
> Is there a way to restrict the creation and editing of diagrams to
> workspace projects only? Our application is being distributed as an RCP
> application.
>
> While attempting to implement SaveAs code from the Taipan/Mindmap
> examples, I found it's code only likes to save out to workspace projects
> folders. Since currently the application doesn't require this, I
> thought we should go about adding that restriction anyway and thus
> removing the headache of having to rewrite our own SaveAs routine, not
> to mention it's an application requirement that is due on a later date.
>
> Don't know if it matters, but our RCP app is built with a .product file
> that uses the o.e.platform.ide and o.e.ui.ide.workbench as it's Product
> ID and Application, respectively. This was done to include nice page
> setup / print / print preview.
>
> -Jacob
Previous Topic:Create a node after a drop action on the diagram
Next Topic:Creation tool creates both link and node??
Goto Forum:
  


Current Time: Tue Jul 22 02:45:56 EDT 2025

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

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

Back to the top