Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Support for Sharing State Objects across Editors?
Support for Sharing State Objects across Editors? [message #1080299] Mon, 05 August 2013 15:09 Go to next message
Eclipse UserFriend

We have requirements for sharing state objects across multiple editors and would like to know if Eclipse has a framework already in place.

Our basic requirements are:

Let's say we have 5 editors open that each contains a state object that for simplicity we'll call Background Color. A UI is shown that allows the user to share this state across the various editors. In this case for Background Color, the user has shared Editor 1 and Editor 2 together and Editor 3 and Editor 4 together. Editor 5 remains unshared.

The resulting behavior is that if the user has Editor 1 active and changes the Background Color then Editor 2's Background Color also changes. If Editor 4's Background Color changes then Editor 3's state also changes. Since Editor 5 is unshared a change to its Background Color affects no other editors.

This functionality is needed for multiple state objects which each can have its own editor share configuration with the ability to dynamically change that editor share configuration at runtime.

Any info on current or future framework for this functionality is appreciated.

Mike
Re: Support for Sharing State Objects across Editors? [message #1110372 is a reply to message #1080299] Mon, 16 September 2013 16:03 Go to previous message
Eclipse UserFriend

AFAIK there isn't any defined 'service' to do this. Since by definition all these editors have to know about each other it shouldn't be too hard to rig up some service of your own though...
Previous Topic:Use PartDescriptor to create an input part
Next Topic:Eclipse4 crash in redHat 2.6.32-220.2.1.el6.x86_64
Goto Forum:
  


Current Time: Mon Jul 07 11:26:36 EDT 2025

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

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

Back to the top