public class EmfLogicalModelExtender
extends LogicalModelExtender
Constructor and Description |
---|
EmfLogicalModelExtender() |
Modifier and Type | Method and Description |
---|---|
boolean |
canParseSubUnitReferences() |
protected void |
closeStream(java.io.InputStream is) |
org.eclipse.core.resources.IFile |
findRootModelFileFromSubUnit(org.eclipse.core.resources.IFile subUnitFile,
IFileStorage storage) |
protected static java.lang.String |
findXmlElementName(java.lang.String line,
int hrefStartIndex) |
SubUnitFile[] |
getAllSubUnitFiles(org.eclipse.core.resources.IFile rootModelFile,
IFileStorage storage) |
static java.io.InputStream |
getFileContent(org.eclipse.core.resources.IFile file,
IFileStorage storage) |
java.lang.String |
getLogicalModelLabel(org.eclipse.core.resources.IFile rootModelFile) |
java.lang.String |
getModelFileLabel(SubUnitFile modelFile) |
java.lang.String |
getModelId(java.io.InputStream is) |
boolean |
isModelHasUniqueId() |
static boolean |
isPlatformResourceURI(org.eclipse.emf.common.util.URI uri) |
protected boolean |
isSubUnitElementType(java.lang.String xmlElmentName) |
SubUnitFile[] |
parseClosureSubUnitReferences(java.io.InputStream is,
org.eclipse.core.runtime.IPath parentPath) |
protected java.lang.String |
parseElementTag(java.lang.String line,
java.util.Hashtable nameValuePairs) |
protected SubUnitFile |
parseSubUnitContainmentReference(java.lang.String xmlElmentName,
java.lang.String href,
org.eclipse.core.runtime.IPath parentFilePath) |
SubUnitFile[] |
parseSubUnitReferences(java.io.InputStream is,
org.eclipse.core.runtime.IPath parentFilePath) |
public boolean isModelHasUniqueId()
public java.lang.String getModelId(java.io.InputStream is)
public java.lang.String getModelFileLabel(SubUnitFile modelFile)
public SubUnitFile[] getAllSubUnitFiles(org.eclipse.core.resources.IFile rootModelFile, IFileStorage storage)
public org.eclipse.core.resources.IFile findRootModelFileFromSubUnit(org.eclipse.core.resources.IFile subUnitFile, IFileStorage storage)
protected boolean isSubUnitElementType(java.lang.String xmlElmentName)
public boolean canParseSubUnitReferences()
public static boolean isPlatformResourceURI(org.eclipse.emf.common.util.URI uri)
protected void closeStream(java.io.InputStream is)
protected static java.lang.String findXmlElementName(java.lang.String line, int hrefStartIndex)
protected SubUnitFile parseSubUnitContainmentReference(java.lang.String xmlElmentName, java.lang.String href, org.eclipse.core.runtime.IPath parentFilePath)
public SubUnitFile[] parseSubUnitReferences(java.io.InputStream is, org.eclipse.core.runtime.IPath parentFilePath)
public static java.io.InputStream getFileContent(org.eclipse.core.resources.IFile file, IFileStorage storage)
protected java.lang.String parseElementTag(java.lang.String line, java.util.Hashtable nameValuePairs)
public java.lang.String getLogicalModelLabel(org.eclipse.core.resources.IFile rootModelFile)
public SubUnitFile[] parseClosureSubUnitReferences(java.io.InputStream is, org.eclipse.core.runtime.IPath parentPath)