Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 19:09 Go to next message
Mike Reyes is currently offline Mike ReyesFriend
Messages: 1
Registered: August 2013
Junior Member

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 20:03 Go to previous message
Eric Moffatt is currently offline Eric MoffattFriend
Messages: 118
Registered: July 2009
Senior Member

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: Sat Apr 20 06:54:26 GMT 2024

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

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

Back to the top