|
|
Re: Disable the duplication of a perspective by dragging [message #447673 is a reply to message #447663] |
Wed, 12 April 2006 11:50 |
|
Stephane wrote:
> Nobody ? I really need help on this point. If I were not clear, I could
> better describe my problem.
Your problem as stated, you cannot disable this duplication of
perspectives, unless you remove new window and the perspective switcher
from your RCP app.
Your actual problem is you cannot have 2 editors open on your same
resource at the same time. I'd try and fix that problem.
Option 1: move to an MVC pattern, like the text editors. They take
their editor input and ask a document provider for their document. The
document provider will hand back the same document model for the same
editor input. Now both editors are working on the same model, and
property change events cause both editors to update their info at the
same time.
Option 2: Manage your list of open resources, and if a request to open
an input that's already in your list occurs don't fully open your normal
editor, just open it with a message window saying "Resource already open
.... please contact your dealer."
Later,
PW
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
|
Powered by
FUDForum. Page generated in 0.13838 seconds