if (actionPlugin instanceof ExportActionPlugin)
{
final ExportActionPlugin exportPlugin = (ExportActionPlugin) actionPlugin;
final ExportAction action = new ExportAction(exportPlugin, pane);
menu.add(new ActionMenuItem(action));
count += 1;
}
else if (actionPlugin instanceof ControlActionPlugin)
{
final ControlActionPlugin controlPlugin = (ControlActionPlugin) actionPlugin;
final ControlAction action = new ControlAction(controlPlugin, pane);
menu.add(new ActionMenuItem(action));
count += 1;
}
else if (actionPlugin instanceof ZoomListActionPlugin)
{
buildViewMenu(menu, pane);