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 class
MailFrameSidebarExtension.MailListener
static class
MailFrameSidebarExtension.Tree
static class
MailFrameSidebarExtension.TreeNode
-
Field Summary
Fields Modifier and Type Field Description static DataFlavor
MAIL_FOLDER_ID_FLAVOR
static DataFlavor
MAIL_MESSAGE_ID_FLAVOR
static int
MENU_BEGIN
static int
MENU_COMPOSE
static int
MENU_ELSE
static int
MENU_ELSE_BEGIN
static int
MENU_ELSE_END
static int
MENU_ELSE_IMPORT_ACCOUNT
static int
MENU_ELSE_IMPORT_MESSAGE
static int
MENU_END
static int
MENU_LOOKUP
static int
MENU_REFRESH
static int
MENU_SELECTION
-
Constructor Summary
Constructors Constructor Description MailFrameSidebarExtension()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
createComponent()
static AbstractButton
getCurrentSidebarButton()
static MailFrameSidebarExtension.Tree
getCurrentSidebarTree()
Icon
getIcon()
JPopupMenu
getMenu()
String
getTitle()
String
getTooltipText()
void
register(JComponent component, AbstractButton button)
void
unregister()
-
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:
createComponent
in interfaceFrameSidebarExtension
- Specified by:
createComponent
in classFrameSidebarAdapter
-
getCurrentSidebarButton
public static AbstractButton getCurrentSidebarButton()
-
getCurrentSidebarTree
public static MailFrameSidebarExtension.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
-
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
-
-