Skip to main content



      Home
Home » Modeling » Graphiti » Graphiti opens multiple tabs for the same file
Graphiti opens multiple tabs for the same file [message #1043346] Wed, 17 April 2013 11:31 Go to next message
Eclipse UserFriend
HI.

I implemented an editor. but when I open the same file multiple times, it opens an editor tab for each open.

I tried to implement a FileEditorInput for my editor and implemented equals method, but the method is never invoked.

How can I solve this

Thanks in advance.
rui
Re: Graphiti opens multiple tabs for the same file [message #1046870 is a reply to message #1043346] Mon, 22 April 2013 09:31 Go to previous message
Eclipse UserFriend
Rui,

Graphiti uses a matchingStrategy to check for an altready opened editor for
a file (it is set in plugin.xml at the editor definition). The default is
org.eclipse.graphiti.ui.editor.DiagramEditorMatchingStrategy, maybe you need
to change it.

Michael
Previous Topic:Diagram disappears after saving when one tries to edit
Next Topic:hiding context menu entries
Goto Forum:
  


Current Time: Thu Jul 24 18:11:24 EDT 2025

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

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

Back to the top