imakerplugin/com.nokia.s60tools.imaker/src/com/nokia/s60tools/imaker/internal/model/iContent/impl/IContentPackageImpl.java
changeset 11 217e69fc5beb
parent 1 7ff23301fe22
equal deleted inserted replaced
10:2715b6594cd9 11:217e69fc5beb
    56 	 * @generated
    56 	 * @generated
    57 	 */
    57 	 */
    58 	private EEnum imagesectionEEnum = null;
    58 	private EEnum imagesectionEEnum = null;
    59 
    59 
    60 	/**
    60 	/**
       
    61 	 * <!-- begin-user-doc -->
       
    62 	 * <!-- end-user-doc -->
       
    63 	 * @generated
       
    64 	 */
       
    65 	private EEnum actionEEnum = null;
       
    66 
       
    67 	/**
    61 	 * Creates an instance of the model <b>Package</b>, registered with
    68 	 * Creates an instance of the model <b>Package</b>, registered with
    62 	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
    69 	 * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
    63 	 * package URI value.
    70 	 * package URI value.
    64 	 * <p>Note: the correct way to create the package is via the static
    71 	 * <p>Note: the correct way to create the package is via the static
    65 	 * factory method {@link #init init()}, which also performs
    72 	 * factory method {@link #init init()}, which also performs
   175 	/**
   182 	/**
   176 	 * <!-- begin-user-doc -->
   183 	 * <!-- begin-user-doc -->
   177 	 * <!-- end-user-doc -->
   184 	 * <!-- end-user-doc -->
   178 	 * @generated
   185 	 * @generated
   179 	 */
   186 	 */
   180 	public EAttribute getIbyEntry_Debug() {
   187 	public EAttribute getIbyEntry_Action() {
   181 		return (EAttribute)ibyEntryEClass.getEStructuralFeatures().get(3);
   188 		return (EAttribute)ibyEntryEClass.getEStructuralFeatures().get(3);
   182 	}
   189 	}
   183 
   190 
   184 	/**
   191 	/**
   185 	 * <!-- begin-user-doc -->
   192 	 * <!-- begin-user-doc -->
   204 	 * <!-- end-user-doc -->
   211 	 * <!-- end-user-doc -->
   205 	 * @generated
   212 	 * @generated
   206 	 */
   213 	 */
   207 	public EEnum getIMAGESECTION() {
   214 	public EEnum getIMAGESECTION() {
   208 		return imagesectionEEnum;
   215 		return imagesectionEEnum;
       
   216 	}
       
   217 
       
   218 	/**
       
   219 	 * <!-- begin-user-doc -->
       
   220 	 * <!-- end-user-doc -->
       
   221 	 * @generated
       
   222 	 */
       
   223 	public EEnum getACTION() {
       
   224 		return actionEEnum;
   209 	}
   225 	}
   210 
   226 
   211 	/**
   227 	/**
   212 	 * <!-- begin-user-doc -->
   228 	 * <!-- begin-user-doc -->
   213 	 * <!-- end-user-doc -->
   229 	 * <!-- end-user-doc -->
   241 
   257 
   242 		ibyEntryEClass = createEClass(IBY_ENTRY);
   258 		ibyEntryEClass = createEClass(IBY_ENTRY);
   243 		createEAttribute(ibyEntryEClass, IBY_ENTRY__FILE);
   259 		createEAttribute(ibyEntryEClass, IBY_ENTRY__FILE);
   244 		createEAttribute(ibyEntryEClass, IBY_ENTRY__TARGET);
   260 		createEAttribute(ibyEntryEClass, IBY_ENTRY__TARGET);
   245 		createEAttribute(ibyEntryEClass, IBY_ENTRY__LOCATION);
   261 		createEAttribute(ibyEntryEClass, IBY_ENTRY__LOCATION);
   246 		createEAttribute(ibyEntryEClass, IBY_ENTRY__DEBUG);
   262 		createEAttribute(ibyEntryEClass, IBY_ENTRY__ACTION);
   247 		createEAttribute(ibyEntryEClass, IBY_ENTRY__ENABLED);
   263 		createEAttribute(ibyEntryEClass, IBY_ENTRY__ENABLED);
   248 		createEAttribute(ibyEntryEClass, IBY_ENTRY__STATUS_MESSAGE);
   264 		createEAttribute(ibyEntryEClass, IBY_ENTRY__STATUS_MESSAGE);
   249 
   265 
   250 		// Create enums
   266 		// Create enums
   251 		imagesectionEEnum = createEEnum(IMAGESECTION);
   267 		imagesectionEEnum = createEEnum(IMAGESECTION);
       
   268 		actionEEnum = createEEnum(ACTION);
   252 	}
   269 	}
   253 
   270 
   254 	/**
   271 	/**
   255 	 * <!-- begin-user-doc -->
   272 	 * <!-- begin-user-doc -->
   256 	 * <!-- end-user-doc -->
   273 	 * <!-- end-user-doc -->
   286 
   303 
   287 		initEClass(ibyEntryEClass, IbyEntry.class, "IbyEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
   304 		initEClass(ibyEntryEClass, IbyEntry.class, "IbyEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
   288 		initEAttribute(getIbyEntry_File(), ecorePackage.getEString(), "file", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   305 		initEAttribute(getIbyEntry_File(), ecorePackage.getEString(), "file", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   289 		initEAttribute(getIbyEntry_Target(), ecorePackage.getEString(), "target", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   306 		initEAttribute(getIbyEntry_Target(), ecorePackage.getEString(), "target", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   290 		initEAttribute(getIbyEntry_Location(), this.getIMAGESECTION(), "location", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   307 		initEAttribute(getIbyEntry_Location(), this.getIMAGESECTION(), "location", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   291 		initEAttribute(getIbyEntry_Debug(), ecorePackage.getEBoolean(), "debug", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   308 		initEAttribute(getIbyEntry_Action(), this.getACTION(), "action", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   292 		initEAttribute(getIbyEntry_Enabled(), ecorePackage.getEBoolean(), "enabled", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   309 		initEAttribute(getIbyEntry_Enabled(), ecorePackage.getEBoolean(), "enabled", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   293 		initEAttribute(getIbyEntry_StatusMessage(), ecorePackage.getEString(), "statusMessage", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   310 		initEAttribute(getIbyEntry_StatusMessage(), ecorePackage.getEString(), "statusMessage", null, 0, 1, IbyEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
   294 
   311 
   295 		// Initialize enums and add enum literals
   312 		// Initialize enums and add enum literals
   296 		initEEnum(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.class, "IMAGESECTION");
   313 		initEEnum(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.class, "IMAGESECTION");
   297 		addEEnumLiteral(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.CORE);
   314 		addEEnumLiteral(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.CORE);
   298 		addEEnumLiteral(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.ROFS2);
   315 		addEEnumLiteral(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.ROFS2);
   299 		addEEnumLiteral(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.ROFS3);
   316 		addEEnumLiteral(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.ROFS3);
       
   317 		addEEnumLiteral(imagesectionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.IMAGESECTION.ANY);
       
   318 
       
   319 		initEEnum(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.class, "ACTION");
       
   320 		addEEnumLiteral(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.UDEB);
       
   321 		addEEnumLiteral(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.REMOVE);
       
   322 		addEEnumLiteral(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.HIDE);
       
   323 		addEEnumLiteral(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.UDEB_ADD);
       
   324 		addEEnumLiteral(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.UREL);
       
   325 		addEEnumLiteral(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.UREL_ADD);
       
   326 		addEEnumLiteral(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.REPLACE);
       
   327 		addEEnumLiteral(actionEEnum, com.nokia.s60tools.imaker.internal.model.iContent.ACTION.REPLACE_ADD);
   300 
   328 
   301 		// Create resource
   329 		// Create resource
   302 		createResource(eNS_URI);
   330 		createResource(eNS_URI);
   303 	}
   331 	}
   304 
   332