Results 1 to 1 of 1
- 10-24-2008, 09:24 PM #1
Updating a view using actions in a seperate view
Hey I'm having trouble getting my head around the idea of listeners and how to refresh a view when an action within a separate view is called. Right now I have a navigation view that looks like this
This NavigationView is created on startup from a createDummyView method. I have 4 actions (NewServer, NewAsset, NewDeployment, NewBuild). File--New--Server activates the NewServerView to the right of NavigationView. I have a form to enter the name of the new server and once the enter button is clicked it's supposed to create a new server, attach it to the group Server, and refresh the NavigationView window. I know the Server constructor is called when the button is activated but I have no real idea how to refresh the NavigationView window to display it. I'd be happy to attach some more code or email you the entire project if anyone can help.Java Code:+Server +Westchase -DEV -Stage -Production +Asset -Some asset +Deployment - Location +Build -Location
Similar Threads
-
View Corner
By BogdanNb in forum SWT / JFaceReplies: 0Last Post: 07-25-2008, 02:44 PM -
can we view .dll files??
By freddieMaize in forum Advanced JavaReplies: 6Last Post: 06-19-2008, 07:33 AM -
Eclipse plugin with a view
By gaspard in forum EclipseReplies: 0Last Post: 03-11-2008, 10:31 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks