Class CrmFrameSidebarExtension
- java.lang.Object
-
- com.openindex.openestate.tool.extensions.FrameSidebarAdapter
-
- com.openindex.openestate.tool.crm.CrmFrameSidebarExtension
-
- All Implemented Interfaces:
BasicExtension
,FrameSidebarExtension
,org.pf4j.ExtensionPoint
@Extension(points=FrameSidebarExtension.class) public class CrmFrameSidebarExtension extends FrameSidebarAdapter
CrmFrameSidebarExtension.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CrmFrameSidebarExtension.Tree
static class
CrmFrameSidebarExtension.TreeNode
-
Field Summary
Fields Modifier and Type Field Description static int
MENU_ADD
static int
MENU_ADD_ACTIVITY
static int
MENU_ADD_BEGIN
static int
MENU_ADD_END
static int
MENU_ADD_MARKETING
static int
MENU_BEGIN
static int
MENU_END
static int
MENU_REFRESH
static int
MENU_SELECTION
-
Constructor Summary
Constructors Constructor Description CrmFrameSidebarExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
createComponent()
static TreeModel
createTreeModel(ImmoToolProject project, Connection c, DbCrmMarketingHandler dbMarketingHandler)
static AbstractButton
getCurrentSidebarButton()
static CrmFrameSidebarExtension.Tree
getCurrentSidebarTree()
Icon
getIcon()
JPopupMenu
getMenu()
String[]
getRequiredPluginIds()
String
getTitle()
String
getTooltipText()
void
loadComponent(JComponent component)
void
register(JComponent component, AbstractButton button)
void
unregister()
-
Methods inherited from class com.openindex.openestate.tool.extensions.FrameSidebarAdapter
getAddons, isSystem, loadMenu, loadMenu
-
-
-
-
Field Detail
-
MENU_BEGIN
public static final int MENU_BEGIN
- See Also:
- Constant Field Values
-
MENU_REFRESH
public static final int MENU_REFRESH
- See Also:
- Constant Field Values
-
MENU_ADD
public static final int MENU_ADD
- See Also:
- Constant Field Values
-
MENU_ADD_BEGIN
public static final int MENU_ADD_BEGIN
- See Also:
- Constant Field Values
-
MENU_ADD_ACTIVITY
public static final int MENU_ADD_ACTIVITY
- See Also:
- Constant Field Values
-
MENU_ADD_MARKETING
public static final int MENU_ADD_MARKETING
- See Also:
- Constant Field Values
-
MENU_ADD_END
public static final int MENU_ADD_END
- See Also:
- Constant Field Values
-
MENU_SELECTION
public static final int MENU_SELECTION
- See Also:
- Constant Field Values
-
MENU_END
public static final int MENU_END
- See Also:
- Constant Field Values
-
-
Method Detail
-
createComponent
public JComponent createComponent()
- Specified by:
createComponent
in interfaceFrameSidebarExtension
- Specified by:
createComponent
in classFrameSidebarAdapter
-
createTreeModel
public static TreeModel createTreeModel(ImmoToolProject project, Connection c, DbCrmMarketingHandler dbMarketingHandler) throws SQLException
- Throws:
SQLException
-
getCurrentSidebarButton
public static AbstractButton getCurrentSidebarButton()
-
getCurrentSidebarTree
public static CrmFrameSidebarExtension.Tree getCurrentSidebarTree()
-
getIcon
public Icon getIcon()
- Specified by:
getIcon
in interfaceFrameSidebarExtension
- Specified by:
getIcon
in classFrameSidebarAdapter
-
getMenu
public JPopupMenu getMenu()
- Specified by:
getMenu
in interfaceFrameSidebarExtension
- Overrides:
getMenu
in classFrameSidebarAdapter
-
getRequiredPluginIds
public String[] getRequiredPluginIds()
- Specified by:
getRequiredPluginIds
in interfaceBasicExtension
- Overrides:
getRequiredPluginIds
in classFrameSidebarAdapter
-
getTitle
public String getTitle()
- Specified by:
getTitle
in interfaceFrameSidebarExtension
- Specified by:
getTitle
in classFrameSidebarAdapter
-
getTooltipText
public String getTooltipText()
- Specified by:
getTooltipText
in interfaceFrameSidebarExtension
- Specified by:
getTooltipText
in classFrameSidebarAdapter
-
loadComponent
public void loadComponent(JComponent component)
- Specified by:
loadComponent
in interfaceFrameSidebarExtension
- Overrides:
loadComponent
in classFrameSidebarAdapter
-
register
public void register(JComponent component, AbstractButton button)
- Specified by:
register
in interfaceFrameSidebarExtension
- Overrides:
register
in classFrameSidebarAdapter
-
unregister
public void unregister()
- Specified by:
unregister
in interfaceFrameSidebarExtension
- Overrides:
unregister
in classFrameSidebarAdapter
-
-