public abstract class FrameSidebarAdapter extends Object implements FrameSidebarExtension
ID| Constructor and Description |
|---|
FrameSidebarAdapter() |
| Modifier and Type | Method and Description |
|---|---|
abstract JComponent |
createComponent() |
static Collection<FrameSidebarAddonExtension> |
getAddons(ImmoToolProject project,
Class parentClass) |
abstract Icon |
getIcon() |
JPopupMenu |
getMenu() |
String[] |
getRequiredPluginIds() |
abstract String |
getTitle() |
abstract String |
getTooltipText() |
boolean |
isSystem() |
void |
loadComponent(JComponent component) |
static void |
loadMenu(JMenu menu,
int position,
SidebarTreeNode selectedNode,
Collection<FrameSidebarAddonExtension> addons) |
static void |
loadMenu(JPopupMenu menu,
int position,
SidebarTreeNode selectedNode,
Collection<FrameSidebarAddonExtension> addons) |
void |
register(JComponent component,
AbstractButton button) |
void |
unregister() |
public abstract JComponent createComponent()
createComponent in interface FrameSidebarExtensionpublic static Collection<FrameSidebarAddonExtension> getAddons(ImmoToolProject project, Class parentClass)
public abstract Icon getIcon()
getIcon in interface FrameSidebarExtensionpublic JPopupMenu getMenu()
getMenu in interface FrameSidebarExtensionpublic String[] getRequiredPluginIds()
getRequiredPluginIds in interface BasicExtensionpublic abstract String getTitle()
getTitle in interface FrameSidebarExtensionpublic abstract String getTooltipText()
getTooltipText in interface FrameSidebarExtensionpublic boolean isSystem()
isSystem in interface FrameSidebarExtensionpublic void loadComponent(JComponent component)
loadComponent in interface FrameSidebarExtensionpublic static void loadMenu(JMenu menu, int position, SidebarTreeNode selectedNode, Collection<FrameSidebarAddonExtension> addons)
public static void loadMenu(JPopupMenu menu, int position, SidebarTreeNode selectedNode, Collection<FrameSidebarAddonExtension> addons)
public void register(JComponent component, AbstractButton button)
register in interface FrameSidebarExtensionpublic void unregister()
unregister in interface FrameSidebarExtensionCopyright © 2015 OpenEstate. All rights reserved.