Class MailFrameSidebarExtension
- java.lang.Object
-
- com.openindex.openestate.tool.extensions.FrameSidebarAdapter
-
- com.openindex.openestate.tool.mail.MailFrameSidebarExtension
-
- All Implemented Interfaces:
BasicExtension,FrameSidebarExtension,org.pf4j.ExtensionPoint
@Extension(points=FrameSidebarExtension.class) public class MailFrameSidebarExtension extends FrameSidebarAdapter
MailFrameSidebarExtension.- Author:
- Andreas Rudolph
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMailFrameSidebarExtension.MailListenerstatic classMailFrameSidebarExtension.Treestatic classMailFrameSidebarExtension.TreeNode
-
Field Summary
Fields Modifier and Type Field Description static DataFlavorMAIL_FOLDER_ID_FLAVORstatic DataFlavorMAIL_MESSAGE_ID_FLAVORstatic intMENU_BEGINstatic intMENU_COMPOSEstatic intMENU_ELSEstatic intMENU_ELSE_BEGINstatic intMENU_ELSE_ENDstatic intMENU_ELSE_IMPORT_ACCOUNTstatic intMENU_ELSE_IMPORT_MESSAGEstatic intMENU_ENDstatic intMENU_LOOKUPstatic intMENU_REFRESHstatic intMENU_SELECTION
-
Constructor Summary
Constructors Constructor Description MailFrameSidebarExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponentcreateComponent()static AbstractButtongetCurrentSidebarButton()static MailFrameSidebarExtension.TreegetCurrentSidebarTree()IcongetIcon()JPopupMenugetMenu()StringgetTitle()StringgetTooltipText()voidregister(JComponent component, AbstractButton button)voidunregister()-
Methods inherited from class com.openindex.openestate.tool.extensions.FrameSidebarAdapter
getAddons, getRequiredPluginIds, isSystem, loadComponent, loadMenu, loadMenu
-
-
-
-
Field Detail
-
MAIL_FOLDER_ID_FLAVOR
public static final DataFlavor MAIL_FOLDER_ID_FLAVOR
-
MAIL_MESSAGE_ID_FLAVOR
public static final DataFlavor MAIL_MESSAGE_ID_FLAVOR
-
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_LOOKUP
public static final int MENU_LOOKUP
- See Also:
- Constant Field Values
-
MENU_COMPOSE
public static final int MENU_COMPOSE
- 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_MESSAGE
public static final int MENU_ELSE_IMPORT_MESSAGE
- See Also:
- Constant Field Values
-
MENU_ELSE_IMPORT_ACCOUNT
public static final int MENU_ELSE_IMPORT_ACCOUNT
- 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
-
getCurrentSidebarButton
public static AbstractButton getCurrentSidebarButton()
-
getCurrentSidebarTree
public static MailFrameSidebarExtension.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
-
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
-
-