01: package org.columba.api.gui;
02:
03: import org.columba.api.gui.frame.IFrameMediator;
04:
05: public interface IAbstractColumbaAction {
06:
07: /**
08: * special label for toolbar buttons which is smaller
09: * than the regular label
10: *
11: * Example: Reply to Sender -> Reply
12: *
13: */
14: public static final String TOOLBAR_NAME = "ToolbarName";
15:
16: /**
17: * The toolbar uses the large icon, whereas menuitems
18: * use the small one.
19: *
20: */
21: public static final String LARGE_ICON = "LargeIcon";
22:
23: /**
24: * JavaHelp topic ID
25: */
26: public static final String TOPIC_ID = "TopicID";
27:
28: /**
29: * Returns the frame controller
30: *
31: * @return FrameController
32: */
33: IFrameMediator getFrameMediator();
34:
35: /**
36: * Sets the frameMediator.
37: *
38: * @param frameMediator
39: */
40: void setFrameMediator(IFrameMediator frameController);
41:
42: /**
43: * Return true if toolbar text should be visible
44: *
45: * @return boolean true, if toolbar text should be enabled, false otherwise
46: *
47: */
48: boolean isShowToolBarText();
49:
50: /**
51: * Sets whether the toolbar text should be visible or not.
52: *
53: * @param showToolbarText
54: */
55: void setShowToolBarText(boolean showToolbarText);
56:
57: }
|