Interface IMenuItemFactory
public interface IMenuItemFactory
Interface for a factory that creates menu items in the context menu of the GanttChart.
Note that this factory will only add the menu items in case the context menu is
NOT opened for a GanttEvent. If you want to add custom menu items for the context
menu you need to use the IEventMenuItemFactory.
-
Method Summary
Modifier and Type Method Description void
addCustomMenuItems(org.eclipse.swt.widgets.Menu menu)
Adds new custom menu items to the context menu of the GanttChart.
-
Method Details
-
addCustomMenuItems
void addCustomMenuItems(org.eclipse.swt.widgets.Menu menu)Adds new custom menu items to the context menu of the GanttChart.- Parameters:
menu
- The menu to add the custom actions to.
-