blob: 782389565343fae8b8c816dc77bad0930a4fe8df [file] [log] [blame]
/**
* Copyright (c) 2014,2016 Loetz GmbH&Co.KG (Heidelberg)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http{//www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Loetz GmbH&Co.KG - Initial implementation
*
*/
package org.eclipse.osbp.xtext.menu.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EOperation;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.eclipse.osbp.dsl.semantic.common.types.OSBPTypesPackage;
import org.eclipse.osbp.xtext.blip.BlipDSLPackage;
import org.eclipse.osbp.xtext.dialogdsl.DialogDSLPackage;
import org.eclipse.osbp.xtext.menu.MenuDslFactory;
import org.eclipse.osbp.xtext.menu.MenuDslPackage;
import org.eclipse.osbp.xtext.menu.MenuEntry;
import org.eclipse.osbp.xtext.menu.MenuLazyResolver;
import org.eclipse.osbp.xtext.menu.MenuModel;
import org.eclipse.osbp.xtext.menu.MenuPackage;
import org.eclipse.osbp.xtext.perspective.PerspectiveDslPackage;
import org.eclipse.osbp.xtext.table.TableDSLPackage;
import org.eclipse.xtext.xtype.XtypePackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
* @generated
*/
public class MenuDslPackageImpl extends EPackageImpl implements MenuDslPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass menuModelEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass menuLazyResolverEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass menuPackageEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EClass menuEntryEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private EDataType internalEObjectEDataType = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
* <p>Note: the correct way to create the package is via the static
* factory method {@link #init init()}, which also performs
* initialization of the package, or returns the registered package,
* if one already exists.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.osbp.xtext.menu.MenuDslPackage#eNS_URI
* @see #init()
* @generated
*/
private MenuDslPackageImpl() {
super(eNS_URI, MenuDslFactory.eINSTANCE);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
* <p>This method is used to initialize {@link MenuDslPackage#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static MenuDslPackage init() {
if (isInited) return (MenuDslPackage)EPackage.Registry.INSTANCE.getEPackage(MenuDslPackage.eNS_URI);
// Obtain or create and register package
MenuDslPackageImpl theMenuDslPackage = (MenuDslPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof MenuDslPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new MenuDslPackageImpl());
isInited = true;
// Initialize simple dependencies
PerspectiveDslPackage.eINSTANCE.eClass();
// Create package meta-data objects
theMenuDslPackage.createPackageContents();
// Initialize created meta-data
theMenuDslPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theMenuDslPackage.freeze();
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(MenuDslPackage.eNS_URI, theMenuDslPackage);
return theMenuDslPackage;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getMenuModel() {
return menuModelEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getMenuModel_ImportSection() {
return (EReference)menuModelEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getMenuModel_Packages() {
return (EReference)menuModelEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getMenuLazyResolver() {
return menuLazyResolverEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EOperation getMenuLazyResolver__EResolveProxy__InternalEObject() {
return menuLazyResolverEClass.getEOperations().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getMenuPackage() {
return menuPackageEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getMenuPackage_Entries() {
return (EReference)menuPackageEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuPackage_SubMenuIsAccordion() {
return (EAttribute)menuPackageEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuPackage_ExpandedImage() {
return (EAttribute)menuPackageEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuPackage_CollapsedImage() {
return (EAttribute)menuPackageEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuPackage_Width() {
return (EAttribute)menuPackageEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuPackage_HasDesigner() {
return (EAttribute)menuPackageEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EClass getMenuEntry() {
return menuEntryEClass;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_Entryid() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_HasImage() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_Image() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_Description() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_DescriptionValue() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getMenuEntry_Subentries() {
return (EReference)menuEntryEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_HasProcess() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getMenuEntry_Process() {
return (EReference)menuEntryEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_HasPerspective() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getMenuEntry_Perspective() {
return (EReference)menuEntryEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_ShowBadge() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(10);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_HasTable() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(11);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getMenuEntry_Table() {
return (EReference)menuEntryEClass.getEStructuralFeatures().get(12);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_HasDialog() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(13);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EReference getMenuEntry_Dialog() {
return (EReference)menuEntryEClass.getEStructuralFeatures().get(14);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_HasUserFilter() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(15);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EAttribute getMenuEntry_HasKeyBinding() {
return (EAttribute)menuEntryEClass.getEStructuralFeatures().get(16);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public EDataType getInternalEObject() {
return internalEObjectEDataType;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public MenuDslFactory getMenuDslFactory() {
return (MenuDslFactory)getEFactoryInstance();
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private boolean isCreated = false;
/**
* Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void createPackageContents() {
if (isCreated) return;
isCreated = true;
// Create classes and their features
menuModelEClass = createEClass(MENU_MODEL);
createEReference(menuModelEClass, MENU_MODEL__IMPORT_SECTION);
createEReference(menuModelEClass, MENU_MODEL__PACKAGES);
menuLazyResolverEClass = createEClass(MENU_LAZY_RESOLVER);
createEOperation(menuLazyResolverEClass, MENU_LAZY_RESOLVER___ERESOLVE_PROXY__INTERNALEOBJECT);
menuPackageEClass = createEClass(MENU_PACKAGE);
createEReference(menuPackageEClass, MENU_PACKAGE__ENTRIES);
createEAttribute(menuPackageEClass, MENU_PACKAGE__SUB_MENU_IS_ACCORDION);
createEAttribute(menuPackageEClass, MENU_PACKAGE__EXPANDED_IMAGE);
createEAttribute(menuPackageEClass, MENU_PACKAGE__COLLAPSED_IMAGE);
createEAttribute(menuPackageEClass, MENU_PACKAGE__WIDTH);
createEAttribute(menuPackageEClass, MENU_PACKAGE__HAS_DESIGNER);
menuEntryEClass = createEClass(MENU_ENTRY);
createEAttribute(menuEntryEClass, MENU_ENTRY__ENTRYID);
createEAttribute(menuEntryEClass, MENU_ENTRY__HAS_IMAGE);
createEAttribute(menuEntryEClass, MENU_ENTRY__IMAGE);
createEAttribute(menuEntryEClass, MENU_ENTRY__DESCRIPTION);
createEAttribute(menuEntryEClass, MENU_ENTRY__DESCRIPTION_VALUE);
createEReference(menuEntryEClass, MENU_ENTRY__SUBENTRIES);
createEAttribute(menuEntryEClass, MENU_ENTRY__HAS_PROCESS);
createEReference(menuEntryEClass, MENU_ENTRY__PROCESS);
createEAttribute(menuEntryEClass, MENU_ENTRY__HAS_PERSPECTIVE);
createEReference(menuEntryEClass, MENU_ENTRY__PERSPECTIVE);
createEAttribute(menuEntryEClass, MENU_ENTRY__SHOW_BADGE);
createEAttribute(menuEntryEClass, MENU_ENTRY__HAS_TABLE);
createEReference(menuEntryEClass, MENU_ENTRY__TABLE);
createEAttribute(menuEntryEClass, MENU_ENTRY__HAS_DIALOG);
createEReference(menuEntryEClass, MENU_ENTRY__DIALOG);
createEAttribute(menuEntryEClass, MENU_ENTRY__HAS_USER_FILTER);
createEAttribute(menuEntryEClass, MENU_ENTRY__HAS_KEY_BINDING);
// Create data types
internalEObjectEDataType = createEDataType(INTERNAL_EOBJECT);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
private boolean isInitialized = false;
/**
* Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void initializePackageContents() {
if (isInitialized) return;
isInitialized = true;
// Initialize package
setName(eNAME);
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Obtain other dependent packages
XtypePackage theXtypePackage = (XtypePackage)EPackage.Registry.INSTANCE.getEPackage(XtypePackage.eNS_URI);
EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
OSBPTypesPackage theOSBPTypesPackage = (OSBPTypesPackage)EPackage.Registry.INSTANCE.getEPackage(OSBPTypesPackage.eNS_URI);
BlipDSLPackage theBlipDSLPackage = (BlipDSLPackage)EPackage.Registry.INSTANCE.getEPackage(BlipDSLPackage.eNS_URI);
PerspectiveDslPackage thePerspectiveDslPackage = (PerspectiveDslPackage)EPackage.Registry.INSTANCE.getEPackage(PerspectiveDslPackage.eNS_URI);
TableDSLPackage theTableDSLPackage = (TableDSLPackage)EPackage.Registry.INSTANCE.getEPackage(TableDSLPackage.eNS_URI);
DialogDSLPackage theDialogDSLPackage = (DialogDSLPackage)EPackage.Registry.INSTANCE.getEPackage(DialogDSLPackage.eNS_URI);
// Create type parameters
// Set bounds for type parameters
// Add supertypes to classes
menuPackageEClass.getESuperTypes().add(theOSBPTypesPackage.getLPackage());
menuEntryEClass.getESuperTypes().add(this.getMenuLazyResolver());
// Initialize classes, features, and operations; add parameters
initEClass(menuModelEClass, MenuModel.class, "MenuModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getMenuModel_ImportSection(), theXtypePackage.getXImportSection(), null, "importSection", null, 0, 1, MenuModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMenuModel_Packages(), this.getMenuPackage(), null, "packages", null, 0, -1, MenuModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(menuLazyResolverEClass, MenuLazyResolver.class, "MenuLazyResolver", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
EOperation op = initEOperation(getMenuLazyResolver__EResolveProxy__InternalEObject(), theEcorePackage.getEObject(), "eResolveProxy", 0, 1, !IS_UNIQUE, IS_ORDERED);
addEParameter(op, this.getInternalEObject(), "proxy", 0, 1, !IS_UNIQUE, IS_ORDERED);
initEClass(menuPackageEClass, MenuPackage.class, "MenuPackage", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getMenuPackage_Entries(), this.getMenuEntry(), null, "entries", null, 0, -1, MenuPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuPackage_SubMenuIsAccordion(), theEcorePackage.getEBoolean(), "subMenuIsAccordion", null, 0, 1, MenuPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuPackage_ExpandedImage(), theEcorePackage.getEString(), "expandedImage", null, 0, 1, MenuPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuPackage_CollapsedImage(), theEcorePackage.getEString(), "collapsedImage", null, 0, 1, MenuPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuPackage_Width(), theEcorePackage.getEString(), "width", null, 0, 1, MenuPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuPackage_HasDesigner(), theEcorePackage.getEBoolean(), "hasDesigner", null, 0, 1, MenuPackage.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(menuEntryEClass, MenuEntry.class, "MenuEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getMenuEntry_Entryid(), theEcorePackage.getEString(), "entryid", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_HasImage(), theEcorePackage.getEBoolean(), "hasImage", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_Image(), theEcorePackage.getEString(), "image", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_Description(), theEcorePackage.getEBoolean(), "description", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_DescriptionValue(), theEcorePackage.getEString(), "descriptionValue", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMenuEntry_Subentries(), this.getMenuEntry(), null, "subentries", null, 0, -1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_HasProcess(), theEcorePackage.getEBoolean(), "hasProcess", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMenuEntry_Process(), theBlipDSLPackage.getBlip(), null, "process", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_HasPerspective(), theEcorePackage.getEBoolean(), "hasPerspective", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMenuEntry_Perspective(), thePerspectiveDslPackage.getPerspective(), null, "perspective", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_ShowBadge(), theEcorePackage.getEBoolean(), "showBadge", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_HasTable(), theEcorePackage.getEBoolean(), "hasTable", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMenuEntry_Table(), theTableDSLPackage.getTable(), null, "table", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_HasDialog(), theEcorePackage.getEBoolean(), "hasDialog", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getMenuEntry_Dialog(), theDialogDSLPackage.getDialog(), null, "dialog", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_HasUserFilter(), theEcorePackage.getEBoolean(), "hasUserFilter", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getMenuEntry_HasKeyBinding(), theEcorePackage.getEBoolean(), "hasKeyBinding", null, 0, 1, MenuEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Initialize data types
initEDataType(internalEObjectEDataType, InternalEObject.class, "InternalEObject", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
// Create resource
createResource(eNS_URI);
// Create annotations
// http://www.eclipse.org/emf/2002/Ecore
createEcoreAnnotations();
}
/**
* Initializes the annotations for <b>http://www.eclipse.org/emf/2002/Ecore</b>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
protected void createEcoreAnnotations() {
String source = "http://www.eclipse.org/emf/2002/Ecore";
addAnnotation
(this,
source,
new String[] {
"rootPackage", "menudsl"
});
}
} //MenuDslPackageImpl