Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Apply changes to all the figures(Efficient method to do a common change in all figures)
Apply changes to all the figures [message #1775904] Wed, 08 November 2017 04:09 Go to next message
kalyan s is currently offline kalyan sFriend
Messages: 5
Registered: November 2017
Junior Member
Hi,

I am a new comer to this forum and to GEF as well.
Am still using GEF3.10 version on eclipse mars.

Am trying to develop a RCP e4 application with a GEF based viewer in it.

Currently I have written a code that can show for example, 3 rectangular figures.
Each figure, within it shows three properties, Say name,age and gender.
These node/figures are connected.

My doubt is how to handle a scenario where I need to hide or show in all these figures/nodes certain values, like, Hide Gender Details everywhere..

In my actual scenario I have more than 100s of such nodes.

Can some one suggest me the efficient way to do this?

Thanks in advance.
Re: Apply changes to all the figures [message #1776227 is a reply to message #1775904] Tue, 14 November 2017 07:20 Go to previous messageGo to next message
Alexander Nyssen is currently offline Alexander NyssenFriend
Messages: 235
Registered: July 2009
Location: L√ľnen
Senior Member
Can you try to sketch a bit more what you are heading for?
Re: Apply changes to all the figures [message #1776247 is a reply to message #1776227] Tue, 14 November 2017 12:07 Go to previous message
kalyan s is currently offline kalyan sFriend
Messages: 5
Registered: November 2017
Junior Member
Hi,

Sorry..
let me try to elaborate the issue....

I am developing an application with GEF(legacy) on e4.
The application needs to give a visual presentation of the family tree of a particular family.
The family could have close to 100 members.

Now each family member has some set of characterstics like
Name
Age
gender
Spouse of
DOB
alive or dead
etc etc...

Now I have done this and as a naive developer I have shown all the properties(characterstics) of the person.
Now the UI person of team had put a requirement that the properties shown must be configurable.

I can give a dialogue to the user, where he ticks the characterstics that one wants to see in the GEF based tree.
I can save the set of properties in a location accessible to the model/parts for visibility decision.

Since the changes have to be applied to all the figures, I wanted to know what what is the naive way?? and the right way??
Naive way is ok, as of today it can work, but then when we move to a family of large members( in thousands) the right way is preferable.

I hope I was able to give some details...

Thanks in advance.

kalyan.
Previous Topic:[GEF5] AbstractVisualPart activate while addChild
Next Topic:Advice on migrating an app from GEF 3 to GEF 5 (MVC)
Goto Forum:
  


Current Time: Sun Nov 18 08:01:52 GMT 2018

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

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

Back to the top