0001: /**
0002: * <copyright>Hello Jesse </copyright> $Id: ProjectPackageImpl.java 12218 2005-03-15 19:09:57Z
0003: * jgarnett $
0004: */package net.refractions.udig.project.internal.impl;
0005:
0006: import java.awt.Color;
0007: import java.awt.Point;
0008: import java.awt.geom.AffineTransform;
0009: import java.util.List;
0010:
0011: import net.refractions.udig.catalog.IGeoResource;
0012: import net.refractions.udig.catalog.IResolveChangeListener;
0013: import net.refractions.udig.core.IBlockingAdaptable;
0014: import net.refractions.udig.project.IAbstractContext;
0015: import net.refractions.udig.project.IBlackboard;
0016: import net.refractions.udig.project.IEditManager;
0017: import net.refractions.udig.project.ILayer;
0018: import net.refractions.udig.project.IMap;
0019: import net.refractions.udig.project.IProject;
0020: import net.refractions.udig.project.IProjectElement;
0021: import net.refractions.udig.project.command.CommandStack;
0022: import net.refractions.udig.project.command.EditCommand;
0023: import net.refractions.udig.project.command.MapCommand;
0024: import net.refractions.udig.project.command.NavCommand;
0025: import net.refractions.udig.project.command.NavCommandStack;
0026: import net.refractions.udig.project.internal.AbstractContext;
0027: import net.refractions.udig.project.internal.Blackboard;
0028: import net.refractions.udig.project.internal.BlackboardEntry;
0029: import net.refractions.udig.project.internal.CatalogRef;
0030: import net.refractions.udig.project.internal.ContextModel;
0031: import net.refractions.udig.project.internal.EditManager;
0032: import net.refractions.udig.project.internal.Layer;
0033: import net.refractions.udig.project.internal.LayerFactory;
0034: import net.refractions.udig.project.internal.Map;
0035: import net.refractions.udig.project.internal.PicoBlackboard;
0036: import net.refractions.udig.project.internal.Project;
0037: import net.refractions.udig.project.internal.ProjectElement;
0038: import net.refractions.udig.project.internal.ProjectFactory;
0039: import net.refractions.udig.project.internal.ProjectPackage;
0040: import net.refractions.udig.project.internal.ProjectRegistry;
0041: import net.refractions.udig.project.internal.StyleBlackboard;
0042: import net.refractions.udig.project.internal.StyleEntry;
0043: import net.refractions.udig.project.internal.render.RenderPackage;
0044: import net.refractions.udig.project.internal.render.impl.RenderPackageImpl;
0045: import net.refractions.udig.project.render.IRenderManager;
0046: import net.refractions.udig.project.render.IViewportModel;
0047: import net.refractions.udig.project.render.displayAdapter.IMapDisplay;
0048: import net.refractions.udig.ui.palette.ColourScheme;
0049:
0050: import org.eclipse.core.runtime.IAdaptable;
0051: import org.eclipse.core.runtime.IProgressMonitor;
0052: import org.eclipse.emf.common.notify.Adapter;
0053: import org.eclipse.emf.ecore.EAttribute;
0054: import org.eclipse.emf.ecore.EClass;
0055: import org.eclipse.emf.ecore.EClassifier;
0056: import org.eclipse.emf.ecore.EDataType;
0057: import org.eclipse.emf.ecore.EOperation;
0058: import org.eclipse.emf.ecore.EPackage;
0059: import org.eclipse.emf.ecore.EReference;
0060: import org.eclipse.emf.ecore.impl.EPackageImpl;
0061: import org.eclipse.jface.resource.ImageDescriptor;
0062: import org.geotools.brewer.color.BrewerPalette;
0063: import org.geotools.data.FeatureEvent;
0064: import org.geotools.data.FeatureResults;
0065: import org.geotools.data.Query;
0066: import org.geotools.feature.Feature;
0067: import org.geotools.filter.Filter;
0068: import org.geotools.geometry.jts.ReferencedEnvelope;
0069: import org.opengis.referencing.crs.CoordinateReferenceSystem;
0070: import org.picocontainer.MutablePicoContainer;
0071:
0072: import com.vividsolutions.jts.geom.Coordinate;
0073: import com.vividsolutions.jts.geom.Envelope;
0074:
0075: /**
0076: * <!-- begin-user-doc --> An implementation of the model <b>Package </b>. <!-- end-user-doc -->
0077: * @generated
0078: */
0079: public class ProjectPackageImpl extends EPackageImpl implements
0080: ProjectPackage {
0081:
0082: /**
0083: * <!-- begin-user-doc --> <!-- end-user-doc -->
0084: * @generated
0085: */
0086: public static final String copyright = "uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004, Refractions Research Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details."; //$NON-NLS-1$
0087:
0088: /**
0089: * <!-- begin-user-doc --> <!-- end-user-doc -->
0090: * @generated
0091: */
0092: private EClass comparableEClass = null;
0093:
0094: /**
0095: * <!-- begin-user-doc --> <!-- end-user-doc -->
0096: * @generated
0097: */
0098: private EClass iMapEClass = null;
0099:
0100: /**
0101: * <!-- begin-user-doc --> <!-- end-user-doc -->
0102: * @generated
0103: */
0104: private EClass iLayerEClass = null;
0105:
0106: /**
0107: * <!-- begin-user-doc --> <!-- end-user-doc -->
0108: * @generated
0109: */
0110: private EClass iEditManagerEClass = null;
0111:
0112: /**
0113: * <!-- begin-user-doc --> <!-- end-user-doc -->
0114: * @generated
0115: */
0116: private EClass iProjectEClass = null;
0117:
0118: /**
0119: * <!-- begin-user-doc --> <!-- end-user-doc -->
0120: * @generated
0121: */
0122: private EClass iAbstractContextEClass = null;
0123:
0124: /**
0125: * <!-- begin-user-doc --> <!-- end-user-doc -->
0126: * @generated
0127: */
0128: private EClass iBlackboardEClass = null;
0129:
0130: /**
0131: * <!-- begin-user-doc --> <!-- end-user-doc -->
0132: * @generated
0133: */
0134: private EClass iProjectElementEClass = null;
0135:
0136: /**
0137: * <!-- begin-user-doc --> <!-- end-user-doc -->
0138: * @generated
0139: */
0140: private EClass iRenderManagerEClass = null;
0141:
0142: /**
0143: * <!-- begin-user-doc --> <!-- end-user-doc -->
0144: * @generated
0145: */
0146: private EClass iViewportModelEClass = null;
0147:
0148: /**
0149: * <!-- begin-user-doc --> <!-- end-user-doc -->
0150: * @generated
0151: */
0152: private EClass abstractContextEClass = null;
0153:
0154: /**
0155: * <!-- begin-user-doc --> <!-- end-user-doc -->
0156: * @generated
0157: */
0158: private EClass contextModelEClass = null;
0159:
0160: /**
0161: * <!-- begin-user-doc --> <!-- end-user-doc -->
0162: * @generated
0163: */
0164: private EClass editManagerEClass = null;
0165:
0166: /**
0167: * <!-- begin-user-doc --> <!-- end-user-doc -->
0168: * @generated
0169: */
0170: private EClass layerEClass = null;
0171:
0172: /**
0173: * <!-- begin-user-doc --> <!-- end-user-doc -->
0174: * @generated
0175: */
0176: private EClass mapEClass = null;
0177:
0178: /**
0179: * <!-- begin-user-doc --> <!-- end-user-doc -->
0180: * @generated
0181: */
0182: private EClass projectEClass = null;
0183:
0184: /**
0185: * <!-- begin-user-doc --> <!-- end-user-doc -->
0186: * @generated
0187: */
0188: private EClass projectElementEClass = null;
0189:
0190: /**
0191: * <!-- begin-user-doc --> <!-- end-user-doc -->
0192: * @generated
0193: */
0194: private EClass projectRegistryEClass = null;
0195:
0196: /**
0197: * <!-- begin-user-doc --> <!-- end-user-doc -->
0198: * @generated
0199: */
0200: private EClass styleBlackboardEClass = null;
0201:
0202: /**
0203: * <!-- begin-user-doc --> <!-- end-user-doc -->
0204: * @generated
0205: */
0206: private EClass styleEntryEClass = null;
0207:
0208: /**
0209: * <!-- begin-user-doc --> <!-- end-user-doc -->
0210: * @generated
0211: */
0212: private EClass cloneableEClass = null;
0213:
0214: /**
0215: * <!-- begin-user-doc --> <!-- end-user-doc -->
0216: * @generated
0217: */
0218: private EClass layerFactoryEClass = null;
0219:
0220: /**
0221: * <!-- begin-user-doc --> <!-- end-user-doc -->
0222: * @generated
0223: */
0224: private EClass iAdaptableEClass = null;
0225:
0226: /**
0227: * <!-- begin-user-doc --> <!-- end-user-doc -->
0228: * @generated
0229: */
0230: private EClass iBlockingAdaptableEClass = null;
0231:
0232: /**
0233: * <!-- begin-user-doc --> <!-- end-user-doc -->
0234: * @generated
0235: */
0236: private EClass picoBlackboardEClass = null;
0237:
0238: /**
0239: * <!-- begin-user-doc --> <!-- end-user-doc -->
0240: * @generated
0241: */
0242: private EClass blackboardEClass = null;
0243:
0244: /**
0245: * <!-- begin-user-doc --> <!-- end-user-doc -->
0246: * @generated
0247: */
0248: private EClass blackboardEntryEClass = null;
0249:
0250: /**
0251: * <!-- begin-user-doc --> <!-- end-user-doc -->
0252: * @generated
0253: */
0254: private EClass iResolveChangeListenerEClass = null;
0255:
0256: /**
0257: * <!-- begin-user-doc --> <!-- end-user-doc -->
0258: * @generated
0259: */
0260: private EDataType coordinateEDataType = null;
0261:
0262: /**
0263: * <!-- begin-user-doc --> <!-- end-user-doc -->
0264: * @generated
0265: */
0266: private EDataType mapDisplayEDataType = null;
0267:
0268: /**
0269: * <!-- begin-user-doc --> <!-- end-user-doc -->
0270: * @generated
0271: */
0272: private EDataType featureResultsEDataType = null;
0273:
0274: /**
0275: * <!-- begin-user-doc --> <!-- end-user-doc -->
0276: * @generated
0277: */
0278: private EDataType listEDataType = null;
0279:
0280: /**
0281: * <!-- begin-user-doc --> <!-- end-user-doc -->
0282: * @generated
0283: */
0284: private EDataType affineTransformEDataType = null;
0285:
0286: /**
0287: * <!-- begin-user-doc --> <!-- end-user-doc -->
0288: * @generated
0289: */
0290: private EDataType navCommandStackEDataType = null;
0291:
0292: /**
0293: * <!-- begin-user-doc --> <!-- end-user-doc -->
0294: * @generated
0295: */
0296: private EDataType iGeoResourceEDataType = null;
0297:
0298: /**
0299: * <!-- begin-user-doc --> <!-- end-user-doc -->
0300: * @generated
0301: */
0302: private EDataType filterEDataType = null;
0303:
0304: /**
0305: * <!-- begin-user-doc --> <!-- end-user-doc -->
0306: * @generated
0307: */
0308: private EDataType coordinateReferenceSystemEDataType = null;
0309:
0310: /**
0311: * <!-- begin-user-doc --> <!-- end-user-doc -->
0312: * @generated
0313: */
0314: private EDataType commandStackEDataType = null;
0315:
0316: /**
0317: * <!-- begin-user-doc --> <!-- end-user-doc -->
0318: * @generated
0319: */
0320: private EDataType featureEDataType = null;
0321:
0322: /**
0323: * <!-- begin-user-doc --> <!-- end-user-doc -->
0324: * @generated
0325: */
0326: private EDataType pointEDataType = null;
0327:
0328: /**
0329: * <!-- begin-user-doc --> <!-- end-user-doc -->
0330: * @generated
0331: */
0332: private EDataType adapterEDataType = null;
0333:
0334: /**
0335: * <!-- begin-user-doc --> <!-- end-user-doc -->
0336: * @generated
0337: */
0338: private EDataType iProgressMonitorEDataType = null;
0339:
0340: /**
0341: * <!-- begin-user-doc --> <!-- end-user-doc -->
0342: * @generated
0343: */
0344: private EDataType queryEDataType = null;
0345:
0346: /**
0347: * <!-- begin-user-doc --> <!-- end-user-doc -->
0348: * @generated
0349: */
0350: private EDataType urlEDataType = null;
0351:
0352: /**
0353: * <!-- begin-user-doc --> <!-- end-user-doc -->
0354: * @generated
0355: */
0356: private EDataType imageDescriptorEDataType = null;
0357:
0358: /**
0359: * <!-- begin-user-doc --> <!-- end-user-doc -->
0360: * @generated
0361: */
0362: private EDataType editCommandEDataType = null;
0363:
0364: /**
0365: * <!-- begin-user-doc --> <!-- end-user-doc -->
0366: * @generated
0367: */
0368: private EDataType navCommandEDataType = null;
0369:
0370: /**
0371: * <!-- begin-user-doc --> <!-- end-user-doc -->
0372: * @generated
0373: */
0374: private EDataType envelopeEDataType = null;
0375:
0376: /**
0377: * <!-- begin-user-doc --> <!-- end-user-doc -->
0378: * @generated
0379: */
0380: private EDataType editManagerControlCommandEDataType = null;
0381:
0382: /**
0383: * <!-- begin-user-doc --> <!-- end-user-doc -->
0384: * @generated
0385: */
0386: private EDataType commandEDataType = null;
0387:
0388: /**
0389: * <!-- begin-user-doc --> <!-- end-user-doc -->
0390: * @generated
0391: */
0392: private EDataType uriEDataType = null;
0393:
0394: /**
0395: * <!-- begin-user-doc --> <!-- end-user-doc -->
0396: * @generated
0397: */
0398: private EDataType catalogRefEDataType = null;
0399:
0400: /**
0401: * <!-- begin-user-doc --> <!-- end-user-doc -->
0402: * @generated
0403: */
0404: private EDataType colourPaletteEDataType = null;
0405:
0406: /**
0407: * <!-- begin-user-doc --> <!-- end-user-doc -->
0408: * @generated
0409: */
0410: private EDataType colourSchemeEDataType = null;
0411:
0412: /**
0413: * <!-- begin-user-doc --> <!-- end-user-doc -->
0414: * @generated
0415: */
0416: private EDataType defaultColorEDataType;
0417: /**
0418: * <!-- begin-user-doc --> <!-- end-user-doc -->
0419: * @generated
0420: */
0421: private EDataType mutablePicoContainerEDataType = null;
0422:
0423: /**
0424: * <!-- begin-user-doc --> <!-- end-user-doc -->
0425: * @generated
0426: */
0427: private EDataType referencedEnvelopeEDataType = null;
0428:
0429: /**
0430: * <!-- begin-user-doc --> <!-- end-user-doc -->
0431: * @generated
0432: */
0433: private EDataType featureEventEDataType = null;
0434:
0435: /**
0436: * Creates an instance of the model <b>Package</b>, registered with
0437: * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
0438: * package URI value.
0439: * <p>Note: the correct way to create the package is via the static
0440: * factory method {@link #init init()}, which also performs
0441: * initialization of the package, or returns the registered package,
0442: * if one already exists.
0443: * <!-- begin-user-doc --> <!-- end-user-doc -->
0444: * @see org.eclipse.emf.ecore.EPackage.Registry
0445: * @see net.refractions.udig.project.internal.ProjectPackage#eNS_URI
0446: * @see #init()
0447: * @generated
0448: */
0449: private ProjectPackageImpl() {
0450: super (eNS_URI, ProjectFactory.eINSTANCE);
0451: }
0452:
0453: /**
0454: * <!-- begin-user-doc --> <!-- end-user-doc -->
0455: * @generated
0456: */
0457: private static boolean isInited = false;
0458:
0459: /**
0460: * Creates, registers, and initializes the <b>Package</b> for this
0461: * model, and for any others upon which it depends. Simple
0462: * dependencies are satisfied by calling this method on all
0463: * dependent packages before doing anything else. This method drives
0464: * initialization for interdependent packages directly, in parallel
0465: * with this package, itself.
0466: * <p>Of this package and its interdependencies, all packages which
0467: * have not yet been registered by their URI values are first created
0468: * and registered. The packages are then initialized in two steps:
0469: * meta-model objects for all of the packages are created before any
0470: * are initialized, since one package's meta-model objects may refer to
0471: * those of another.
0472: * <p>Invocation of this method will not affect any packages that have
0473: * already been initialized.
0474: * <!-- begin-user-doc --> <!-- end-user-doc -->
0475: * @see #eNS_URI
0476: * @see #createPackageContents()
0477: * @see #initializePackageContents()
0478: * @generated
0479: */
0480: public static ProjectPackage init() {
0481: if (isInited)
0482: return (ProjectPackage) EPackage.Registry.INSTANCE
0483: .getEPackage(ProjectPackage.eNS_URI);
0484:
0485: // Obtain or create and register package
0486: ProjectPackageImpl theProjectPackage = (ProjectPackageImpl) (EPackage.Registry.INSTANCE
0487: .getEPackage(eNS_URI) instanceof ProjectPackageImpl ? EPackage.Registry.INSTANCE
0488: .getEPackage(eNS_URI)
0489: : new ProjectPackageImpl());
0490:
0491: isInited = true;
0492:
0493: // Obtain or create and register interdependencies
0494: RenderPackageImpl theRenderPackage = (RenderPackageImpl) (EPackage.Registry.INSTANCE
0495: .getEPackage(RenderPackage.eNS_URI) instanceof RenderPackageImpl ? EPackage.Registry.INSTANCE
0496: .getEPackage(RenderPackage.eNS_URI)
0497: : RenderPackage.eINSTANCE);
0498:
0499: // Create package meta-data objects
0500: theProjectPackage.createPackageContents();
0501: theRenderPackage.createPackageContents();
0502:
0503: // Initialize created meta-data
0504: theProjectPackage.initializePackageContents();
0505: theRenderPackage.initializePackageContents();
0506:
0507: // Mark meta-data to indicate it can't be changed
0508: theProjectPackage.freeze();
0509:
0510: return theProjectPackage;
0511: }
0512:
0513: /**
0514: * <!-- begin-user-doc --> <!-- end-user-doc -->
0515: * @generated
0516: */
0517: public EClass getComparable() {
0518: return comparableEClass;
0519: }
0520:
0521: /**
0522: * <!-- begin-user-doc --> <!-- end-user-doc -->
0523: * @generated
0524: */
0525: public EClass getIMap() {
0526: return iMapEClass;
0527: }
0528:
0529: /**
0530: * <!-- begin-user-doc --> <!-- end-user-doc -->
0531: * @generated
0532: */
0533: public EClass getILayer() {
0534: return iLayerEClass;
0535: }
0536:
0537: /**
0538: * <!-- begin-user-doc --> <!-- end-user-doc -->
0539: * @generated
0540: */
0541: public EClass getIEditManager() {
0542: return iEditManagerEClass;
0543: }
0544:
0545: /**
0546: * <!-- begin-user-doc --> <!-- end-user-doc -->
0547: * @generated
0548: */
0549: public EClass getIProject() {
0550: return iProjectEClass;
0551: }
0552:
0553: /**
0554: * <!-- begin-user-doc --> <!-- end-user-doc -->
0555: * @generated
0556: */
0557: public EClass getIAbstractContext() {
0558: return iAbstractContextEClass;
0559: }
0560:
0561: /**
0562: * <!-- begin-user-doc --> <!-- end-user-doc -->
0563: * @generated
0564: */
0565: public EClass getIBlackboard() {
0566: return iBlackboardEClass;
0567: }
0568:
0569: /**
0570: * <!-- begin-user-doc --> <!-- end-user-doc -->
0571: * @generated
0572: */
0573: public EClass getIProjectElement() {
0574: return iProjectElementEClass;
0575: }
0576:
0577: /**
0578: * <!-- begin-user-doc --> <!-- end-user-doc -->
0579: * @generated
0580: */
0581: public EClass getIRenderManager() {
0582: return iRenderManagerEClass;
0583: }
0584:
0585: /**
0586: * <!-- begin-user-doc --> <!-- end-user-doc -->
0587: * @generated
0588: */
0589: public EClass getIViewportModel() {
0590: return iViewportModelEClass;
0591: }
0592:
0593: /**
0594: * <!-- begin-user-doc --> <!-- end-user-doc -->
0595: * @generated
0596: */
0597: public EClass getAbstractContext() {
0598: return abstractContextEClass;
0599: }
0600:
0601: /**
0602: * <!-- begin-user-doc --> <!-- end-user-doc -->
0603: * @generated
0604: */
0605: public EReference getAbstractContext_RenderManagerInternal() {
0606: return (EReference) abstractContextEClass
0607: .getEStructuralFeatures().get(0);
0608: }
0609:
0610: /**
0611: * <!-- begin-user-doc --> <!-- end-user-doc -->
0612: * @generated
0613: */
0614: public EReference getAbstractContext_MapInternal() {
0615: return (EReference) abstractContextEClass
0616: .getEStructuralFeatures().get(1);
0617: }
0618:
0619: /**
0620: * <!-- begin-user-doc --> <!-- end-user-doc -->
0621: * @generated
0622: */
0623: public EClass getContextModel() {
0624: return contextModelEClass;
0625: }
0626:
0627: /**
0628: * <!-- begin-user-doc --> <!-- end-user-doc -->
0629: * @generated
0630: */
0631: public EReference getContextModel_Layers() {
0632: return (EReference) contextModelEClass.getEStructuralFeatures()
0633: .get(0);
0634: }
0635:
0636: /**
0637: * <!-- begin-user-doc --> <!-- end-user-doc -->
0638: * @generated
0639: */
0640: public EReference getContextModel_Map() {
0641: return (EReference) contextModelEClass.getEStructuralFeatures()
0642: .get(1);
0643: }
0644:
0645: /**
0646: * <!-- begin-user-doc --> <!-- end-user-doc -->
0647: * @generated
0648: */
0649: public EClass getEditManager() {
0650: return editManagerEClass;
0651: }
0652:
0653: /**
0654: * <!-- begin-user-doc --> <!-- end-user-doc -->
0655: * @generated
0656: */
0657: public EAttribute getEditManager_EditFeature() {
0658: return (EAttribute) editManagerEClass.getEStructuralFeatures()
0659: .get(0);
0660: }
0661:
0662: /**
0663: * <!-- begin-user-doc --> <!-- end-user-doc -->
0664: * @generated
0665: */
0666: public EReference getEditManager_MapInternal() {
0667: return (EReference) editManagerEClass.getEStructuralFeatures()
0668: .get(1);
0669: }
0670:
0671: /**
0672: * <!-- begin-user-doc --> <!-- end-user-doc -->
0673: * @generated
0674: */
0675: public EReference getEditManager_EditLayerInternal() {
0676: return (EReference) editManagerEClass.getEStructuralFeatures()
0677: .get(2);
0678: }
0679:
0680: /**
0681: * <!-- begin-user-doc --> <!-- end-user-doc -->
0682: * @generated
0683: */
0684: public EAttribute getEditManager_TransactionType() {
0685: return (EAttribute) editManagerEClass.getEStructuralFeatures()
0686: .get(3);
0687: }
0688:
0689: /**
0690: * <!-- begin-user-doc --> <!-- end-user-doc -->
0691: * @generated
0692: */
0693: public EAttribute getEditManager_EditLayerLocked() {
0694: return (EAttribute) editManagerEClass.getEStructuralFeatures()
0695: .get(4);
0696: }
0697:
0698: /**
0699: * <!-- begin-user-doc -->
0700: * <!-- end-user-doc -->
0701: * @generated
0702: */
0703: public EReference getEditManager_SelectedLayer() {
0704: return (EReference) editManagerEClass.getEStructuralFeatures()
0705: .get(5);
0706: }
0707:
0708: /**
0709: * <!-- begin-user-doc --> <!-- end-user-doc -->
0710: * @generated
0711: */
0712: public EClass getLayer() {
0713: return layerEClass;
0714: }
0715:
0716: /**
0717: * <!-- begin-user-doc --> <!-- end-user-doc -->
0718: * @generated
0719: */
0720: public EReference getLayer_ContextModel() {
0721: return (EReference) layerEClass.getEStructuralFeatures().get(0);
0722: }
0723:
0724: /**
0725: * <!-- begin-user-doc --> <!-- end-user-doc -->
0726: * @generated
0727: */
0728: public EAttribute getLayer_Filter() {
0729: return (EAttribute) layerEClass.getEStructuralFeatures().get(1);
0730: }
0731:
0732: /**
0733: * <!-- begin-user-doc --> <!-- end-user-doc -->
0734: * @generated
0735: */
0736: public EReference getLayer_StyleBlackboard() {
0737: return (EReference) layerEClass.getEStructuralFeatures().get(2);
0738: }
0739:
0740: /**
0741: * <!-- begin-user-doc --> <!-- end-user-doc -->
0742: * @generated
0743: */
0744: public EAttribute getLayer_Zorder() {
0745: return (EAttribute) layerEClass.getEStructuralFeatures().get(3);
0746: }
0747:
0748: /**
0749: * <!-- begin-user-doc --> <!-- end-user-doc -->
0750: * @generated
0751: */
0752: public EAttribute getLayer_Status() {
0753: return (EAttribute) layerEClass.getEStructuralFeatures().get(4);
0754: }
0755:
0756: /**
0757: * <!-- begin-user-doc --> <!-- end-user-doc -->
0758: * @generated
0759: */
0760: public EAttribute getLayer_Selectable() {
0761: return (EAttribute) layerEClass.getEStructuralFeatures().get(5);
0762: }
0763:
0764: /**
0765: * <!-- begin-user-doc --> <!-- end-user-doc -->
0766: * @generated
0767: */
0768: public EAttribute getLayer_Name() {
0769: return (EAttribute) layerEClass.getEStructuralFeatures().get(6);
0770: }
0771:
0772: /**
0773: * <!-- begin-user-doc --> <!-- end-user-doc -->
0774: * @generated
0775: */
0776: public EAttribute getLayer_CatalogRef() {
0777: return (EAttribute) layerEClass.getEStructuralFeatures().get(7);
0778: }
0779:
0780: /**
0781: * <!-- begin-user-doc --> <!-- end-user-doc -->
0782: * @generated
0783: */
0784: public EAttribute getLayer_ID() {
0785: return (EAttribute) layerEClass.getEStructuralFeatures().get(8);
0786: }
0787:
0788: /**
0789: * <!-- begin-user-doc --> <!-- end-user-doc -->
0790: * @generated
0791: */
0792: public EAttribute getLayer_Visible() {
0793: return (EAttribute) layerEClass.getEStructuralFeatures().get(9);
0794: }
0795:
0796: /**
0797: * <!-- begin-user-doc --> <!-- end-user-doc -->
0798: * @generated
0799: */
0800: public EAttribute getLayer_GeoResource() {
0801: return (EAttribute) layerEClass.getEStructuralFeatures()
0802: .get(10);
0803: }
0804:
0805: /**
0806: * <!-- begin-user-doc --> <!-- end-user-doc -->
0807: * @generated
0808: */
0809: public EAttribute getLayer_GeoResources() {
0810: return (EAttribute) layerEClass.getEStructuralFeatures()
0811: .get(11);
0812: }
0813:
0814: /**
0815: * <!-- begin-user-doc --> <!-- end-user-doc -->
0816: * @generated
0817: */
0818: public EAttribute getLayer_Glyph() {
0819: return (EAttribute) layerEClass.getEStructuralFeatures()
0820: .get(12);
0821: }
0822:
0823: /**
0824: * <!-- begin-user-doc --> <!-- end-user-doc -->
0825: * @generated
0826: */
0827: public EAttribute getLayer_CRS() {
0828: return (EAttribute) layerEClass.getEStructuralFeatures()
0829: .get(13);
0830: }
0831:
0832: /**
0833: * <!-- begin-user-doc --> <!-- end-user-doc -->
0834: * @generated
0835: */
0836: public EReference getLayer_Properties() {
0837: return (EReference) layerEClass.getEStructuralFeatures()
0838: .get(14);
0839: }
0840:
0841: /**
0842: * <!-- begin-user-doc --> <!-- end-user-doc -->
0843: * @generated
0844: */
0845: public EAttribute getLayer_ColourScheme() {
0846: return (EAttribute) layerEClass.getEStructuralFeatures()
0847: .get(15);
0848: }
0849:
0850: /**
0851: * <!-- begin-user-doc --> <!-- end-user-doc -->
0852: * @generated
0853: */
0854: public EAttribute getLayer_DefaultColor() {
0855: return (EAttribute) layerEClass.getEStructuralFeatures()
0856: .get(16);
0857: }
0858:
0859: /**
0860: * <!-- begin-user-doc --> <!-- end-user-doc -->
0861: * @generated
0862: */
0863: public EAttribute getLayer_FeatureChanges() {
0864: return (EAttribute) layerEClass.getEStructuralFeatures()
0865: .get(17);
0866: }
0867:
0868: /**
0869: * <!-- begin-user-doc --> <!-- end-user-doc -->
0870: * @generated
0871: */
0872: public EClass getMap() {
0873: return mapEClass;
0874: }
0875:
0876: /**
0877: * <!-- begin-user-doc --> <!-- end-user-doc -->
0878: * @generated
0879: */
0880: public EReference getMap_ContextModel() {
0881: return (EReference) mapEClass.getEStructuralFeatures().get(0);
0882: }
0883:
0884: /**
0885: * <!-- begin-user-doc --> <!-- end-user-doc -->
0886: * @generated
0887: */
0888: public EAttribute getMap_Abstract() {
0889: return (EAttribute) mapEClass.getEStructuralFeatures().get(1);
0890: }
0891:
0892: /**
0893: * <!-- begin-user-doc --> <!-- end-user-doc -->
0894: * @generated
0895: */
0896: public EAttribute getMap_NavCommandStack() {
0897: return (EAttribute) mapEClass.getEStructuralFeatures().get(2);
0898: }
0899:
0900: /**
0901: * <!-- begin-user-doc --> <!-- end-user-doc -->
0902: * @generated
0903: */
0904: public EAttribute getMap_CommandStack() {
0905: return (EAttribute) mapEClass.getEStructuralFeatures().get(3);
0906: }
0907:
0908: /**
0909: * <!-- begin-user-doc --> <!-- end-user-doc -->
0910: * @generated
0911: */
0912: public EReference getMap_LayerFactory() {
0913: return (EReference) mapEClass.getEStructuralFeatures().get(4);
0914: }
0915:
0916: /**
0917: * <!-- begin-user-doc --> <!-- end-user-doc -->
0918: * @generated
0919: */
0920: public EReference getMap_ViewportModelInternal() {
0921: return (EReference) mapEClass.getEStructuralFeatures().get(5);
0922: }
0923:
0924: /**
0925: * <!-- begin-user-doc --> <!-- end-user-doc -->
0926: * @generated
0927: */
0928: public EAttribute getMap_ColorPalette() {
0929: return (EAttribute) mapEClass.getEStructuralFeatures().get(6);
0930: }
0931:
0932: /**
0933: * <!-- begin-user-doc --> <!-- end-user-doc -->
0934: * @generated
0935: */
0936: public EReference getMap_EditManagerInternal() {
0937: return (EReference) mapEClass.getEStructuralFeatures().get(7);
0938: }
0939:
0940: /**
0941: * <!-- begin-user-doc --> <!-- end-user-doc -->
0942: * @generated
0943: */
0944: public EReference getMap_RenderManagerInternal() {
0945: return (EReference) mapEClass.getEStructuralFeatures().get(8);
0946: }
0947:
0948: /**
0949: * <!-- begin-user-doc --> <!-- end-user-doc -->
0950: * @generated
0951: */
0952: public EAttribute getMap_ColourScheme() {
0953: return (EAttribute) mapEClass.getEStructuralFeatures().get(9);
0954: }
0955:
0956: /**
0957: * <!-- begin-user-doc --> <!-- end-user-doc -->
0958: * @generated
0959: */
0960: public EReference getMap_BlackBoardInternal() {
0961: return (EReference) mapEClass.getEStructuralFeatures().get(10);
0962: }
0963:
0964: /**
0965: * <!-- begin-user-doc --> <!-- end-user-doc -->
0966: * @generated
0967: */
0968: public EClass getProject() {
0969: return projectEClass;
0970: }
0971:
0972: /**
0973: * <!-- begin-user-doc --> <!-- end-user-doc -->
0974: * @generated
0975: */
0976: public EAttribute getProject_Name() {
0977: return (EAttribute) projectEClass.getEStructuralFeatures().get(
0978: 0);
0979: }
0980:
0981: /**
0982: * <!-- begin-user-doc --> <!-- end-user-doc -->
0983: * @generated
0984: */
0985: public EReference getProject_ElementsInternal() {
0986: return (EReference) projectEClass.getEStructuralFeatures().get(
0987: 1);
0988: }
0989:
0990: /**
0991: * <!-- begin-user-doc --> <!-- end-user-doc -->
0992: * @generated
0993: */
0994: public EClass getProjectElement() {
0995: return projectElementEClass;
0996: }
0997:
0998: /**
0999: * <!-- begin-user-doc --> <!-- end-user-doc -->
1000: * @generated
1001: */
1002: public EAttribute getProjectElement_Name() {
1003: return (EAttribute) projectElementEClass
1004: .getEStructuralFeatures().get(0);
1005: }
1006:
1007: /**
1008: * <!-- begin-user-doc --> <!-- end-user-doc -->
1009: * @generated
1010: */
1011: public EReference getProjectElement_ProjectInternal() {
1012: return (EReference) projectElementEClass
1013: .getEStructuralFeatures().get(1);
1014: }
1015:
1016: /**
1017: * <!-- begin-user-doc --> <!-- end-user-doc -->
1018: * @generated
1019: */
1020: public EClass getProjectRegistry() {
1021: return projectRegistryEClass;
1022: }
1023:
1024: /**
1025: * <!-- begin-user-doc --> <!-- end-user-doc -->
1026: * @generated
1027: */
1028: public EReference getProjectRegistry_CurrentProject() {
1029: return (EReference) projectRegistryEClass
1030: .getEStructuralFeatures().get(0);
1031: }
1032:
1033: /**
1034: * <!-- begin-user-doc --> <!-- end-user-doc -->
1035: * @generated
1036: */
1037: public EReference getProjectRegistry_Projects() {
1038: return (EReference) projectRegistryEClass
1039: .getEStructuralFeatures().get(1);
1040: }
1041:
1042: /**
1043: * <!-- begin-user-doc --> <!-- end-user-doc -->
1044: * @generated
1045: */
1046: public EClass getStyleBlackboard() {
1047: return styleBlackboardEClass;
1048: }
1049:
1050: /**
1051: * <!-- begin-user-doc --> <!-- end-user-doc -->
1052: * @generated
1053: */
1054: public EReference getStyleBlackboard_Content() {
1055: return (EReference) styleBlackboardEClass
1056: .getEStructuralFeatures().get(0);
1057: }
1058:
1059: /**
1060: * <!-- begin-user-doc --> <!-- end-user-doc -->
1061: * @generated
1062: */
1063: public EClass getStyleEntry() {
1064: return styleEntryEClass;
1065: }
1066:
1067: /**
1068: * <!-- begin-user-doc --> <!-- end-user-doc -->
1069: * @generated
1070: */
1071: public EAttribute getStyleEntry_ID() {
1072: return (EAttribute) styleEntryEClass.getEStructuralFeatures()
1073: .get(0);
1074: }
1075:
1076: /**
1077: * <!-- begin-user-doc --> <!-- end-user-doc -->
1078: * @generated
1079: */
1080: public EAttribute getStyleEntry_Memento() {
1081: return (EAttribute) styleEntryEClass.getEStructuralFeatures()
1082: .get(1);
1083: }
1084:
1085: /**
1086: * <!-- begin-user-doc --> <!-- end-user-doc -->
1087: * @generated
1088: */
1089: public EAttribute getStyleEntry_Style() {
1090: return (EAttribute) styleEntryEClass.getEStructuralFeatures()
1091: .get(2);
1092: }
1093:
1094: /**
1095: * <!-- begin-user-doc --> <!-- end-user-doc -->
1096: * @generated
1097: */
1098: public EAttribute getStyleEntry_StyleClass() {
1099: return (EAttribute) styleEntryEClass.getEStructuralFeatures()
1100: .get(3);
1101: }
1102:
1103: /**
1104: * <!-- begin-user-doc --> <!-- end-user-doc -->
1105: * @generated
1106: */
1107: public EClass getCloneable() {
1108: return cloneableEClass;
1109: }
1110:
1111: /**
1112: * <!-- begin-user-doc --> <!-- end-user-doc -->
1113: * @generated
1114: */
1115: public EClass getLayerFactory() {
1116: return layerFactoryEClass;
1117: }
1118:
1119: /**
1120: * <!-- begin-user-doc --> <!-- end-user-doc -->
1121: * @generated
1122: */
1123: public EReference getLayerFactory_Map() {
1124: return (EReference) layerFactoryEClass.getEStructuralFeatures()
1125: .get(0);
1126: }
1127:
1128: /**
1129: * <!-- begin-user-doc --> <!-- end-user-doc -->
1130: * @generated
1131: */
1132: public EClass getIAdaptable() {
1133: return iAdaptableEClass;
1134: }
1135:
1136: /**
1137: * <!-- begin-user-doc --> <!-- end-user-doc -->
1138: * @generated
1139: */
1140: public EClass getIBlockingAdaptable() {
1141: return iBlockingAdaptableEClass;
1142: }
1143:
1144: /**
1145: * <!-- begin-user-doc --> <!-- end-user-doc -->
1146: * @generated
1147: */
1148: public EClass getPicoBlackboard() {
1149: return picoBlackboardEClass;
1150: }
1151:
1152: /**
1153: * <!-- begin-user-doc --> <!-- end-user-doc -->
1154: * @generated
1155: */
1156: public EAttribute getPicoBlackboard_PicoContainer() {
1157: return (EAttribute) picoBlackboardEClass
1158: .getEStructuralFeatures().get(0);
1159: }
1160:
1161: /**
1162: * <!-- begin-user-doc --> <!-- end-user-doc -->
1163: * @generated
1164: */
1165: public EClass getBlackboard() {
1166: return blackboardEClass;
1167: }
1168:
1169: /**
1170: * <!-- begin-user-doc --> <!-- end-user-doc -->
1171: * @generated
1172: */
1173: public EReference getBlackboard_Entries() {
1174: return (EReference) blackboardEClass.getEStructuralFeatures()
1175: .get(0);
1176: }
1177:
1178: /**
1179: * <!-- begin-user-doc --> <!-- end-user-doc -->
1180: * @generated
1181: */
1182: public EClass getBlackboardEntry() {
1183: return blackboardEntryEClass;
1184: }
1185:
1186: /**
1187: * <!-- begin-user-doc --> <!-- end-user-doc -->
1188: * @generated
1189: */
1190: public EAttribute getBlackboardEntry_Key() {
1191: return (EAttribute) blackboardEntryEClass
1192: .getEStructuralFeatures().get(0);
1193: }
1194:
1195: /**
1196: * <!-- begin-user-doc --> <!-- end-user-doc -->
1197: * @generated
1198: */
1199: public EAttribute getBlackboardEntry_Memento() {
1200: return (EAttribute) blackboardEntryEClass
1201: .getEStructuralFeatures().get(1);
1202: }
1203:
1204: /**
1205: * <!-- begin-user-doc --> <!-- end-user-doc -->
1206: * @generated
1207: */
1208: public EAttribute getBlackboardEntry_ObjectClass() {
1209: return (EAttribute) blackboardEntryEClass
1210: .getEStructuralFeatures().get(2);
1211: }
1212:
1213: /**
1214: * <!-- begin-user-doc --> <!-- end-user-doc -->
1215: * @generated
1216: */
1217: public EAttribute getBlackboardEntry_Object() {
1218: return (EAttribute) blackboardEntryEClass
1219: .getEStructuralFeatures().get(3);
1220: }
1221:
1222: /**
1223: * <!-- begin-user-doc --> <!-- end-user-doc -->
1224: * @generated
1225: */
1226: public EClass getIResolveChangeListener() {
1227: return iResolveChangeListenerEClass;
1228: }
1229:
1230: /**
1231: * <!-- begin-user-doc --> <!-- end-user-doc -->
1232: * @generated
1233: */
1234: public EDataType getCoordinate() {
1235: return coordinateEDataType;
1236: }
1237:
1238: /**
1239: * <!-- begin-user-doc --> <!-- end-user-doc -->
1240: * @generated
1241: */
1242: public EDataType getMapDisplay() {
1243: return mapDisplayEDataType;
1244: }
1245:
1246: /**
1247: * <!-- begin-user-doc --> <!-- end-user-doc -->
1248: * @generated
1249: */
1250: public EDataType getFeatureResults() {
1251: return featureResultsEDataType;
1252: }
1253:
1254: /**
1255: * <!-- begin-user-doc --> <!-- end-user-doc -->
1256: * @generated
1257: */
1258: public EDataType getList() {
1259: return listEDataType;
1260: }
1261:
1262: /**
1263: * <!-- begin-user-doc --> <!-- end-user-doc -->
1264: * @generated
1265: */
1266: public EDataType getAffineTransform() {
1267: return affineTransformEDataType;
1268: }
1269:
1270: /**
1271: * <!-- begin-user-doc --> <!-- end-user-doc -->
1272: * @generated
1273: */
1274: public EDataType getNavCommandStack() {
1275: return navCommandStackEDataType;
1276: }
1277:
1278: /**
1279: * <!-- begin-user-doc --> <!-- end-user-doc -->
1280: * @generated
1281: */
1282: public EDataType getIGeoResource() {
1283: return iGeoResourceEDataType;
1284: }
1285:
1286: /**
1287: * <!-- begin-user-doc --> <!-- end-user-doc -->
1288: * @generated
1289: */
1290: public EDataType getFilter() {
1291: return filterEDataType;
1292: }
1293:
1294: /**
1295: * <!-- begin-user-doc --> <!-- end-user-doc -->
1296: * @generated
1297: */
1298: public EDataType getCoordinateReferenceSystem() {
1299: return coordinateReferenceSystemEDataType;
1300: }
1301:
1302: /**
1303: * <!-- begin-user-doc --> <!-- end-user-doc -->
1304: * @generated
1305: */
1306: public EDataType getCommandStack() {
1307: return commandStackEDataType;
1308: }
1309:
1310: /**
1311: * <!-- begin-user-doc --> <!-- end-user-doc -->
1312: * @generated
1313: */
1314: public EDataType getFeature() {
1315: return featureEDataType;
1316: }
1317:
1318: /**
1319: * <!-- begin-user-doc --> <!-- end-user-doc -->
1320: * @generated
1321: */
1322: public EDataType getPoint() {
1323: return pointEDataType;
1324: }
1325:
1326: /**
1327: * <!-- begin-user-doc --> <!-- end-user-doc -->
1328: * @generated
1329: */
1330: public EDataType getAdapter() {
1331: return adapterEDataType;
1332: }
1333:
1334: /**
1335: * <!-- begin-user-doc --> <!-- end-user-doc -->
1336: * @generated
1337: */
1338: public EDataType getIProgressMonitor() {
1339: return iProgressMonitorEDataType;
1340: }
1341:
1342: /**
1343: * <!-- begin-user-doc --> <!-- end-user-doc -->
1344: * @generated
1345: */
1346: public EDataType getQuery() {
1347: return queryEDataType;
1348: }
1349:
1350: /**
1351: * <!-- begin-user-doc --> <!-- end-user-doc -->
1352: * @generated
1353: */
1354: public EDataType getURL() {
1355: return urlEDataType;
1356: }
1357:
1358: /**
1359: * <!-- begin-user-doc --> <!-- end-user-doc -->
1360: * @generated
1361: */
1362: public EDataType getImageDescriptor() {
1363: return imageDescriptorEDataType;
1364: }
1365:
1366: /**
1367: * <!-- begin-user-doc --> <!-- end-user-doc -->
1368: * @generated
1369: */
1370: public EDataType getEditCommand() {
1371: return editCommandEDataType;
1372: }
1373:
1374: /**
1375: * <!-- begin-user-doc --> <!-- end-user-doc -->
1376: * @generated
1377: */
1378: public EDataType getNavCommand() {
1379: return navCommandEDataType;
1380: }
1381:
1382: /**
1383: * <!-- begin-user-doc --> <!-- end-user-doc -->
1384: * @generated
1385: */
1386: public EDataType getEnvelope() {
1387: return envelopeEDataType;
1388: }
1389:
1390: /**
1391: * <!-- begin-user-doc --> <!-- end-user-doc -->
1392: * @generated
1393: */
1394: public EDataType getEditManagerControlCommand() {
1395: return editManagerControlCommandEDataType;
1396: }
1397:
1398: /**
1399: * <!-- begin-user-doc --> <!-- end-user-doc -->
1400: * @generated
1401: */
1402: public EDataType getCommand() {
1403: return commandEDataType;
1404: }
1405:
1406: /**
1407: * <!-- begin-user-doc --> <!-- end-user-doc -->
1408: * @generated
1409: */
1410: public EDataType getURI() {
1411: return uriEDataType;
1412: }
1413:
1414: /**
1415: * <!-- begin-user-doc --> <!-- end-user-doc -->
1416: * @generated
1417: */
1418: public EDataType getCatalogRef() {
1419: return catalogRefEDataType;
1420: }
1421:
1422: /**
1423: * <!-- begin-user-doc --> <!-- end-user-doc -->
1424: * @generated
1425: */
1426: public EDataType getColourPalette() {
1427: return colourPaletteEDataType;
1428: }
1429:
1430: /**
1431: * <!-- begin-user-doc --> <!-- end-user-doc -->
1432: * @generated
1433: */
1434: public EDataType getColourScheme() {
1435: return colourSchemeEDataType;
1436: }
1437:
1438: /**
1439: * <!-- begin-user-doc --> <!-- end-user-doc -->
1440: * @generated
1441: */
1442: public EDataType getMutablePicoContainer() {
1443: return mutablePicoContainerEDataType;
1444: }
1445:
1446: /**
1447: * <!-- begin-user-doc --> <!-- end-user-doc -->
1448: * @generated
1449: */
1450: public EDataType getReferencedEnvelope() {
1451: return referencedEnvelopeEDataType;
1452: }
1453:
1454: /**
1455: * <!-- begin-user-doc --> <!-- end-user-doc -->
1456: * @generated
1457: */
1458: public EDataType getFeatureEvent() {
1459: return featureEventEDataType;
1460: }
1461:
1462: /**
1463: * <!-- begin-user-doc --> <!-- end-user-doc -->
1464: * @generated
1465: */
1466: public ProjectFactory getProjectFactory() {
1467: return (ProjectFactory) getEFactoryInstance();
1468: }
1469:
1470: /**
1471: * <!-- begin-user-doc --> <!-- end-user-doc -->
1472: * @generated
1473: */
1474: private boolean isCreated = false;
1475:
1476: /**
1477: * Creates the meta-model objects for the package. This method is
1478: * guarded to have no affect on any invocation but its first.
1479: * <!-- begin-user-doc --> <!-- end-user-doc -->
1480: * @generated
1481: */
1482: public void createPackageContents() {
1483: if (isCreated)
1484: return;
1485: isCreated = true;
1486:
1487: // Create classes and their features
1488: comparableEClass = createEClass(COMPARABLE);
1489:
1490: iMapEClass = createEClass(IMAP);
1491:
1492: iLayerEClass = createEClass(ILAYER);
1493:
1494: iEditManagerEClass = createEClass(IEDIT_MANAGER);
1495:
1496: iProjectEClass = createEClass(IPROJECT);
1497:
1498: iAbstractContextEClass = createEClass(IABSTRACT_CONTEXT);
1499:
1500: iBlackboardEClass = createEClass(IBLACKBOARD);
1501:
1502: iProjectElementEClass = createEClass(IPROJECT_ELEMENT);
1503:
1504: iRenderManagerEClass = createEClass(IRENDER_MANAGER);
1505:
1506: iViewportModelEClass = createEClass(IVIEWPORT_MODEL);
1507:
1508: abstractContextEClass = createEClass(ABSTRACT_CONTEXT);
1509: createEReference(abstractContextEClass,
1510: ABSTRACT_CONTEXT__RENDER_MANAGER_INTERNAL);
1511: createEReference(abstractContextEClass,
1512: ABSTRACT_CONTEXT__MAP_INTERNAL);
1513:
1514: contextModelEClass = createEClass(CONTEXT_MODEL);
1515: createEReference(contextModelEClass, CONTEXT_MODEL__LAYERS);
1516: createEReference(contextModelEClass, CONTEXT_MODEL__MAP);
1517:
1518: editManagerEClass = createEClass(EDIT_MANAGER);
1519: createEAttribute(editManagerEClass, EDIT_MANAGER__EDIT_FEATURE);
1520: createEReference(editManagerEClass, EDIT_MANAGER__MAP_INTERNAL);
1521: createEReference(editManagerEClass,
1522: EDIT_MANAGER__EDIT_LAYER_INTERNAL);
1523: createEAttribute(editManagerEClass,
1524: EDIT_MANAGER__TRANSACTION_TYPE);
1525: createEAttribute(editManagerEClass,
1526: EDIT_MANAGER__EDIT_LAYER_LOCKED);
1527: createEReference(editManagerEClass,
1528: EDIT_MANAGER__SELECTED_LAYER);
1529:
1530: layerEClass = createEClass(LAYER);
1531: createEReference(layerEClass, LAYER__CONTEXT_MODEL);
1532: createEAttribute(layerEClass, LAYER__FILTER);
1533: createEReference(layerEClass, LAYER__STYLE_BLACKBOARD);
1534: createEAttribute(layerEClass, LAYER__ZORDER);
1535: createEAttribute(layerEClass, LAYER__STATUS);
1536: createEAttribute(layerEClass, LAYER__SELECTABLE);
1537: createEAttribute(layerEClass, LAYER__NAME);
1538: createEAttribute(layerEClass, LAYER__CATALOG_REF);
1539: createEAttribute(layerEClass, LAYER__ID);
1540: createEAttribute(layerEClass, LAYER__VISIBLE);
1541: createEAttribute(layerEClass, LAYER__GEO_RESOURCE);
1542: createEAttribute(layerEClass, LAYER__GEO_RESOURCES);
1543: createEAttribute(layerEClass, LAYER__GLYPH);
1544: createEAttribute(layerEClass, LAYER__CRS);
1545: createEReference(layerEClass, LAYER__PROPERTIES);
1546: createEAttribute(layerEClass, LAYER__COLOUR_SCHEME);
1547: createEAttribute(layerEClass, LAYER__DEFAULT_COLOR);
1548: createEAttribute(layerEClass, LAYER__FEATURE_CHANGES);
1549:
1550: mapEClass = createEClass(MAP);
1551: createEReference(mapEClass, MAP__CONTEXT_MODEL);
1552: createEAttribute(mapEClass, MAP__ABSTRACT);
1553: createEAttribute(mapEClass, MAP__NAV_COMMAND_STACK);
1554: createEAttribute(mapEClass, MAP__COMMAND_STACK);
1555: createEReference(mapEClass, MAP__LAYER_FACTORY);
1556: createEReference(mapEClass, MAP__VIEWPORT_MODEL_INTERNAL);
1557: createEAttribute(mapEClass, MAP__COLOR_PALETTE);
1558: createEReference(mapEClass, MAP__EDIT_MANAGER_INTERNAL);
1559: createEReference(mapEClass, MAP__RENDER_MANAGER_INTERNAL);
1560: createEAttribute(mapEClass, MAP__COLOUR_SCHEME);
1561: createEReference(mapEClass, MAP__BLACK_BOARD_INTERNAL);
1562:
1563: projectEClass = createEClass(PROJECT);
1564: createEAttribute(projectEClass, PROJECT__NAME);
1565: createEReference(projectEClass, PROJECT__ELEMENTS_INTERNAL);
1566:
1567: projectElementEClass = createEClass(PROJECT_ELEMENT);
1568: createEAttribute(projectElementEClass, PROJECT_ELEMENT__NAME);
1569: createEReference(projectElementEClass,
1570: PROJECT_ELEMENT__PROJECT_INTERNAL);
1571:
1572: projectRegistryEClass = createEClass(PROJECT_REGISTRY);
1573: createEReference(projectRegistryEClass,
1574: PROJECT_REGISTRY__CURRENT_PROJECT);
1575: createEReference(projectRegistryEClass,
1576: PROJECT_REGISTRY__PROJECTS);
1577:
1578: styleBlackboardEClass = createEClass(STYLE_BLACKBOARD);
1579: createEReference(styleBlackboardEClass,
1580: STYLE_BLACKBOARD__CONTENT);
1581:
1582: styleEntryEClass = createEClass(STYLE_ENTRY);
1583: createEAttribute(styleEntryEClass, STYLE_ENTRY__ID);
1584: createEAttribute(styleEntryEClass, STYLE_ENTRY__MEMENTO);
1585: createEAttribute(styleEntryEClass, STYLE_ENTRY__STYLE);
1586: createEAttribute(styleEntryEClass, STYLE_ENTRY__STYLE_CLASS);
1587:
1588: cloneableEClass = createEClass(CLONEABLE);
1589:
1590: layerFactoryEClass = createEClass(LAYER_FACTORY);
1591: createEReference(layerFactoryEClass, LAYER_FACTORY__MAP);
1592:
1593: iAdaptableEClass = createEClass(IADAPTABLE);
1594:
1595: iBlockingAdaptableEClass = createEClass(IBLOCKING_ADAPTABLE);
1596:
1597: picoBlackboardEClass = createEClass(PICO_BLACKBOARD);
1598: createEAttribute(picoBlackboardEClass,
1599: PICO_BLACKBOARD__PICO_CONTAINER);
1600:
1601: blackboardEClass = createEClass(BLACKBOARD);
1602: createEReference(blackboardEClass, BLACKBOARD__ENTRIES);
1603:
1604: blackboardEntryEClass = createEClass(BLACKBOARD_ENTRY);
1605: createEAttribute(blackboardEntryEClass, BLACKBOARD_ENTRY__KEY);
1606: createEAttribute(blackboardEntryEClass,
1607: BLACKBOARD_ENTRY__MEMENTO);
1608: createEAttribute(blackboardEntryEClass,
1609: BLACKBOARD_ENTRY__OBJECT_CLASS);
1610: createEAttribute(blackboardEntryEClass,
1611: BLACKBOARD_ENTRY__OBJECT);
1612:
1613: iResolveChangeListenerEClass = createEClass(IRESOLVE_CHANGE_LISTENER);
1614:
1615: // Create data types
1616: coordinateEDataType = createEDataType(COORDINATE);
1617: mapDisplayEDataType = createEDataType(MAP_DISPLAY);
1618: featureResultsEDataType = createEDataType(FEATURE_RESULTS);
1619: listEDataType = createEDataType(LIST);
1620: affineTransformEDataType = createEDataType(AFFINE_TRANSFORM);
1621: navCommandStackEDataType = createEDataType(NAV_COMMAND_STACK);
1622: iGeoResourceEDataType = createEDataType(IGEO_RESOURCE);
1623: filterEDataType = createEDataType(FILTER);
1624: coordinateReferenceSystemEDataType = createEDataType(COORDINATE_REFERENCE_SYSTEM);
1625: commandStackEDataType = createEDataType(COMMAND_STACK);
1626: featureEDataType = createEDataType(FEATURE);
1627: pointEDataType = createEDataType(POINT);
1628: adapterEDataType = createEDataType(ADAPTER);
1629: iProgressMonitorEDataType = createEDataType(IPROGRESS_MONITOR);
1630: queryEDataType = createEDataType(QUERY);
1631: urlEDataType = createEDataType(URL);
1632: imageDescriptorEDataType = createEDataType(IMAGE_DESCRIPTOR);
1633: editCommandEDataType = createEDataType(EDIT_COMMAND);
1634: navCommandEDataType = createEDataType(NAV_COMMAND);
1635: envelopeEDataType = createEDataType(ENVELOPE);
1636: editManagerControlCommandEDataType = createEDataType(EDIT_MANAGER_CONTROL_COMMAND);
1637: commandEDataType = createEDataType(COMMAND);
1638: uriEDataType = createEDataType(URI);
1639: catalogRefEDataType = createEDataType(CATALOG_REF);
1640: colourPaletteEDataType = createEDataType(COLOUR_PALETTE);
1641: colourSchemeEDataType = createEDataType(COLOUR_SCHEME);
1642: defaultColorEDataType = createEDataType(DEFAULT_COLOR);
1643: mutablePicoContainerEDataType = createEDataType(MUTABLE_PICO_CONTAINER);
1644: referencedEnvelopeEDataType = createEDataType(REFERENCED_ENVELOPE);
1645: featureEventEDataType = createEDataType(FEATURE_EVENT);
1646: }
1647:
1648: /**
1649: * <!-- begin-user-doc --> <!-- end-user-doc -->
1650: * @generated
1651: */
1652: private boolean isInitialized = false;
1653:
1654: /**
1655: * Complete the initialization of the package and its meta-model. This
1656: * method is guarded to have no affect on any invocation but its first.
1657: * <!-- begin-user-doc --> <!-- end-user-doc -->
1658: * @generated
1659: */
1660: @SuppressWarnings("unchecked")
1661: public void initializePackageContents() {
1662: if (isInitialized)
1663: return;
1664: isInitialized = true;
1665:
1666: // Initialize package
1667: setName(eNAME);
1668: setNsPrefix(eNS_PREFIX);
1669: setNsURI(eNS_URI);
1670:
1671: // Obtain other dependent packages
1672: RenderPackageImpl theRenderPackage = (RenderPackageImpl) EPackage.Registry.INSTANCE
1673: .getEPackage(RenderPackage.eNS_URI);
1674:
1675: // Add supertypes to classes
1676: abstractContextEClass.getESuperTypes().add(this .getCloneable());
1677: abstractContextEClass.getESuperTypes().add(
1678: this .getIAbstractContext());
1679: editManagerEClass.getESuperTypes().add(this .getIEditManager());
1680: layerEClass.getESuperTypes().add(this .getILayer());
1681: layerEClass.getESuperTypes().add(this .getIAdaptable());
1682: layerEClass.getESuperTypes().add(this .getIBlockingAdaptable());
1683: layerEClass.getESuperTypes().add(
1684: this .getIResolveChangeListener());
1685: mapEClass.getESuperTypes().add(this .getProjectElement());
1686: mapEClass.getESuperTypes().add(this .getIMap());
1687: projectEClass.getESuperTypes().add(this .getIProject());
1688: projectElementEClass.getESuperTypes().add(
1689: this .getIProjectElement());
1690: projectElementEClass.getESuperTypes().add(this .getIAdaptable());
1691: styleBlackboardEClass.getESuperTypes().add(
1692: this .getIBlackboard());
1693: styleBlackboardEClass.getESuperTypes().add(this .getCloneable());
1694: picoBlackboardEClass.getESuperTypes()
1695: .add(this .getIBlackboard());
1696: blackboardEClass.getESuperTypes().add(this .getIBlackboard());
1697:
1698: // Initialize classes and features; add operations and parameters
1699: initEClass(
1700: comparableEClass,
1701: Comparable.class,
1702: "Comparable", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1703:
1704: initEClass(
1705: iMapEClass,
1706: IMap.class,
1707: "IMap", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1708:
1709: initEClass(
1710: iLayerEClass,
1711: ILayer.class,
1712: "ILayer", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1713:
1714: initEClass(
1715: iEditManagerEClass,
1716: IEditManager.class,
1717: "IEditManager", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1718:
1719: initEClass(
1720: iProjectEClass,
1721: IProject.class,
1722: "IProject", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1723:
1724: initEClass(
1725: iAbstractContextEClass,
1726: IAbstractContext.class,
1727: "IAbstractContext", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1728:
1729: initEClass(
1730: iBlackboardEClass,
1731: IBlackboard.class,
1732: "IBlackboard", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1733:
1734: initEClass(
1735: iProjectElementEClass,
1736: IProjectElement.class,
1737: "IProjectElement", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1738:
1739: initEClass(
1740: iRenderManagerEClass,
1741: IRenderManager.class,
1742: "IRenderManager", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1743:
1744: initEClass(
1745: iViewportModelEClass,
1746: IViewportModel.class,
1747: "IViewportModel", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1748:
1749: initEClass(
1750: abstractContextEClass,
1751: AbstractContext.class,
1752: "AbstractContext", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1753: initEReference(
1754: getAbstractContext_RenderManagerInternal(),
1755: theRenderPackage.getRenderManager(),
1756: null,
1757: "renderManagerInternal", null, 0, 1, AbstractContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1758: initEReference(
1759: getAbstractContext_MapInternal(),
1760: this .getMap(),
1761: null,
1762: "mapInternal", null, 0, 1, AbstractContext.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1763:
1764: initEClass(
1765: contextModelEClass,
1766: ContextModel.class,
1767: "ContextModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1768: initEReference(
1769: getContextModel_Layers(),
1770: this .getLayer(),
1771: this .getLayer_ContextModel(),
1772: "layers", null, 0, -1, ContextModel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1773: initEReference(
1774: getContextModel_Map(),
1775: this .getMap(),
1776: this .getMap_ContextModel(),
1777: "map", null, 0, 1, ContextModel.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1778:
1779: EOperation op = addEOperation(contextModelEClass, null,
1780: "lowerLayer"); //$NON-NLS-1$
1781: addEParameter(op, this .getLayer(), "layer"); //$NON-NLS-1$
1782:
1783: op = addEOperation(contextModelEClass, null, "raiseLayer"); //$NON-NLS-1$
1784: addEParameter(op, this .getLayer(), "layer"); //$NON-NLS-1$
1785:
1786: initEClass(
1787: editManagerEClass,
1788: EditManager.class,
1789: "EditManager", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1790: initEAttribute(
1791: getEditManager_EditFeature(),
1792: this .getFeature(),
1793: "editFeature", null, 0, 1, EditManager.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1794: initEReference(
1795: getEditManager_MapInternal(),
1796: this .getMap(),
1797: this .getMap_EditManagerInternal(),
1798: "mapInternal", null, 0, 1, EditManager.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1799: initEReference(
1800: getEditManager_EditLayerInternal(),
1801: this .getLayer(),
1802: null,
1803: "editLayerInternal", null, 0, 1, EditManager.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1804: initEAttribute(
1805: getEditManager_TransactionType(),
1806: ecorePackage.getEJavaClass(),
1807: "transactionType", null, 0, 1, EditManager.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1808: initEAttribute(
1809: getEditManager_EditLayerLocked(),
1810: ecorePackage.getEBoolean(),
1811: "editLayerLocked", null, 0, 1, EditManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1812: initEReference(
1813: getEditManager_SelectedLayer(),
1814: this .getLayer(),
1815: null,
1816: "selectedLayer", null, 0, 1, EditManager.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1817:
1818: op = addEOperation(editManagerEClass, null, "setEditFeature"); //$NON-NLS-1$
1819: addEParameter(op, this .getFeature(), "value"); //$NON-NLS-1$
1820: addEParameter(op, this .getLayer(), "layer"); //$NON-NLS-1$
1821:
1822: addEOperation(editManagerEClass, null, "startTransaction"); //$NON-NLS-1$
1823:
1824: addEOperation(editManagerEClass, null, "commitTransaction"); //$NON-NLS-1$
1825:
1826: addEOperation(editManagerEClass, null, "rollbackTransaction"); //$NON-NLS-1$
1827:
1828: initEClass(
1829: layerEClass,
1830: Layer.class,
1831: "Layer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1832: initEReference(
1833: getLayer_ContextModel(),
1834: this .getContextModel(),
1835: this .getContextModel_Layers(),
1836: "contextModel", null, 0, 1, Layer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1837: initEAttribute(
1838: getLayer_Filter(),
1839: this .getFilter(),
1840: "filter", null, 0, 1, Layer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1841: initEReference(
1842: getLayer_StyleBlackboard(),
1843: this .getStyleBlackboard(),
1844: null,
1845: "styleBlackboard", null, 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1846: initEAttribute(
1847: getLayer_Zorder(),
1848: ecorePackage.getEInt(),
1849: "zorder", null, 0, 1, Layer.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1850: initEAttribute(
1851: getLayer_Status(),
1852: ecorePackage.getEInt(),
1853: "status", "0", 0, 1, Layer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
1854: initEAttribute(
1855: getLayer_Selectable(),
1856: ecorePackage.getEBoolean(),
1857: "selectable", "true", 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ //$NON-NLS-2$
1858: initEAttribute(
1859: getLayer_Name(),
1860: ecorePackage.getEString(),
1861: "name", null, 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1862: initEAttribute(
1863: getLayer_CatalogRef(),
1864: this .getCatalogRef(),
1865: "catalogRef", null, 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1866: initEAttribute(
1867: getLayer_ID(),
1868: this .getURL(),
1869: "iD", null, 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1870: initEAttribute(
1871: getLayer_Visible(),
1872: ecorePackage.getEBoolean(),
1873: "visible", null, 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1874: initEAttribute(
1875: getLayer_GeoResource(),
1876: this .getIGeoResource(),
1877: "geoResource", null, 0, 1, Layer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1878: initEAttribute(
1879: getLayer_GeoResources(),
1880: this .getIGeoResource(),
1881: "geoResources", null, 0, -1, Layer.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1882: initEAttribute(
1883: getLayer_Glyph(),
1884: this .getImageDescriptor(),
1885: "glyph", null, 0, 1, Layer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1886: initEAttribute(
1887: getLayer_CRS(),
1888: this .getCoordinateReferenceSystem(),
1889: "cRS", null, 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1890: initEReference(
1891: getLayer_Properties(),
1892: this .getIBlackboard(),
1893: null,
1894: "properties", null, 0, 1, Layer.class, IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1895: initEAttribute(
1896: getLayer_ColourScheme(),
1897: this .getColourScheme(),
1898: "colourScheme", null, 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1899: initEAttribute(
1900: getLayer_DefaultColor(),
1901: getDefaultColor(),
1902: "defaultColor", null, 0, 1, Layer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1903: initEAttribute(
1904: getLayer_FeatureChanges(),
1905: this .getFeatureEvent(),
1906: "featureChanges", null, 0, -1, Layer.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1907:
1908: op = addEOperation(layerEClass, this .getQuery(), "getQuery"); //$NON-NLS-1$
1909: addEParameter(op, ecorePackage.getEBoolean(), "selection"); //$NON-NLS-1$
1910:
1911: op = addEOperation(layerEClass, this
1912: .getCoordinateReferenceSystem(), "getCRS"); //$NON-NLS-1$
1913: addEParameter(op, this .getIProgressMonitor(), "monitor"); //$NON-NLS-1$
1914:
1915: initEClass(
1916: mapEClass,
1917: Map.class,
1918: "Map", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1919: initEReference(
1920: getMap_ContextModel(),
1921: this .getContextModel(),
1922: this .getContextModel_Map(),
1923: "contextModel", null, 0, 1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1924: initEAttribute(
1925: getMap_Abstract(),
1926: ecorePackage.getEString(),
1927: "abstract", null, 0, 1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1928: initEAttribute(
1929: getMap_NavCommandStack(),
1930: this .getNavCommandStack(),
1931: "navCommandStack", null, 0, 1, Map.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1932: initEAttribute(
1933: getMap_CommandStack(),
1934: this .getCommandStack(),
1935: "commandStack", null, 0, 1, Map.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1936: initEReference(
1937: getMap_LayerFactory(),
1938: this .getLayerFactory(),
1939: this .getLayerFactory_Map(),
1940: "layerFactory", null, 0, 1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1941: initEReference(
1942: getMap_ViewportModelInternal(),
1943: theRenderPackage.getViewportModel(),
1944: theRenderPackage.getViewportModel_MapInternal(),
1945: "viewportModelInternal", null, 0, 1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1946: initEAttribute(
1947: getMap_ColorPalette(),
1948: this .getColourPalette(),
1949: "colorPalette", null, 0, 1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1950: initEReference(
1951: getMap_EditManagerInternal(),
1952: this .getEditManager(),
1953: this .getEditManager_MapInternal(),
1954: "editManagerInternal", null, 0, 1, Map.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1955: initEReference(
1956: getMap_RenderManagerInternal(),
1957: theRenderPackage.getRenderManager(),
1958: theRenderPackage.getRenderManager_MapInternal(),
1959: "renderManagerInternal", null, 0, 1, Map.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1960: initEAttribute(
1961: getMap_ColourScheme(),
1962: this .getColourScheme(),
1963: "colourScheme", null, 0, 1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1964: initEReference(
1965: getMap_BlackBoardInternal(),
1966: this .getBlackboard(),
1967: null,
1968: "blackBoardInternal", null, 0, 1, Map.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1969:
1970: op = addEOperation(mapEClass, this .getReferencedEnvelope(),
1971: "getBounds"); //$NON-NLS-1$
1972: addEParameter(op, this .getIProgressMonitor(), "monitor"); //$NON-NLS-1$
1973:
1974: op = addEOperation(mapEClass, ecorePackage.getEDouble(),
1975: "getAspectRatio"); //$NON-NLS-1$
1976: addEParameter(op, this .getIProgressMonitor(), "monitor"); //$NON-NLS-1$
1977:
1978: addEOperation(mapEClass, null, "redo"); //$NON-NLS-1$
1979:
1980: addEOperation(mapEClass, null, "undo"); //$NON-NLS-1$
1981:
1982: addEOperation(mapEClass, null, "backwardHistory"); //$NON-NLS-1$
1983:
1984: addEOperation(mapEClass, null, "forewardHistory"); //$NON-NLS-1$
1985:
1986: initEClass(
1987: projectEClass,
1988: Project.class,
1989: "Project", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
1990: initEAttribute(
1991: getProject_Name(),
1992: ecorePackage.getEString(),
1993: "name", null, 0, 1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1994: initEReference(
1995: getProject_ElementsInternal(),
1996: this .getProjectElement(),
1997: this .getProjectElement_ProjectInternal(),
1998: "elementsInternal", null, 0, -1, Project.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
1999:
2000: initEClass(
2001: projectElementEClass,
2002: ProjectElement.class,
2003: "ProjectElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2004: initEAttribute(
2005: getProjectElement_Name(),
2006: ecorePackage.getEString(),
2007: "name", null, 0, 1, ProjectElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2008: initEReference(
2009: getProjectElement_ProjectInternal(),
2010: this .getProject(),
2011: this .getProject_ElementsInternal(),
2012: "projectInternal", null, 0, 1, ProjectElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2013:
2014: initEClass(
2015: projectRegistryEClass,
2016: ProjectRegistry.class,
2017: "ProjectRegistry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2018: initEReference(
2019: getProjectRegistry_CurrentProject(),
2020: this .getProject(),
2021: null,
2022: "currentProject", null, 0, 1, ProjectRegistry.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2023: initEReference(
2024: getProjectRegistry_Projects(),
2025: this .getProject(),
2026: null,
2027: "projects", null, 0, -1, ProjectRegistry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2028:
2029: op = addEOperation(projectRegistryEClass, this .getProject(),
2030: "getProject"); //$NON-NLS-1$
2031: addEParameter(op, this .getURI(), "uri"); //$NON-NLS-1$
2032:
2033: op = addEOperation(projectRegistryEClass, this .getProject(),
2034: "getProject"); //$NON-NLS-1$
2035: addEParameter(op, ecorePackage.getEString(), "projectPath"); //$NON-NLS-1$
2036:
2037: initEClass(
2038: styleBlackboardEClass,
2039: StyleBlackboard.class,
2040: "StyleBlackboard", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2041: initEReference(
2042: getStyleBlackboard_Content(),
2043: this .getStyleEntry(),
2044: null,
2045: "content", null, 0, -1, StyleBlackboard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2046:
2047: op = addEOperation(styleBlackboardEClass, ecorePackage
2048: .getEJavaObject(), "get"); //$NON-NLS-1$
2049: addEParameter(op, ecorePackage.getEString(), "styleId"); //$NON-NLS-1$
2050:
2051: op = addEOperation(styleBlackboardEClass, ecorePackage
2052: .getEJavaObject(), "lookup"); //$NON-NLS-1$
2053: addEParameter(op, ecorePackage.getEJavaClass(), "theClass"); //$NON-NLS-1$
2054:
2055: op = addEOperation(styleBlackboardEClass, ecorePackage
2056: .getEBoolean(), "contains"); //$NON-NLS-1$
2057: addEParameter(op, ecorePackage.getEString(), "styleId"); //$NON-NLS-1$
2058:
2059: op = addEOperation(styleBlackboardEClass, null, "put"); //$NON-NLS-1$
2060: addEParameter(op, ecorePackage.getEString(), "styleId"); //$NON-NLS-1$
2061: addEParameter(op, ecorePackage.getEJavaObject(), "style"); //$NON-NLS-1$
2062:
2063: op = addEOperation(styleBlackboardEClass, null, "put"); //$NON-NLS-1$
2064: addEParameter(op, this .getURL(), "url"); //$NON-NLS-1$
2065: addEParameter(op, this .getIProgressMonitor(), "monitor"); //$NON-NLS-1$
2066:
2067: op = addEOperation(styleBlackboardEClass, ecorePackage
2068: .getEJavaObject(), "remove"); //$NON-NLS-1$
2069: addEParameter(op, ecorePackage.getEString(), "styleId"); //$NON-NLS-1$
2070:
2071: addEOperation(styleBlackboardEClass, ecorePackage
2072: .getEJavaObject(), "clone"); //$NON-NLS-1$
2073:
2074: initEClass(
2075: styleEntryEClass,
2076: StyleEntry.class,
2077: "StyleEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2078: initEAttribute(
2079: getStyleEntry_ID(),
2080: ecorePackage.getEString(),
2081: "iD", null, 0, 1, StyleEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2082: initEAttribute(
2083: getStyleEntry_Memento(),
2084: ecorePackage.getEString(),
2085: "memento", null, 0, 1, StyleEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2086: initEAttribute(
2087: getStyleEntry_Style(),
2088: ecorePackage.getEJavaObject(),
2089: "style", null, 0, 1, StyleEntry.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2090: initEAttribute(
2091: getStyleEntry_StyleClass(),
2092: ecorePackage.getEJavaClass(),
2093: "styleClass", null, 0, 1, StyleEntry.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2094:
2095: initEClass(
2096: cloneableEClass,
2097: Cloneable.class,
2098: "Cloneable", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2099:
2100: initEClass(
2101: layerFactoryEClass,
2102: LayerFactory.class,
2103: "LayerFactory", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2104: initEReference(
2105: getLayerFactory_Map(),
2106: this .getMap(),
2107: this .getMap_LayerFactory(),
2108: "map", null, 0, 1, LayerFactory.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2109:
2110: initEClass(
2111: iAdaptableEClass,
2112: IAdaptable.class,
2113: "IAdaptable", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2114:
2115: initEClass(
2116: iBlockingAdaptableEClass,
2117: IBlockingAdaptable.class,
2118: "IBlockingAdaptable", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2119:
2120: initEClass(
2121: picoBlackboardEClass,
2122: PicoBlackboard.class,
2123: "PicoBlackboard", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2124: initEAttribute(
2125: getPicoBlackboard_PicoContainer(),
2126: this .getMutablePicoContainer(),
2127: "picoContainer", null, 0, 1, PicoBlackboard.class, !IS_TRANSIENT, !IS_VOLATILE, !IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2128:
2129: initEClass(
2130: blackboardEClass,
2131: Blackboard.class,
2132: "Blackboard", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2133: initEReference(
2134: getBlackboard_Entries(),
2135: this .getBlackboardEntry(),
2136: null,
2137: "entries", null, 0, -1, Blackboard.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2138:
2139: initEClass(
2140: blackboardEntryEClass,
2141: BlackboardEntry.class,
2142: "BlackboardEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2143: initEAttribute(
2144: getBlackboardEntry_Key(),
2145: ecorePackage.getEString(),
2146: "key", null, 0, 1, BlackboardEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2147: initEAttribute(
2148: getBlackboardEntry_Memento(),
2149: ecorePackage.getEString(),
2150: "memento", null, 0, 1, BlackboardEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2151: initEAttribute(
2152: getBlackboardEntry_ObjectClass(),
2153: ecorePackage.getEJavaClass(),
2154: "objectClass", null, 0, 1, BlackboardEntry.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2155: initEAttribute(
2156: getBlackboardEntry_Object(),
2157: ecorePackage.getEJavaObject(),
2158: "object", null, 0, 1, BlackboardEntry.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
2159:
2160: initEClass(
2161: iResolveChangeListenerEClass,
2162: IResolveChangeListener.class,
2163: "IResolveChangeListener", IS_ABSTRACT, IS_INTERFACE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2164:
2165: // Initialize data types
2166: initEDataType(
2167: coordinateEDataType,
2168: Coordinate.class,
2169: "Coordinate", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2170: initEDataType(
2171: mapDisplayEDataType,
2172: IMapDisplay.class,
2173: "MapDisplay", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2174: initEDataType(
2175: featureResultsEDataType,
2176: FeatureResults.class,
2177: "FeatureResults", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2178: initEDataType(listEDataType, List.class,
2179: "List", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2180: initEDataType(
2181: affineTransformEDataType,
2182: AffineTransform.class,
2183: "AffineTransform", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2184: initEDataType(
2185: navCommandStackEDataType,
2186: NavCommandStack.class,
2187: "NavCommandStack", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2188: initEDataType(
2189: iGeoResourceEDataType,
2190: IGeoResource.class,
2191: "IGeoResource", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2192: initEDataType(filterEDataType, Filter.class,
2193: "Filter", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2194: initEDataType(
2195: coordinateReferenceSystemEDataType,
2196: CoordinateReferenceSystem.class,
2197: "CoordinateReferenceSystem", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2198: initEDataType(
2199: commandStackEDataType,
2200: CommandStack.class,
2201: "CommandStack", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2202: initEDataType(
2203: featureEDataType,
2204: Feature.class,
2205: "Feature", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2206: initEDataType(pointEDataType, Point.class,
2207: "Point", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2208: initEDataType(
2209: adapterEDataType,
2210: Adapter.class,
2211: "Adapter", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2212: initEDataType(
2213: iProgressMonitorEDataType,
2214: IProgressMonitor.class,
2215: "IProgressMonitor", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2216: initEDataType(queryEDataType, Query.class,
2217: "Query", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2218: initEDataType(urlEDataType, java.net.URL.class,
2219: "URL", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2220: initEDataType(
2221: imageDescriptorEDataType,
2222: ImageDescriptor.class,
2223: "ImageDescriptor", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2224: initEDataType(
2225: editCommandEDataType,
2226: EditCommand.class,
2227: "EditCommand", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2228: initEDataType(
2229: navCommandEDataType,
2230: NavCommand.class,
2231: "NavCommand", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2232: initEDataType(
2233: envelopeEDataType,
2234: Envelope.class,
2235: "Envelope", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2236: initEDataType(
2237: commandEDataType,
2238: MapCommand.class,
2239: "Command", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2240: initEDataType(uriEDataType,
2241: org.eclipse.emf.common.util.URI.class,
2242: "URI", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2243: initEDataType(
2244: catalogRefEDataType,
2245: CatalogRef.class,
2246: "CatalogRef", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2247: initEDataType(
2248: colourPaletteEDataType,
2249: BrewerPalette.class,
2250: "ColourPalette", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2251: initEDataType(
2252: colourSchemeEDataType,
2253: ColourScheme.class,
2254: "ColourScheme", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2255: initEDataType(
2256: defaultColorEDataType,
2257: Color.class,
2258: "DefaultColor", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2259: initEDataType(
2260: mutablePicoContainerEDataType,
2261: MutablePicoContainer.class,
2262: "MutablePicoContainer", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2263: initEDataType(
2264: referencedEnvelopeEDataType,
2265: ReferencedEnvelope.class,
2266: "ReferencedEnvelope", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2267: initEDataType(
2268: featureEventEDataType,
2269: FeatureEvent.class,
2270: "FeatureEvent", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
2271:
2272: // Create resource
2273: createResource(eNS_URI);
2274: }
2275:
2276: private EClassifier getDefaultColor() {
2277: return defaultColorEDataType;
2278: }
2279:
2280: } // ProjectPackageImpl
|