package jetbrains.mps.lang.actions.testLanguage.editor;
/*Generated by MPS */
import jetbrains.mps.nodeEditor.menus.substitute.SubstituteMenuBase;
import org.jetbrains.annotations.NotNull;
import java.util.List;
import jetbrains.mps.lang.editor.menus.MenuPart;
import jetbrains.mps.openapi.editor.menus.substitute.SubstituteMenuItem;
import jetbrains.mps.openapi.editor.menus.substitute.SubstituteMenuContext;
import java.util.ArrayList;
import jetbrains.mps.lang.editor.menus.substitute.IncludeSubstituteMenuSubstituteMenuPart;
import org.jetbrains.annotations.Nullable;
import jetbrains.mps.openapi.editor.menus.substitute.SubstituteMenuLookup;
import jetbrains.mps.openapi.editor.EditorContext;
import jetbrains.mps.lang.editor.menus.substitute.NamedSubstituteMenuLookup;
import jetbrains.mps.smodel.language.LanguageRegistry;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
public class ActionTestAbstractChild_SubstituteMenu extends SubstituteMenuBase {
@NotNull
@Override
protected List<MenuPart<SubstituteMenuItem, SubstituteMenuContext>> getParts(final SubstituteMenuContext _context) {
List<MenuPart<SubstituteMenuItem, SubstituteMenuContext>> result = new ArrayList<MenuPart<SubstituteMenuItem, SubstituteMenuContext>>();
result.add(new ActionTestAbstractChild_SubstituteMenu.SMP_Include_hawx03_a());
result.add(new ActionTestAbstractChild_SubstituteMenu.SMP_Include_hawx03_b());
result.add(new ActionTestAbstractChild_SubstituteMenu.SMP_Include_hawx03_c());
result.add(new ActionTestAbstractChild_SubstituteMenu.SMP_Include_hawx03_d());
return result;
}
public class SMP_Include_hawx03_a extends IncludeSubstituteMenuSubstituteMenuPart {
@Nullable
@Override
protected SubstituteMenuLookup getMenuLookup(SubstituteMenuContext _context) {
final EditorContext editorContext = _context.getEditorContext();
return new NamedSubstituteMenuLookup(LanguageRegistry.getInstance(editorContext.getRepository()), MetaAdapterFactory.getConcept(0x737ed1fffa634ebcL, 0xa834435499b23c64L, 0x2365c14e1671a9caL, "jetbrains.mps.lang.actions.testLanguage.structure.ActionTestAbstractChild"), "jetbrains.mps.lang.actions.testLanguage.editor.AddMenuPart_ParameterizedSubstitute");
}
}
public class SMP_Include_hawx03_b extends IncludeSubstituteMenuSubstituteMenuPart {
@Nullable
@Override
protected SubstituteMenuLookup getMenuLookup(SubstituteMenuContext _context) {
final EditorContext editorContext = _context.getEditorContext();
return new NamedSubstituteMenuLookup(LanguageRegistry.getInstance(editorContext.getRepository()), MetaAdapterFactory.getConcept(0x737ed1fffa634ebcL, 0xa834435499b23c64L, 0x2365c14e1671a9caL, "jetbrains.mps.lang.actions.testLanguage.structure.ActionTestAbstractChild"), "jetbrains.mps.lang.actions.testLanguage.editor.AddMenuPart_ConceptSubstitute");
}
}
public class SMP_Include_hawx03_c extends IncludeSubstituteMenuSubstituteMenuPart {
@Nullable
@Override
protected SubstituteMenuLookup getMenuLookup(SubstituteMenuContext _context) {
final EditorContext editorContext = _context.getEditorContext();
return new NamedSubstituteMenuLookup(LanguageRegistry.getInstance(editorContext.getRepository()), MetaAdapterFactory.getConcept(0x737ed1fffa634ebcL, 0xa834435499b23c64L, 0x2365c14e1671a9caL, "jetbrains.mps.lang.actions.testLanguage.structure.ActionTestAbstractChild"), "jetbrains.mps.lang.actions.testLanguage.editor.AddMenuPart_SimpleItemSubstitute");
}
}
public class SMP_Include_hawx03_d extends IncludeSubstituteMenuSubstituteMenuPart {
@Nullable
@Override
protected SubstituteMenuLookup getMenuLookup(SubstituteMenuContext _context) {
final EditorContext editorContext = _context.getEditorContext();
return new NamedSubstituteMenuLookup(LanguageRegistry.getInstance(editorContext.getRepository()), MetaAdapterFactory.getConcept(0x737ed1fffa634ebcL, 0xa834435499b23c64L, 0x2365c14e1671a9caL, "jetbrains.mps.lang.actions.testLanguage.structure.ActionTestAbstractChild"), "jetbrains.mps.lang.actions.testLanguage.editor.ConceptSubstitutePartTest");
}
}
}