protected DefaultAddAction createDefaultAction(final String name, final Icon icon, final Type type) { return new ControlAddAction(name, name, icon) { @Override protected Type getElementType() { return type; } }; }
@Override protected DefaultAddAction createAddingAction(final AnActionEvent e, final String name, final Icon icon, final Type type, final DomCollectionChildDescription description) { return getDomCollectionControl(e).createDefaultAction(name, icon, type); }
protected DefaultAddAction createDefaultAction(final String name, final Icon icon, final Type type) { return new ControlAddAction(name, name, icon) { protected Type getElementType() { return type; } }; }
protected DefaultAddAction createAddingAction(final AnActionEvent e, final String name, final Icon icon, final Type type, final DomCollectionChildDescription description) { return getDomCollectionControl(e).createDefaultAction(name, icon, type); }