-
Aug 21st, 2006, 02:28 AM
#1
JideApplicationWindow
A quick note.
Since a recent refactoring the Jide integration does not work. In ApplicationWindow there are 2 new methods that needs to be overriden like this:
protected JComponent createWindowContentPane()
{
return null;
}
protected void setActivePage(ApplicationPage page){
getFrame().getDockingManager().removeAllFrames();
getFrame().getDockingManager().getWorkspace().remo veAll();
page.getControl();
loadLayoutData(page.getId());
}
This means that if you need to set up a new page you just call setActivePage with an existing JideApplicationPage.
If theres any one, like say Matthias, who has a thought about this being the right way of doing it give us a note. I return null from createWindowContentPane since Jide dockingmanager handles the content.
Cheers
Magnus
-
Aug 22nd, 2006, 01:24 AM
#2
The createWindowContentPane() method should not return null, but instead the root dockingport (or whatever it is called in Jide) from Jide.
hope this helps,
Peter
-
Aug 22nd, 2006, 11:21 AM
#3
Magnus
thanks for posting these changes, and thanks Peter for the clarification.
FYI. I'm planning on looking into bringing the Jide integration code level with the current rcp head sometime next month. It seems about time and I'll tag the current cvs contents as compatible with version 0.1.
I've made some other changes locally (such as a Maven2 migration) that'd I'd also like to commit and I'm hoping next month I'll have the time to do this. The recent changes to some of the binding/binder code will also effect some of the integration code.
Jonny
-
Aug 26th, 2006, 12:09 PM
#4
I really would like an update of the Jide integration. I update the sources nearly every day
.
-
Aug 27th, 2006, 03:28 PM
#5
Hi Shake
I've changed my Jide integration so it works without editors so It would be a bit of wok for me and I am vedry pressed for the moment. Maybe Jonny could handle this? Ask him if he got the time, otherwise its not that much work to get it up an running it just takes a bit of time to understand how it works. Ask away if you need some leads and I'll get back to you on it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules