Class PlatformElementResource
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.common.notify.impl.NotifierImpl
-
- org.eclipse.emf.ecore.resource.impl.ResourceImpl
-
- org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
-
- org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
-
- com._1c.g5.v8.dt.platform.resource.PlatformElementResource
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.resource.Resource
,org.eclipse.emf.ecore.resource.Resource.Internal
,org.eclipse.emf.ecore.xmi.XMIResource
,org.eclipse.emf.ecore.xmi.XMLResource
public class PlatformElementResource extends org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
SpecialResource
for loading platform context elements
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList<E extends Object & org.eclipse.emf.ecore.EObject>, org.eclipse.emf.ecore.resource.impl.ResourceImpl.ModificationTrackingAdapter
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.resource.Resource
org.eclipse.emf.ecore.resource.Resource.Diagnostic, org.eclipse.emf.ecore.resource.Resource.Factory, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.resource.Resource.IOWrappedException
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
org.eclipse.emf.ecore.xmi.XMLResource.ElementHandler, org.eclipse.emf.ecore.xmi.XMLResource.MissingPackageHandler, org.eclipse.emf.ecore.xmi.XMLResource.ResourceEntityHandler, org.eclipse.emf.ecore.xmi.XMLResource.ResourceHandler, org.eclipse.emf.ecore.xmi.XMLResource.URIHandler, org.eclipse.emf.ecore.xmi.XMLResource.XMLInfo, org.eclipse.emf.ecore.xmi.XMLResource.XMLMap
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
DETACHED_EOBJECT_TO_ID_MAP, domHandler, encoding, eObjectToExtensionMap, eObjectToIDMap, idToEObjectMap, publicId, systemId, useZip, xmlVersion
-
Fields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
contents, defaultDeleteOptions, defaultLoadOptions, defaultSaveOptions, errors, intrinsicIDToEObjectMap, isLoaded, isLoading, isModified, modificationTrackingAdapter, resourceSet, timeStamp, unloadingContents, uri, warnings
-
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
-
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource
OPTION_CIPHER, OPTION_LINE_DELIMITER, OPTION_LINE_DELIMITER_UNSPECIFIED, OPTION_SAVE_ONLY_IF_CHANGED, OPTION_SAVE_ONLY_IF_CHANGED_FILE_BUFFER, OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER, OPTION_ZIP, RESOURCE__CONTENTS, RESOURCE__ERRORS, RESOURCE__IS_LOADED, RESOURCE__IS_MODIFIED, RESOURCE__IS_TRACKING_MODIFICATION, RESOURCE__RESOURCE_SET, RESOURCE__TIME_STAMP, RESOURCE__URI, RESOURCE__WARNINGS
-
Fields inherited from interface org.eclipse.emf.ecore.xmi.XMIResource
OPTION_SUPPRESS_XMI, OPTION_USE_XMI_TYPE, VERSION_2_1_VALUE, VERSION_NAME, VERSION_VALUE, XMI_2_1_URI, XMI_2_4_NAMESPACE_PREFIX, XMI_ID, XMI_NAMESPACE_PREFIX, XMI_NS, XMI_TAG_NAME, XMI_URI
-
Fields inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
HREF, NIL, NO_NAMESPACE_SCHEMA_LOCATION, OPTION_ANY_SIMPLE_TYPE, OPTION_ANY_TYPE, OPTION_BINARY, OPTION_CONFIGURATION_CACHE, OPTION_DECLARE_XML, OPTION_DEFER_ATTACHMENT, OPTION_DEFER_IDREF_RESOLUTION, OPTION_DISABLE_NOTIFY, OPTION_DOM_USE_NAMESPACES_IN_SCOPE, OPTION_ELEMENT_HANDLER, OPTION_ENCODING, OPTION_ESCAPE_USING_CDATA, OPTION_EXTENDED_META_DATA, OPTION_FLUSH_THRESHOLD, OPTION_FORMATTED, OPTION_KEEP_DEFAULT_CONTENT, OPTION_LAX_FEATURE_PROCESSING, OPTION_LAX_WILDCARD_PROCESSING, OPTION_LINE_WIDTH, OPTION_MISSING_PACKAGE_HANDLER, OPTION_PARSER_FEATURES, OPTION_PARSER_PROPERTIES, OPTION_PROCESS_DANGLING_HREF, OPTION_PROCESS_DANGLING_HREF_DISCARD, OPTION_PROCESS_DANGLING_HREF_RECORD, OPTION_PROCESS_DANGLING_HREF_THROW, OPTION_PROXY_ATTRIBUTES, OPTION_RECORD_ANY_TYPE_NAMESPACE_DECLARATIONS, OPTION_RECORD_UNKNOWN_FEATURE, OPTION_RESOURCE_ENTITY_HANDLER, OPTION_RESOURCE_HANDLER, OPTION_ROOT_OBJECTS, OPTION_SAVE_DOCTYPE, OPTION_SAVE_TYPE_INFORMATION, OPTION_SCHEMA_LOCATION, OPTION_SCHEMA_LOCATION_IMPLEMENTATION, OPTION_SKIP_ESCAPE, OPTION_SKIP_ESCAPE_URI, OPTION_SUPPRESS_DOCUMENT_ROOT, OPTION_URI_HANDLER, OPTION_USE_CACHED_LOOKUP_TABLE, OPTION_USE_DEPRECATED_METHODS, OPTION_USE_ENCODED_ATTRIBUTE_STYLE, OPTION_USE_FILE_BUFFER, OPTION_USE_LEXICAL_HANDLER, OPTION_USE_PACKAGE_NS_URI_AS_LOCATION, OPTION_USE_PARSER_POOL, OPTION_USE_XML_NAME_TO_FEATURE_MAP, OPTION_XML_MAP, OPTION_XML_OPTIONS, OPTION_XML_VERSION, SCHEMA_LOCATION, TYPE, XML_NS, XML_SCHEMA_URI, XSI_NS, XSI_URI
-
-
Constructor Summary
Constructors Constructor Description PlatformElementResource(org.eclipse.emf.common.util.URI uri)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.emf.ecore.EObject
getEObjectForURIFragmentRootSegment(String uriFragmentRootSegment)
protected InputStream
getInputStream()
GetsInputStream
for loading platform context elementsprotected String
getURIFragmentRootSegment(org.eclipse.emf.ecore.EObject eObject)
void
load(Map<?,?> options)
-
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMIResourceImpl
createXMLHelper, createXMLLoad, createXMLLoad, createXMLSave, createXMLSave, getXMINamespace, getXMIVersion, setXMINamespace, setXMIVersion, useIDs
-
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl
assignIDsWhileLoading, attachedHelper, createEObjectInputStream, createEObjectOutputStream, detachedHelper, doLoad, doLoad, doLoad, doSave, doSave, doUnload, getDefaultLoadOptions, getDefaultSaveOptions, getDOMHelper, getEncoding, getEObjectByID, getEObjectToExtensionMap, getEObjectToIDMap, getID, getIDForEObject, getIDToEObjectMap, getPublicId, getSystemId, getURIFragment, getXMLVersion, init, isAttachedDetachedHelperRequired, isPath, load, load, save, save, setDoctypeInfo, setEncoding, setID, setUseZip, setXMLVersion, toKeyString, useIDAttributes, useUUIDs, useZip
-
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceImpl
addModificationTrackingAdapters, attached, basicSetResourceSet, createModificationTrackingAdapter, delete, detached, getAllContents, getAllProperContents, getAllProperContents, getContents, getDefaultURIConverter, getEObject, getEObject, getErrors, getIntrinsicIDToEObjectMap, getResourceSet, getTimeStamp, getUnloadingContents, getURI, getURIConverter, getWarnings, handleLoadResponse, handleSaveResponse, isContentZipEntry, isLoaded, isLoading, isModified, isTrackingModification, load, mergeMaps, newContentZipEntry, removeModificationTrackingAdapters, save, save, saveOnlyIfChangedWithFileBuffer, saveOnlyIfChangedWithMemoryBuffer, setIntrinsicIDToEObjectMap, setLoaded, setModified, setTimeStamp, setTrackingModification, setURI, supportIDRelativeURIFragmentPaths, toString, unload, unloaded
-
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eBasicAdapters, eDeliver, eSetDeliver
-
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.eclipse.emf.ecore.resource.Resource
delete, getAllContents, getContents, getEObject, getErrors, getResourceSet, getTimeStamp, getURI, getURIFragment, getWarnings, isLoaded, isModified, isTrackingModification, load, save, save, setModified, setTimeStamp, setTrackingModification, setURI, unload
-
Methods inherited from interface org.eclipse.emf.ecore.xmi.XMLResource
getDefaultLoadOptions, getDefaultSaveOptions, getDOMHelper, getEncoding, getEObjectToExtensionMap, getEObjectToIDMap, getID, getIDToEObjectMap, getPublicId, getSystemId, getXMLVersion, load, load, save, save, setDoctypeInfo, setEncoding, setID, setUseZip, setXMLVersion, useZip
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
- See Also:
- Constant Field Values
-
PLATFORM_BORDER_URI
public static final String PLATFORM_BORDER_URI
- See Also:
- Constant Field Values
-
PLATFORM_BORDER_PATH
public static final String PLATFORM_BORDER_PATH
- See Also:
- Constant Field Values
-
PLATFORM_STYLE_COLOR_URI
public static final String PLATFORM_STYLE_COLOR_URI
- See Also:
- Constant Field Values
-
PLATFORM_STYLE_COLOR_PATH
public static final String PLATFORM_STYLE_COLOR_PATH
- See Also:
- Constant Field Values
-
PLATFORM_WEB_COLOR_URI
public static final String PLATFORM_WEB_COLOR_URI
- See Also:
- Constant Field Values
-
PLATFORM_WEB_COLOR_PATH
public static final String PLATFORM_WEB_COLOR_PATH
- See Also:
- Constant Field Values
-
PLATFORM_WINDOWS_COLOR_URI
public static final String PLATFORM_WINDOWS_COLOR_URI
- See Also:
- Constant Field Values
-
PLATFORM_WINDOWS_COLOR_PATH
public static final String PLATFORM_WINDOWS_COLOR_PATH
- See Also:
- Constant Field Values
-
PLATFORM_STYLE_FONT_URI
public static final String PLATFORM_STYLE_FONT_URI
- See Also:
- Constant Field Values
-
PLATFORM_STYLE_FONT_PATH
public static final String PLATFORM_STYLE_FONT_PATH
- See Also:
- Constant Field Values
-
PLATFORM_SYSTEM_FONT_URI
public static final String PLATFORM_SYSTEM_FONT_URI
- See Also:
- Constant Field Values
-
PLATFORM_SYSTEM_FONT_PATH
public static final String PLATFORM_SYSTEM_FONT_PATH
- See Also:
- Constant Field Values
-
PLATFORM_STANDARD_COMMAND_GROUP_URI
public static final String PLATFORM_STANDARD_COMMAND_GROUP_URI
- See Also:
- Constant Field Values
-
PLATFORM_STANDARD_COMMAND_GROUP_PATH
public static final String PLATFORM_STANDARD_COMMAND_GROUP_PATH
- See Also:
- Constant Field Values
-
PLATFORM_STANDARD_PICTURE_URI
public static final String PLATFORM_STANDARD_PICTURE_URI
- See Also:
- Constant Field Values
-
PLATFORM_STANDARD_PICTURE_PATH
public static final String PLATFORM_STANDARD_PICTURE_PATH
- See Also:
- Constant Field Values
-
PLATFORM_STANDARD_EXT_PICTURE_URI
public static final String PLATFORM_STANDARD_EXT_PICTURE_URI
- See Also:
- Constant Field Values
-
PLATFORM_STANDARD_EXT_PICTURE_PATH
public static final String PLATFORM_STANDARD_EXT_PICTURE_PATH
- See Also:
- Constant Field Values
-
PLATFORM_RIGHT_INFO_URI
public static final String PLATFORM_RIGHT_INFO_URI
- See Also:
- Constant Field Values
-
PLATFORM_RIGHT_INFO_PATH
public static final String PLATFORM_RIGHT_INFO_PATH
- See Also:
- Constant Field Values
-
PLATFORM_RIGHT_URI
public static final String PLATFORM_RIGHT_URI
- See Also:
- Constant Field Values
-
PLATFORM_RIGHT_PATH
public static final String PLATFORM_RIGHT_PATH
- See Also:
- Constant Field Values
-
PLATFORM_TYPE_SET_ANY_REF_URI
public static final String PLATFORM_TYPE_SET_ANY_REF_URI
- See Also:
- Constant Field Values
-
PLATFORM_TYPE_SET_ANY_REF_PATH
public static final String PLATFORM_TYPE_SET_ANY_REF_PATH
- See Also:
- Constant Field Values
-
PLATFORM_TYPE_SET_MD_URI
public static final String PLATFORM_TYPE_SET_MD_URI
- See Also:
- Constant Field Values
-
PLATFORM_TYPE_SET_MD_PATH
public static final String PLATFORM_TYPE_SET_MD_PATH
- See Also:
- Constant Field Values
-
PLATFORM_SIMPLE_XDTO_URI
public static final String PLATFORM_SIMPLE_XDTO_URI
- See Also:
- Constant Field Values
-
PLATFORM_SIMPLE_XDTO_PATH
public static final String PLATFORM_SIMPLE_XDTO_PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
load
public void load(Map<?,?> options) throws IOException
- Specified by:
load
in interfaceorg.eclipse.emf.ecore.resource.Resource
- Overrides:
load
in classorg.eclipse.emf.ecore.resource.impl.ResourceImpl
- Throws:
IOException
-
getInputStream
protected InputStream getInputStream() throws IOException
GetsInputStream
for loading platform context elements- Returns:
InputStream
for loading platform context elements, nevernull
- Throws:
IOException
- when I/O exception was thrown byURIConverter.createInputStream(URI)
-
getEObjectForURIFragmentRootSegment
protected org.eclipse.emf.ecore.EObject getEObjectForURIFragmentRootSegment(String uriFragmentRootSegment)
- Overrides:
getEObjectForURIFragmentRootSegment
in classorg.eclipse.emf.ecore.resource.impl.ResourceImpl
-
getURIFragmentRootSegment
protected String getURIFragmentRootSegment(org.eclipse.emf.ecore.EObject eObject)
- Overrides:
getURIFragmentRootSegment
in classorg.eclipse.emf.ecore.resource.impl.ResourceImpl
-
-