tableMenu.add(action1);
tableMenu.add(new Separator());
{
InsertRowColumnAction insertRowBeforeAction = new InsertRowColumnAction(
PDPlugin
.getResourceString("TableActionGroup.Submenu.InsertRowBefore"),//$NON-NLS-1$
tablePart, cellRow, true, true);
tableMenu.add(insertRowBeforeAction);
InsertRowColumnAction insertRowAfterAction = new InsertRowColumnAction(
PDPlugin
.getResourceString("TableActionGroup.Submenu.InsertRowAfter"),//$NON-NLS-1$
tablePart, cellRow, true, false);
tableMenu.add(insertRowAfterAction);
tableMenu.add(new Separator());
}
{
InsertRowColumnAction insertColumnBeforeAction = new InsertRowColumnAction(
PDPlugin
.getResourceString("TableActionGroup.Submenu.InsertColumnBefore"),//$NON-NLS-1$
tablePart, cellColumn, true, true);
tableMenu.add(insertColumnBeforeAction);
InsertRowColumnAction insertColumnAfterAction = new InsertRowColumnAction(
PDPlugin
.getResourceString("TableActionGroup.Submenu.InsertColumnAfter"),//$NON-NLS-1$
tablePart, cellColumn, true, false);
tableMenu.add(insertColumnAfterAction);