Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-09-01 20:16:07 +0000
committerEike Stepper2012-09-01 20:16:07 +0000
commitb56489f9a613d822aaa9e876635294e6341f548f (patch)
treeb0e833968745c8791b21defb516b0f2cc1b0096f /plugins
parentfbf08d198d4325231e970a4c13dea302650fc869 (diff)
downloadcdo-b56489f9a613d822aaa9e876635294e6341f548f.tar.gz
cdo-b56489f9a613d822aaa9e876635294e6341f548f.tar.xz
cdo-b56489f9a613d822aaa9e876635294e6341f548f.zip
[388616] Add "encoding" attribute to CDOTextResource
https://bugs.eclipse.org/bugs/show_bug.cgi?id=388616
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.emf.cdo.edit/META-INF/MANIFEST.MF6
-rw-r--r--plugins/org.eclipse.emf.cdo.edit/plugin.properties1
-rw-r--r--plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/edit/CDOEditPlugin.java4
-rw-r--r--plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOTextResourceItemProvider.java21
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOLobEditorInput.java32
-rw-r--r--plugins/org.eclipse.emf.cdo/.settings/.api_filters9
-rw-r--r--plugins/org.eclipse.emf.cdo/model/eresource.ecore1
-rw-r--r--plugins/org.eclipse.emf.cdo/model/eresource.ecorediag4
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOTextResource.java37
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java151
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceFolderImpl.java10
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOTextResourceImpl.java25
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/EresourcePackageImpl.java15
13 files changed, 239 insertions, 77 deletions
diff --git a/plugins/org.eclipse.emf.cdo.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.edit/META-INF/MANIFEST.MF
index d22a47923e..2c86b121c1 100644
--- a/plugins/org.eclipse.emf.cdo.edit/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.edit/META-INF/MANIFEST.MF
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.eclipse.emf.cdo.edit; singleton:=true
-Bundle-Version: 4.1.100.qualifier
+Bundle-Version: 4.2.0.qualifier
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-Localization: plugin
@@ -14,7 +14,7 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
org.eclipse.emf.ecore;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
org.eclipse.emf.ecore.edit;bundle-version="[2.4.0,3.0.0)";visibility:=reexport,
org.eclipse.emf.cdo;bundle-version="[4.0.0,5.0.0)";visibility:=reexport
-Export-Package: org.eclipse.emf.cdo.edit;version="4.1.100",
+Export-Package: org.eclipse.emf.cdo.edit;version="4.2.0",
org.eclipse.emf.cdo.eresource.provider;version="4.1.100",
org.eclipse.emf.cdo.etypes.provider;version="4.1.100",
- org.eclipse.emf.cdo.internal.edit.messages;version="4.1.100";x-internal:=true
+ org.eclipse.emf.cdo.internal.edit.messages;version="4.2.0";x-internal:=true
diff --git a/plugins/org.eclipse.emf.cdo.edit/plugin.properties b/plugins/org.eclipse.emf.cdo.edit/plugin.properties
index d7cee7f0c2..8b32f768af 100644
--- a/plugins/org.eclipse.emf.cdo.edit/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.edit/plugin.properties
@@ -60,3 +60,4 @@ _UI_CDOBinaryResource_contents_feature = Contents
_UI_CDOTextResouurce_contents_feature = Contents
_UI_CDOTextResource_type = CDO Text Resource
_UI_CDOTextResource_contents_feature = Contents
+_UI_CDOTextResource_encoding_feature = Encoding
diff --git a/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/edit/CDOEditPlugin.java b/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/edit/CDOEditPlugin.java
index d450bdb7e7..af6d2eb4b7 100644
--- a/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/edit/CDOEditPlugin.java
+++ b/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/edit/CDOEditPlugin.java
@@ -15,7 +15,7 @@ import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
/**
- * This is the central singleton for the Etypes edit plugin.
+ * This is the central singleton for the Eresource edit plugin.
* <!-- begin-user-doc -->
*
* @since 4.0 <!-- end-user-doc -->
@@ -44,7 +44,7 @@ public final class CDOEditPlugin extends EMFPlugin
*/
public CDOEditPlugin()
{
- super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, });
+ super(new ResourceLocator[] { EcoreEditPlugin.INSTANCE, CDOEditPlugin.INSTANCE, });
}
/**
diff --git a/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOTextResourceItemProvider.java b/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOTextResourceItemProvider.java
index 1d3310294a..27d88b67e1 100644
--- a/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOTextResourceItemProvider.java
+++ b/plugins/org.eclipse.emf.cdo.edit/src/org/eclipse/emf/cdo/eresource/provider/CDOTextResourceItemProvider.java
@@ -68,6 +68,7 @@ public class CDOTextResourceItemProvider extends CDOFileResourceItemProvider imp
super.getPropertyDescriptors(object);
addContentsPropertyDescriptor(object);
+ addEncodingPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -90,6 +91,25 @@ public class CDOTextResourceItemProvider extends CDOFileResourceItemProvider imp
}
/**
+ * This adds a property descriptor for the Encoding feature.
+ * <!-- begin-user-doc -->
+ * @since 4.2
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addEncodingPropertyDescriptor(Object object)
+ {
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_CDOTextResource_encoding_feature"), //$NON-NLS-1$
+ getString(
+ "_UI_PropertyDescriptor_description", "_UI_CDOTextResource_encoding_feature", "_UI_CDOTextResource_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ EresourcePackage.Literals.CDO_TEXT_RESOURCE__ENCODING, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
* This returns CDOTextResource.gif.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
@@ -127,6 +147,7 @@ public class CDOTextResourceItemProvider extends CDOFileResourceItemProvider imp
switch (notification.getFeatureID(CDOTextResource.class))
{
case EresourcePackage.CDO_TEXT_RESOURCE__CONTENTS:
+ case EresourcePackage.CDO_TEXT_RESOURCE__ENCODING:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOLobEditorInput.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOLobEditorInput.java
index 93611eb639..75dcfbea6c 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOLobEditorInput.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOLobEditorInput.java
@@ -15,6 +15,7 @@ import org.eclipse.emf.cdo.common.lob.CDOClob;
import org.eclipse.emf.cdo.eresource.CDOBinaryResource;
import org.eclipse.emf.cdo.eresource.CDOFileResource;
import org.eclipse.emf.cdo.eresource.CDOTextResource;
+import org.eclipse.emf.cdo.internal.ui.bundle.OM;
import org.eclipse.net4j.util.WrappedException;
import org.eclipse.net4j.util.io.IORuntimeException;
@@ -26,6 +27,7 @@ import org.eclipse.core.filesystem.IFileStore;
import org.eclipse.core.filesystem.provider.FileInfo;
import org.eclipse.core.filesystem.provider.FileStore;
import org.eclipse.core.filesystem.provider.FileSystem;
+import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.PlatformObject;
@@ -172,6 +174,23 @@ public class CDOLobEditorInput extends PlatformObject implements IURIEditorInput
return resource;
}
+ private String getEncoding(CDOTextResource textResource)
+ {
+ String encoding = textResource.getEncoding();
+ if (encoding == null)
+ {
+ try
+ {
+ encoding = ResourcesPlugin.getWorkspace().getRoot().getDefaultCharset();
+ }
+ catch (CoreException ex)
+ {
+ OM.LOG.error(ex);
+ }
+ }
+ return encoding;
+ }
+
@Override
public IFileInfo fetchInfo(int options, IProgressMonitor monitor) throws CoreException
{
@@ -197,7 +216,8 @@ public class CDOLobEditorInput extends PlatformObject implements IURIEditorInput
CDOFileResource<?> resource = getResource();
if (resource instanceof CDOTextResource)
{
- CDOClob clob = ((CDOTextResource)resource).getContents();
+ CDOTextResource textResource = (CDOTextResource)resource;
+ CDOClob clob = textResource.getContents();
if (clob == null)
{
return new ByteArrayInputStream(new byte[0]);
@@ -207,7 +227,8 @@ public class CDOLobEditorInput extends PlatformObject implements IURIEditorInput
CharArrayWriter writer = new CharArrayWriter();
IOUtil.copyCharacter(reader, writer);
- byte[] bytes = writer.toString().getBytes("UTF-8");
+ String encoding = getEncoding(textResource);
+ byte[] bytes = writer.toString().getBytes(encoding);
return new ByteArrayInputStream(bytes);
}
@@ -241,9 +262,12 @@ public class CDOLobEditorInput extends PlatformObject implements IURIEditorInput
{
if (resource instanceof CDOTextResource)
{
- String string = toString("UTF-8");
+ CDOTextResource textResource = (CDOTextResource)resource;
+ String encoding = getEncoding(textResource);
+
+ String string = toString(encoding);
CDOClob clob = new CDOClob(new CharArrayReader(string.toCharArray()));
- ((CDOTextResource)resource).setContents(clob);
+ textResource.setContents(clob);
}
else
{
diff --git a/plugins/org.eclipse.emf.cdo/.settings/.api_filters b/plugins/org.eclipse.emf.cdo/.settings/.api_filters
index 91ba28c79e..ba3dca80d2 100644
--- a/plugins/org.eclipse.emf.cdo/.settings/.api_filters
+++ b/plugins/org.eclipse.emf.cdo/.settings/.api_filters
@@ -22,6 +22,15 @@
</message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/emf/cdo/eresource/EresourcePackage.java" type="org.eclipse.emf.cdo.eresource.EresourcePackage">
+ <filter id="388194388">
+ <message_arguments>
+ <message_argument value="org.eclipse.emf.cdo.eresource.EresourcePackage"/>
+ <message_argument value="CDO_TEXT_RESOURCE_FEATURE_COUNT"/>
+ <message_argument value="4"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/emf/cdo/session/CDORepositoryInfo.java" type="org.eclipse.emf.cdo.session.CDORepositoryInfo">
<filter id="571473929">
<message_arguments>
diff --git a/plugins/org.eclipse.emf.cdo/model/eresource.ecore b/plugins/org.eclipse.emf.cdo/model/eresource.ecore
index 2ef277e931..ed37956725 100644
--- a/plugins/org.eclipse.emf.cdo/model/eresource.ecore
+++ b/plugins/org.eclipse.emf.cdo/model/eresource.ecore
@@ -70,5 +70,6 @@
<eClassifiers xsi:type="ecore:EClass" name="CDOTextResource" eSuperTypes="#//CDOFileResource">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="contents" lowerBound="1"
eType="ecore:EDataType etypes.ecore#//Clob"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="encoding" eType="ecore:EDataType platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
</eClassifiers>
</ecore:EPackage>
diff --git a/plugins/org.eclipse.emf.cdo/model/eresource.ecorediag b/plugins/org.eclipse.emf.cdo/model/eresource.ecorediag
index 9e6f68ee8a..e126c1d084 100644
--- a/plugins/org.eclipse.emf.cdo/model/eresource.ecorediag
+++ b/plugins/org.eclipse.emf.cdo/model/eresource.ecorediag
@@ -180,6 +180,10 @@
<element xmi:type="ecore:EAttribute" href="eresource.ecore#//CDOTextResource/contents"/>
<layoutConstraint xmi:type="notation:Location" xmi:id="_zQGIEQhJEeG8oLd3HT-0sg"/>
</children>
+ <children xmi:type="notation:Node" xmi:id="_OMkBsfRvEeGr-qxGOh-Q8Q" type="2001">
+ <element xmi:type="ecore:EAttribute" href="eresource.ecore#//CDOTextResource/encoding"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_OMkBsvRvEeGr-qxGOh-Q8Q"/>
+ </children>
<styles xmi:type="notation:DrawerStyle" xmi:id="_eqOQQghJEeG8oLd3HT-0sg"/>
<styles xmi:type="notation:SortingStyle" xmi:id="_eqOQQwhJEeG8oLd3HT-0sg"/>
<styles xmi:type="notation:FilteringStyle" xmi:id="_eqOQRAhJEeG8oLd3HT-0sg"/>
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOTextResource.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOTextResource.java
index 7396c751f8..d557946411 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOTextResource.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/CDOTextResource.java
@@ -16,20 +16,23 @@ import java.io.Reader;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>CDO Text Resource</b></em>'.
- *
+ *
* @since 4.1
- * @noextend This interface is not intended to be extended by clients. <!-- end-user-doc -->
+ * @noextend This interface is not intended to be extended by clients.
+ * @noimplement This interface is not intended to be implemented by clients.
+ * <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.emf.cdo.eresource.CDOTextResource#getContents <em>Contents</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.eresource.CDOTextResource#getEncoding <em>Encoding</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOTextResource()
* @model
- * @generated NOT
+ * @generated
*/
public interface CDOTextResource extends CDOFileResource<Reader>
{
@@ -58,4 +61,32 @@ public interface CDOTextResource extends CDOFileResource<Reader>
*/
void setContents(CDOClob value);
+ /**
+ * Returns the value of the '<em><b>Encoding</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Encoding</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * @since 4.2
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Encoding</em>' attribute.
+ * @see #setEncoding(String)
+ * @see org.eclipse.emf.cdo.eresource.EresourcePackage#getCDOTextResource_Encoding()
+ * @model
+ * @generated
+ */
+ String getEncoding();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.eresource.CDOTextResource#getEncoding <em>Encoding</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * @since 4.2
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Encoding</em>' attribute.
+ * @see #getEncoding()
+ * @generated
+ */
+ void setEncoding(String value);
+
} // CDOTextResource
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java
index a150b1ec2c..7455242e95 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/EresourcePackage.java
@@ -4,7 +4,7 @@
* 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:
* Eike Stepper - initial API and implementation
*/
@@ -25,7 +25,7 @@ import org.eclipse.emf.ecore.EReference;
* <li>each enum,</li>
* <li>and each data type</li>
* </ul>
- *
+ *
* @apiviz.exclude
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients. <!-- end-user-doc -->
@@ -159,7 +159,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object id for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOResourceLeafImpl
* <em>CDO Resource Leaf</em>}' class. <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOResourceLeafImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOResourceLeaf()
@@ -170,7 +170,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Folder</b></em>' container reference.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -180,7 +180,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -190,7 +190,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Path</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -200,7 +200,7 @@ public interface EresourcePackage extends EPackage
/**
* The number of structural features of the '<em>CDO Resource Leaf</em>' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -284,7 +284,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Tracking Modification</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @ordered
*/
@@ -317,7 +317,7 @@ public interface EresourcePackage extends EPackage
/**
* The number of structural features of the '<em>CDO Resource</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @ordered
*/
@@ -326,7 +326,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object id for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOFileResourceImpl
* <em>CDO File Resource</em>}' class. <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOFileResourceImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOFileResource()
@@ -337,7 +337,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Folder</b></em>' container reference.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -347,7 +347,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -357,7 +357,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Path</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -367,7 +367,7 @@ public interface EresourcePackage extends EPackage
/**
* The number of structural features of the '<em>CDO File Resource</em>' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -377,7 +377,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object id for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOBinaryResourceImpl
* <em>CDO Binary Resource</em>}' class. <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOBinaryResourceImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOBinaryResource()
@@ -388,7 +388,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Folder</b></em>' container reference.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -398,7 +398,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -408,7 +408,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Path</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -418,7 +418,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Contents</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -428,7 +428,7 @@ public interface EresourcePackage extends EPackage
/**
* The number of structural features of the '<em>CDO Binary Resource</em>' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -438,7 +438,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object id for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOTextResourceImpl
* <em>CDO Text Resource</em>}' class. <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOTextResourceImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOTextResource()
@@ -449,8 +449,8 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Folder</b></em>' container reference.
* <!-- begin-user-doc -->
- *
- * @since 4.1 <!-- end-user-doc -->
+ * @since 4.1
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -459,7 +459,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -469,8 +469,8 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Path</b></em>' attribute.
* <!-- begin-user-doc -->
- *
- * @since 4.1 <!-- end-user-doc -->
+ * @since 4.1
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
@@ -479,7 +479,7 @@ public interface EresourcePackage extends EPackage
/**
* The feature id for the '<em><b>Contents</b></em>' attribute.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
* @ordered
@@ -487,18 +487,29 @@ public interface EresourcePackage extends EPackage
int CDO_TEXT_RESOURCE__CONTENTS = CDO_FILE_RESOURCE_FEATURE_COUNT + 0;
/**
+ * The feature id for the '<em><b>Encoding</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * @since 4.2
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CDO_TEXT_RESOURCE__ENCODING = CDO_FILE_RESOURCE_FEATURE_COUNT + 1;
+
+ /**
* The number of structural features of the '<em>CDO Text Resource</em>' class.
* <!-- begin-user-doc -->
- *
- * @since 4.1 <!-- end-user-doc -->
+ *
+ * @since 4.1
+ * <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CDO_TEXT_RESOURCE_FEATURE_COUNT = CDO_FILE_RESOURCE_FEATURE_COUNT + 1;
+ int CDO_TEXT_RESOURCE_FEATURE_COUNT = CDO_FILE_RESOURCE_FEATURE_COUNT + 2;
/**
* The meta object id for the '<em>Resource Set</em>' data type. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.emf.ecore.resource.ResourceSet
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getResourceSet()
* @generated NOT
@@ -507,7 +518,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object id for the '<em>URI</em>' data type. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.emf.common.util.URI
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getURI()
* @generated NOT
@@ -516,7 +527,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object id for the '<em>Diagnostic</em>' data type. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.emf.ecore.resource.Resource.Diagnostic
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getDiagnostic()
* @generated NOT
@@ -526,7 +537,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode <em>CDO Resource Node</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @return the meta object for class '<em>CDO Resource Node</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOResourceNode
@@ -537,7 +548,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder <em>Folder</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @return the meta object for the container reference '<em>Folder</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOResourceNode#getFolder()
@@ -549,7 +560,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @return the meta object for the attribute '<em>Name</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOResourceNode#getName()
@@ -561,7 +572,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.eresource.CDOResourceNode#getPath <em>Path</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @return the meta object for the attribute '<em>Path</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOResourceNode#getPath()
@@ -573,7 +584,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.eresource.CDOResourceFolder <em>CDO Resource Folder</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @return the meta object for class '<em>CDO Resource Folder</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOResourceFolder
@@ -584,7 +595,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.eresource.CDOResourceFolder#getNodes <em>Nodes</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Nodes</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOResourceFolder#getNodes()
@@ -596,7 +607,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.eresource.CDOResource <em>CDO Resource</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>CDO Resource</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOResource
* @generated
@@ -697,7 +708,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.eresource.CDOResourceLeaf <em>CDO Resource Leaf</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @return the meta object for class '<em>CDO Resource Leaf</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOResourceLeaf
@@ -708,7 +719,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.eresource.CDOFileResource <em>CDO File Resource</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @return the meta object for class '<em>CDO File Resource</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOFileResource
@@ -719,7 +730,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.eresource.CDOBinaryResource <em>CDO Binary Resource</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @return the meta object for class '<em>CDO Binary Resource</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOBinaryResource
@@ -730,7 +741,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.eresource.CDOBinaryResource#getContents <em>Contents</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Contents</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOBinaryResource#getContents()
@@ -742,7 +753,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.eresource.CDOTextResource <em>CDO Text Resource</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @return the meta object for class '<em>CDO Text Resource</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOTextResource
@@ -753,7 +764,7 @@ public interface EresourcePackage extends EPackage
/**
* Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.eresource.CDOTextResource#getContents <em>Contents</em>}'.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Contents</em>'.
* @see org.eclipse.emf.cdo.eresource.CDOTextResource#getContents()
@@ -763,6 +774,18 @@ public interface EresourcePackage extends EPackage
EAttribute getCDOTextResource_Contents();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.eresource.CDOTextResource#getEncoding <em>Encoding</em>}'.
+ * <!-- begin-user-doc -->
+ * @since 4.2
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Encoding</em>'.
+ * @see org.eclipse.emf.cdo.eresource.CDOTextResource#getEncoding()
+ * @see #getCDOTextResource()
+ * @generated
+ */
+ EAttribute getCDOTextResource_Encoding();
+
+ /**
* Returns the meta object for data type '{@link org.eclipse.emf.ecore.resource.ResourceSet <em>Resource Set</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for data type '<em>Resource Set</em>'.
@@ -809,7 +832,7 @@ public interface EresourcePackage extends EPackage
* <li>each enum,</li>
* <li>and each data type</li>
* </ul>
- *
+ *
* @since 4.1
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients. <!-- end-user-doc -->
@@ -820,7 +843,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOResourceNodeImpl <em>CDO Resource Node</em>}' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOResourceNodeImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOResourceNode()
@@ -831,7 +854,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '<em><b>Folder</b></em>' container reference feature.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @generated
*/
@@ -840,7 +863,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @generated
*/
@@ -849,7 +872,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '<em><b>Path</b></em>' attribute feature.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @generated
*/
@@ -858,7 +881,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOResourceFolderImpl <em>CDO Resource Folder</em>}' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOResourceFolderImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOResourceFolder()
@@ -870,7 +893,7 @@ public interface EresourcePackage extends EPackage
* The meta object literal for the '<em><b>Nodes</b></em>' containment reference list feature.
* <!-- begin-user-doc
* -->
- *
+ *
* @since 2.0<!-- end-user-doc -->
* @generated
*/
@@ -904,7 +927,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '<em><b>Contents</b></em>' containment reference list feature. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated
*/
EReference CDO_RESOURCE__CONTENTS = eINSTANCE.getCDOResource_Contents();
@@ -960,7 +983,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOResourceLeafImpl <em>CDO Resource Leaf</em>}' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOResourceLeafImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOResourceLeaf()
@@ -971,7 +994,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOFileResourceImpl <em>CDO File Resource</em>}' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOFileResourceImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOFileResource()
@@ -982,7 +1005,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOBinaryResourceImpl <em>CDO Binary Resource</em>}' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOBinaryResourceImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOBinaryResource()
@@ -993,7 +1016,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '<em><b>Contents</b></em>' attribute feature.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
*/
@@ -1002,7 +1025,7 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '{@link org.eclipse.emf.cdo.eresource.impl.CDOTextResourceImpl <em>CDO Text Resource</em>}' class.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @see org.eclipse.emf.cdo.eresource.impl.CDOTextResourceImpl
* @see org.eclipse.emf.cdo.eresource.impl.EresourcePackageImpl#getCDOTextResource()
@@ -1013,13 +1036,21 @@ public interface EresourcePackage extends EPackage
/**
* The meta object literal for the '<em><b>Contents</b></em>' attribute feature.
* <!-- begin-user-doc -->
- *
+ *
* @since 4.1 <!-- end-user-doc -->
* @generated
*/
EAttribute CDO_TEXT_RESOURCE__CONTENTS = eINSTANCE.getCDOTextResource_Contents();
/**
+ * The meta object literal for the '<em><b>Encoding</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute CDO_TEXT_RESOURCE__ENCODING = eINSTANCE.getCDOTextResource_Encoding();
+
+ /**
* The meta object literal for the '<em>Resource Set</em>' data type.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @see org.eclipse.emf.ecore.resource.ResourceSet
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceFolderImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceFolderImpl.java
index b4dea18013..2ef7192087 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceFolderImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOResourceFolderImpl.java
@@ -114,8 +114,9 @@ public class CDOResourceFolderImpl extends CDOResourceNodeImpl implements CDORes
*/
public CDOTextResource addTextResource(String name)
{
- InternalCDOTransaction transaction = cdoView().toTransaction();
- return transaction.createTextResource(getPath() + CDOURIUtil.SEGMENT_SEPARATOR + name);
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
}
/**
@@ -126,8 +127,9 @@ public class CDOResourceFolderImpl extends CDOResourceNodeImpl implements CDORes
*/
public CDOBinaryResource addBinaryResource(String name)
{
- InternalCDOTransaction transaction = cdoView().toTransaction();
- return transaction.createBinaryResource(getPath() + CDOURIUtil.SEGMENT_SEPARATOR + name);
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
}
/**
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOTextResourceImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOTextResourceImpl.java
index 50f79c65c5..cfbc0f4d59 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOTextResourceImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/CDOTextResourceImpl.java
@@ -27,10 +27,11 @@ import java.io.Reader;
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.emf.cdo.eresource.impl.CDOTextResourceImpl#getContents <em>Contents</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.eresource.impl.CDOTextResourceImpl#getEncoding <em>Encoding</em>}</li>
* </ul>
* </p>
*
- * @generated NOT
+ * @generated
*/
public class CDOTextResourceImpl extends CDOFileResourceImpl<Reader> implements CDOTextResource
{
@@ -72,4 +73,26 @@ public class CDOTextResourceImpl extends CDOFileResourceImpl<Reader> implements
eSet(EresourcePackage.Literals.CDO_TEXT_RESOURCE__CONTENTS, newContents);
}
+ /**
+ * <!-- begin-user-doc -->
+ * @since 4.2
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getEncoding()
+ {
+ return (String)eGet(EresourcePackage.Literals.CDO_TEXT_RESOURCE__ENCODING, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * @since 4.2
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setEncoding(String newEncoding)
+ {
+ eSet(EresourcePackage.Literals.CDO_TEXT_RESOURCE__ENCODING, newEncoding);
+ }
+
} // CDOTextResourceImpl
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/EresourcePackageImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/EresourcePackageImpl.java
index 3abacc5acb..3587bff2cb 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/EresourcePackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/eresource/impl/EresourcePackageImpl.java
@@ -387,6 +387,16 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getCDOTextResource_Encoding()
+ {
+ return (EAttribute)cdoTextResourceEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@@ -469,6 +479,7 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
cdoTextResourceEClass = createEClass(CDO_TEXT_RESOURCE);
createEAttribute(cdoTextResourceEClass, CDO_TEXT_RESOURCE__CONTENTS);
+ createEAttribute(cdoTextResourceEClass, CDO_TEXT_RESOURCE__ENCODING);
// Create data types
resourceSetEDataType = createEDataType(RESOURCE_SET);
@@ -616,6 +627,10 @@ public class EresourcePackageImpl extends EPackageImpl implements EresourcePacka
getCDOTextResource_Contents(),
theEtypesPackage.getClob(),
"contents", null, 1, 1, CDOTextResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEAttribute(
+ getCDOTextResource_Encoding(),
+ theEcorePackage.getEString(),
+ "encoding", null, 0, 1, CDOTextResource.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
// Initialize data types
initEDataType(resourceSetEDataType, ResourceSet.class,

Back to the top