Class FrameSidebarAdapter
- java.lang.Object
-
- com.openindex.openestate.tool.extensions.FrameSidebarAdapter
-
- All Implemented Interfaces:
BasicExtension,FrameSidebarExtension,org.pf4j.ExtensionPoint
- Direct Known Subclasses:
AgencyFrameSidebarExtension,CalendarFrameSidebarExtension,ContactsFrameSidebarExtension,CrmFrameSidebarExtension,DatabaseFrameSidebarExtension,MailFrameSidebarExtension,ManualFrameSidebarExtension,NewsFrameSidebarExtension
public abstract class FrameSidebarAdapter extends Object implements FrameSidebarExtension
FrameSidebarAdapter.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description FrameSidebarAdapter()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract JComponentcreateComponent()static Collection<FrameSidebarAddonExtension>getAddons(ImmoToolProject project, Class parentClass)abstract IcongetIcon()JPopupMenugetMenu()String[]getRequiredPluginIds()abstract StringgetTitle()abstract StringgetTooltipText()booleanisSystem()voidloadComponent(JComponent component)static voidloadMenu(JMenu menu, int position, SidebarTreeNode selectedNode, Collection<FrameSidebarAddonExtension> addons)static voidloadMenu(JPopupMenu menu, int position, SidebarTreeNode selectedNode, Collection<FrameSidebarAddonExtension> addons)voidregister(JComponent component, AbstractButton button)voidunregister()
-
-
-
Method Detail
-
createComponent
public abstract JComponent createComponent()
- Specified by:
createComponentin interfaceFrameSidebarExtension
-
getAddons
public static Collection<FrameSidebarAddonExtension> getAddons(ImmoToolProject project, Class parentClass)
-
getIcon
public abstract Icon getIcon()
- Specified by:
getIconin interfaceFrameSidebarExtension
-
getMenu
public JPopupMenu getMenu()
- Specified by:
getMenuin interfaceFrameSidebarExtension
-
getRequiredPluginIds
public String[] getRequiredPluginIds()
- Specified by:
getRequiredPluginIdsin interfaceBasicExtension
-
getTitle
public abstract String getTitle()
- Specified by:
getTitlein interfaceFrameSidebarExtension
-
getTooltipText
public abstract String getTooltipText()
- Specified by:
getTooltipTextin interfaceFrameSidebarExtension
-
isSystem
public boolean isSystem()
- Specified by:
isSystemin interfaceFrameSidebarExtension
-
loadComponent
public void loadComponent(JComponent component)
- Specified by:
loadComponentin interfaceFrameSidebarExtension
-
loadMenu
public static void loadMenu(JMenu menu, int position, SidebarTreeNode selectedNode, Collection<FrameSidebarAddonExtension> addons)
-
loadMenu
public static void loadMenu(JPopupMenu menu, int position, SidebarTreeNode selectedNode, Collection<FrameSidebarAddonExtension> addons)
-
register
public void register(JComponent component, AbstractButton button)
- Specified by:
registerin interfaceFrameSidebarExtension
-
unregister
public void unregister()
- Specified by:
unregisterin interfaceFrameSidebarExtension
-
-