Class AgencyFrameSidebarExtension
- java.lang.Object
-
- com.openindex.openestate.tool.extensions.FrameSidebarAdapter
-
- com.openindex.openestate.tool.agency.AgencyFrameSidebarExtension
-
- All Implemented Interfaces:
BasicExtension,FrameSidebarExtension,org.pf4j.ExtensionPoint
@Extension(points=FrameSidebarExtension.class) public class AgencyFrameSidebarExtension extends FrameSidebarAdapter
AgencyFrameSidebarExtension.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgencyFrameSidebarExtension.Treestatic classAgencyFrameSidebarExtension.TreeNode
-
Field Summary
Fields Modifier and Type Field Description static intMENU_ADDstatic intMENU_ADD_BEGINstatic intMENU_ADD_CONTACTstatic intMENU_ADD_ENDstatic intMENU_ADD_ESTATEstatic intMENU_ADD_EXPORTstatic intMENU_ADD_SEARCHstatic intMENU_BEGINstatic intMENU_ELSEstatic intMENU_ELSE_BEGINstatic intMENU_ELSE_ENDstatic intMENU_ELSE_EXPORT_CANCELstatic intMENU_ELSE_EXPORT_LOADstatic intMENU_ELSE_PROPERTY_LOADstatic intMENU_ELSE_PROPERTY_SAVEstatic intMENU_ENDstatic intMENU_REFRESHstatic intMENU_SELECTION
-
Constructor Summary
Constructors Constructor Description AgencyFrameSidebarExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponentcreateComponent()static TreeModelcreateTreeModel(ImmoToolProject project, Connection c, DbAgencyExportsHandler exportsHandler, DbAgencySearchesHandler searchesHandler)static AbstractButtongetCurrentSidebarButton()static AgencyFrameSidebarExtension.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_ESTATE
public static final int MENU_ADD_ESTATE
- See Also:
- Constant Field Values
-
MENU_ADD_SEARCH
public static final int MENU_ADD_SEARCH
- See Also:
- Constant Field Values
-
MENU_ADD_CONTACT
public static final int MENU_ADD_CONTACT
- See Also:
- Constant Field Values
-
MENU_ADD_EXPORT
public static final int MENU_ADD_EXPORT
- 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_PROPERTY_LOAD
public static final int MENU_ELSE_PROPERTY_LOAD
- See Also:
- Constant Field Values
-
MENU_ELSE_PROPERTY_SAVE
public static final int MENU_ELSE_PROPERTY_SAVE
- See Also:
- Constant Field Values
-
MENU_ELSE_EXPORT_CANCEL
public static final int MENU_ELSE_EXPORT_CANCEL
- See Also:
- Constant Field Values
-
MENU_ELSE_EXPORT_LOAD
public static final int MENU_ELSE_EXPORT_LOAD
- 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, DbAgencyExportsHandler exportsHandler, DbAgencySearchesHandler searchesHandler) throws SQLException
- Throws:
SQLException
-
getCurrentSidebarButton
public static AbstractButton getCurrentSidebarButton()
-
getCurrentSidebarTree
public static AgencyFrameSidebarExtension.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
-
-