Class ContactsFrameSidebarExtension
- java.lang.Object
-
- com.openindex.openestate.tool.extensions.FrameSidebarAdapter
-
- com.openindex.openestate.tool.contacts.ContactsFrameSidebarExtension
-
- All Implemented Interfaces:
BasicExtension
,FrameSidebarExtension
,org.pf4j.ExtensionPoint
@Extension(points=FrameSidebarExtension.class) public class ContactsFrameSidebarExtension extends FrameSidebarAdapter
ContactsFrameSidebarExtension.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContactsFrameSidebarExtension.Tree
static class
ContactsFrameSidebarExtension.TreeNode
-
Field Summary
Fields Modifier and Type Field Description static int
MENU_ADD
static int
MENU_ADD_BEGIN
static int
MENU_ADD_END
static int
MENU_ADD_ENTRY
static int
MENU_ADD_GROUP
static int
MENU_BEGIN
static int
MENU_ELSE
static int
MENU_ELSE_BEGIN
static int
MENU_ELSE_BULK
static int
MENU_ELSE_END
static int
MENU_ELSE_EXPORT
static int
MENU_ELSE_IMPORT
static int
MENU_END
static int
MENU_REFRESH
static int
MENU_SELECTION
-
Constructor Summary
Constructors Constructor Description ContactsFrameSidebarExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
createComponent()
static TreeModel
createTreeModel(ImmoToolProject project, Connection c, DbContactsHandler dbContactsHandler)
static AbstractButton
getCurrentSidebarButton()
static ContactsFrameSidebarExtension.Tree
getCurrentSidebarTree()
Icon
getIcon()
JPopupMenu
getMenu()
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, getRequiredPluginIds, 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_ENTRY
public static final int MENU_ADD_ENTRY
- See Also:
- Constant Field Values
-
MENU_ADD_GROUP
public static final int MENU_ADD_GROUP
- 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_ELSE
public static final int MENU_ELSE
- See Also:
- Constant Field Values
-
MENU_ELSE_BEGIN
public static final int MENU_ELSE_BEGIN
- See Also:
- Constant Field Values
-
MENU_ELSE_IMPORT
public static final int MENU_ELSE_IMPORT
- See Also:
- Constant Field Values
-
MENU_ELSE_EXPORT
public static final int MENU_ELSE_EXPORT
- See Also:
- Constant Field Values
-
MENU_ELSE_BULK
public static final int MENU_ELSE_BULK
- See Also:
- Constant Field Values
-
MENU_ELSE_END
public static final int MENU_ELSE_END
- 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, DbContactsHandler dbContactsHandler) throws SQLException
- Throws:
SQLException
-
getCurrentSidebarButton
public static AbstractButton getCurrentSidebarButton()
-
getCurrentSidebarTree
public static ContactsFrameSidebarExtension.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
-
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
-
-