use of com.ramussoft.gui.common.GUIPlugin in project ramus by Vitaliy-Yakovchuk.
the class TableTabView method getActions.
@Override
public Action[] getActions() {
Action[] tmp = super.getActions();
List<Action> plugable = new ArrayList<Action>();
for (Action action : tmp) plugable.add(action);
for (GUIPlugin plugin : framework.getPlugins()) {
if (plugin instanceof ElementActionPlugin) {
Action[] actions = ((ElementActionPlugin) plugin).getActions(this);
if (actions != null) {
plugable.add(null);
for (Action action : actions) {
plugable.add(action);
}
}
}
}
plugable.add(6, convertElementsToQualifierAction);
return plugable.toArray(new Action[plugable.size()]);
}
Aggregations