de.jtem.jrworkspace.plugin.aggregators
Class ToolBarAggregator
java.lang.Object
de.jtem.jrworkspace.plugin.Plugin
de.jtem.jrworkspace.plugin.aggregators.ToolBarAggregator
- All Implemented Interfaces:
- ToolBarFlavor
public abstract class ToolBarAggregator
- extends Plugin
- implements ToolBarFlavor
ToolBarAggregator
public ToolBarAggregator()
addAction
public void addAction(Class<?> context,
double priority,
Action a)
addSeparator
public void addSeparator(Class<?> context,
double priority)
addTool
public void addTool(Class<?> context,
double priority,
Component c)
getToolBarComponent
public Component getToolBarComponent()
- Description copied from interface:
ToolBarFlavor
- Returns a tool-bar component usually this is a
JToolBar
- Specified by:
getToolBarComponent
in interface ToolBarFlavor
- Returns:
getToolBarPriority
public double getToolBarPriority()
- Description copied from interface:
ToolBarFlavor
- The tool-bar priority. If there are more that one tool-bar
installed the tool-bar get sorted according to this priority.
If
JToolBar
s are used the user can change the
- Specified by:
getToolBarPriority
in interface ToolBarFlavor
- Returns:
removeAction
public void removeAction(Class<?> context,
Action a)
removeAll
public void removeAll(Class<?> context)
removeTool
public void removeTool(Class<?> context,
Component c)
setFloatable
public void setFloatable(boolean fl)
jTEM