edu.uchsc.ccp.knowtator.ui
Class AnnotationSchemaMenuItemFactory
java.lang.Object
edu.uchsc.ccp.knowtator.ui.AnnotationSchemaMenuItemFactory
public class AnnotationSchemaMenuItemFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SELECTION_ITEMS_COUNT_THRESHOLD
public static final int SELECTION_ITEMS_COUNT_THRESHOLD
- See Also:
- Constant Field Values
AnnotationSchemaMenuItemFactory
public AnnotationSchemaMenuItemFactory()
createAnnotationMenuItem
public static JMenuItem createAnnotationMenuItem(KnowtatorManager manager,
Frame selectedFrame,
TextSourceUtil textSourceUtil)
createFastAnnotateMenuItem
public static JMenuItem createFastAnnotateMenuItem(KnowtatorManager manager,
Frame selectedFrame)
createRemoveClsFromToolbarMenuItem
public static JMenuItem createRemoveClsFromToolbarMenuItem(KnowtatorManager manager,
Frame selectedFrame)
- Creates and returns the menu item that will remove the selected class
(button) from the fast annotation toolbar.
- Parameters:
manager
- selectedFrame
- The class that will be removed from the fast annotate toolbar.
- Returns:
- The menu item that will remove the class from the toolbar
createSelectAnnotationMenuItems
public static List<JMenuItem> createSelectAnnotationMenuItems(KnowtatorManager manager,
Frame selectedFrame,
Component parent)