public class DockingContentCtrl extends Object
Modifier and Type | Field and Description |
---|---|
private org.noos.xing.mydoggy.plaf.ui.content.MyDoggyDesktopContentManagerUI |
contenManagerUI
The conten manager ui.
|
private org.noos.xing.mydoggy.ContentManager |
contentManager
The content manager.
|
private HashMap<String,DockableContent> |
dockableContents
The dockable contents.
|
private HashMap<String,DockableView> |
dockableViews
The dockable views.
|
private ClassLoader |
osgiClassLoader |
private ClassLoader |
threadClassLoader |
private org.noos.xing.mydoggy.plaf.MyDoggyToolWindowManager |
toolWindowManager
The tool window manager.
|
Constructor and Description |
---|
DockingContentCtrl()
Instantiates a new docking content manager.
|
Modifier and Type | Method and Description |
---|---|
JPanel |
getContentPanel() |
DockableContent |
getDockableContent(String id)
Gets the dockable content.
|
DockableView |
getDockableView(String id)
Gets the dockable view.
|
private org.noos.xing.mydoggy.Content |
makeContent(String id,
String title,
Icon icon,
Component component,
String tip)
Make content.
|
private org.noos.xing.mydoggy.ToolWindow |
makeToolWindow(String id,
String title,
Icon icon,
Component component,
View.VIEW_ANCHOR anchor,
View.VIEW_TYPE viewType)
Make tool window.
|
DockableContent |
registerContent(Content content)
Register content.
|
DockableView |
registerView(View view)
Register view.
|
void |
setRcaSwing(WindowCtrl guiController) |
void |
unRegisterContent(DockableContent content)
Un register content.
|
void |
unRegisterView(DockableView view)
Un register view.
|
private org.noos.xing.mydoggy.plaf.ui.content.MyDoggyDesktopContentManagerUI contenManagerUI
private org.noos.xing.mydoggy.plaf.MyDoggyToolWindowManager toolWindowManager
private org.noos.xing.mydoggy.ContentManager contentManager
private HashMap<String,DockableContent> dockableContents
private HashMap<String,DockableView> dockableViews
private final ClassLoader osgiClassLoader
private final ClassLoader threadClassLoader
public DockingContentCtrl()
public JPanel getContentPanel()
public DockableContent getDockableContent(String id) throws NoSuchElementException
id
- the idNoSuchElementException
- the no such element exceptionpublic DockableView getDockableView(String id) throws NoSuchElementException
id
- the idNoSuchElementException
- the no such element exceptionpublic DockableContent registerContent(Content content) throws IllegalArgumentException
content
- the contentIllegalArgumentException
- the illegal argument exceptionpublic void unRegisterContent(DockableContent content) throws IllegalArgumentException
content
- the contentIllegalArgumentException
- the illegal argument exceptionpublic DockableView registerView(View view) throws IllegalArgumentException
view
- the viewIllegalArgumentException
- the illegal argument exceptionpublic void unRegisterView(DockableView view) throws IllegalArgumentException
view
- the viewIllegalArgumentException
- the illegal argument exceptionprivate org.noos.xing.mydoggy.ToolWindow makeToolWindow(String id, String title, Icon icon, Component component, View.VIEW_ANCHOR anchor, View.VIEW_TYPE viewType) throws IllegalArgumentException
id
- the idtitle
- the titleicon
- the iconcomponent
- the componentanchor
- the anchorviewType
- the view typeIllegalArgumentException
- the illegal argument exceptionprivate org.noos.xing.mydoggy.Content makeContent(String id, String title, Icon icon, Component component, String tip) throws IllegalArgumentException
id
- the idtitle
- the titleicon
- the iconcomponent
- the componenttip
- the tipIllegalArgumentException
- the illegal argument exceptionpublic void setRcaSwing(WindowCtrl guiController)
Copyright © 2014 www.staniscia.net. All Rights Reserved.