Hi,
I’ve been working around with DockingFrames, and SingleCDockable works just fine ! thank you.
But I’m having trouble working with CStation, and I must missing something, so here is my question:
I wan’t to build a simple CContentArea, and within this CContentArea, I wan’t a CWorkingArea (just like Eclipse )
Call me silly, but I can’t figure out how to do this simple thing !!
dock = new CControl(frame);
ThemeMap themes = dock.getThemes();
themes.select(ThemeMap.KEY_ECLIPSE_THEME);
CContentArea content = dock.getContentArea();
frame.getContentPane().add(content);
CWorkingArea working = dock.createWorkingArea(„editors“);
working.setVisible(true);
And later I „add“ some SingleCDockable:
dockable = new DefaultSingleCDockable(getClass().getName(), null);
dockable.setTitleText(listRenderer.getText());
dockable.setTitleIcon(listRenderer.getIcon());
dockable.setTitleToolTip(listRenderer.getToolTipText());
dockable.getContentPane().add(dockPanel);
dock.add(dockable);
But, hey ! nothing like a working area is displayed !
Can you tell me what I’m obviously mising ?
Regards