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 classContactsFrameSidebarExtension.Treestatic classContactsFrameSidebarExtension.TreeNode
-
Field Summary
Fields Modifier and Type Field Description static intMENU_ADDstatic intMENU_ADD_BEGINstatic intMENU_ADD_ENDstatic intMENU_ADD_ENTRYstatic intMENU_ADD_GROUPstatic intMENU_BEGINstatic intMENU_ELSEstatic intMENU_ELSE_BEGINstatic intMENU_ELSE_BULKstatic intMENU_ELSE_ENDstatic intMENU_ELSE_EXPORTstatic intMENU_ELSE_IMPORTstatic intMENU_ENDstatic intMENU_REFRESHstatic intMENU_SELECTION
-
Constructor Summary
Constructors Constructor Description ContactsFrameSidebarExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponentcreateComponent()static TreeModelcreateTreeModel(ImmoToolProject project, Connection c, DbContactsHandler dbContactsHandler)static AbstractButtongetCurrentSidebarButton()static ContactsFrameSidebarExtension.TreegetCurrentSidebarTree()IcongetIcon()JPopupMenugetMenu()StringgetTitle()StringgetTooltipText()voidloadComponent(JComponent component)voidregister(JComponent component, AbstractButton button)voidunregister()-
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:
createComponentin interfaceFrameSidebarExtension- Specified by:
createComponentin 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:
getIconin interfaceFrameSidebarExtension- Specified by:
getIconin classFrameSidebarAdapter
-
getMenu
public JPopupMenu getMenu()
- Specified by:
getMenuin interfaceFrameSidebarExtension- Overrides:
getMenuin classFrameSidebarAdapter
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceFrameSidebarExtension- Specified by:
getTitlein classFrameSidebarAdapter
-
getTooltipText
public String getTooltipText()
- Specified by:
getTooltipTextin interfaceFrameSidebarExtension- Specified by:
getTooltipTextin classFrameSidebarAdapter
-
loadComponent
public void loadComponent(JComponent component)
- Specified by:
loadComponentin interfaceFrameSidebarExtension- Overrides:
loadComponentin classFrameSidebarAdapter
-
register
public void register(JComponent component, AbstractButton button)
- Specified by:
registerin interfaceFrameSidebarExtension- Overrides:
registerin classFrameSidebarAdapter
-
unregister
public void unregister()
- Specified by:
unregisterin interfaceFrameSidebarExtension- Overrides:
unregisterin classFrameSidebarAdapter
-
-