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 FrameSidebarExtension
public static Collection<FrameSidebarAddonExtension> getAddons(ImmoToolProject project, Class parentClass)
public abstract Icon getIcon()
getIcon
in interface FrameSidebarExtension
public JPopupMenu getMenu()
getMenu
in interface FrameSidebarExtension
public String[] getRequiredPluginIds()
getRequiredPluginIds
in interface BasicExtension
public abstract String getTitle()
getTitle
in interface FrameSidebarExtension
public abstract String getTooltipText()
getTooltipText
in interface FrameSidebarExtension
public boolean isSystem()
isSystem
in interface FrameSidebarExtension
public void loadComponent(JComponent component)
loadComponent
in interface FrameSidebarExtension
public 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 FrameSidebarExtension
public void unregister()
unregister
in interface FrameSidebarExtension
Copyright © 2015 OpenEstate. All rights reserved.