Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Refreshing the Palette whenever a new node is added(Refreshing the Palette whenever a new node is added)
Refreshing the Palette whenever a new node is added [message #876359] Thu, 24 May 2012 12:51 Go to next message
ganesh ram is currently offline ganesh ramFriend
Messages: 26
Registered: January 2012
Junior Member
Hi,

I populate the palette by reading from our DB.

I want to refresh the palette and show any new entries that might have been added.
(without closing the editor and Opening it again).

Assuming I know when ever a new row is added in the DB, how do i refresh the palette.

-Ganesh
Re: Refreshing the Palette whenever a new node is added [message #876776 is a reply to message #876359] Fri, 25 May 2012 09:11 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

how do you populate the palette? Do you do it by using java code? If yes you could place a public method in the generated xxxDiagramEditor which rebuilds the palette. This works perfect for me. Can you be a bit more detailed on your implementation that would help giving you better advice.

Ralph
Previous Topic:Connections can't be made
Next Topic:Property Sheet validator
Goto Forum:
  


Current Time: Tue Jan 14 04:34:55 GMT 2025

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

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

Back to the top