Lines 81-87
Link Here
|
81 |
import org.eclipse.gmf.runtime.emf.core.internal.plugin.MSLDebugOptions; |
81 |
import org.eclipse.gmf.runtime.emf.core.internal.plugin.MSLDebugOptions; |
82 |
import org.eclipse.gmf.runtime.emf.core.internal.plugin.MSLPlugin; |
82 |
import org.eclipse.gmf.runtime.emf.core.internal.plugin.MSLPlugin; |
83 |
import org.eclipse.gmf.runtime.emf.core.internal.plugin.MSLStatusCodes; |
83 |
import org.eclipse.gmf.runtime.emf.core.internal.plugin.MSLStatusCodes; |
84 |
import org.eclipse.gmf.runtime.emf.core.internal.resources.LogicalResourceWrapper; |
|
|
85 |
import org.eclipse.gmf.runtime.emf.core.internal.resources.MResource; |
84 |
import org.eclipse.gmf.runtime.emf.core.internal.resources.MResource; |
86 |
import org.eclipse.gmf.runtime.emf.core.internal.resources.MSLExtendedMetaData; |
85 |
import org.eclipse.gmf.runtime.emf.core.internal.resources.MSLExtendedMetaData; |
87 |
import org.eclipse.gmf.runtime.emf.core.internal.resources.MSLPathmap; |
86 |
import org.eclipse.gmf.runtime.emf.core.internal.resources.MSLPathmap; |
Lines 89-95
Link Here
|
89 |
import org.eclipse.gmf.runtime.emf.core.internal.util.MSLComposedAdapterFactory; |
88 |
import org.eclipse.gmf.runtime.emf.core.internal.util.MSLComposedAdapterFactory; |
90 |
import org.eclipse.gmf.runtime.emf.core.internal.util.MSLConstants; |
89 |
import org.eclipse.gmf.runtime.emf.core.internal.util.MSLConstants; |
91 |
import org.eclipse.gmf.runtime.emf.core.internal.util.MSLUtil; |
90 |
import org.eclipse.gmf.runtime.emf.core.internal.util.MSLUtil; |
92 |
import org.eclipse.gmf.runtime.emf.core.resources.ILogicalResource; |
|
|
93 |
|
91 |
|
94 |
/** |
92 |
/** |
95 |
* This is the implementation of the MSL editing domain interface. The |
93 |
* This is the implementation of the MSL editing domain interface. The |
Lines 1961-1977
Link Here
|
1961 |
|
1959 |
|
1962 |
/** @deprecated */ |
1960 |
/** @deprecated */ |
1963 |
public boolean isLogicalResource(Resource resource) { |
1961 |
public boolean isLogicalResource(Resource resource) { |
1964 |
return resource instanceof ILogicalResource; |
1962 |
return resource instanceof org.eclipse.gmf.runtime.emf.core.resources.ILogicalResource; |
1965 |
} |
1963 |
} |
1966 |
|
1964 |
|
1967 |
/** @deprecated */ |
1965 |
/** @deprecated */ |
1968 |
public ILogicalResource asLogicalResource(Resource resource) { |
1966 |
public org.eclipse.gmf.runtime.emf.core.resources.ILogicalResource asLogicalResource(Resource resource) { |
1969 |
ILogicalResource result = null; |
1967 |
org.eclipse.gmf.runtime.emf.core.resources.ILogicalResource result = null; |
1970 |
|
1968 |
|
1971 |
if (resource instanceof ILogicalResource) { |
1969 |
if (resource instanceof org.eclipse.gmf.runtime.emf.core.resources.ILogicalResource) { |
1972 |
result = (ILogicalResource) resource; |
1970 |
result = (org.eclipse.gmf.runtime.emf.core.resources.ILogicalResource) resource; |
1973 |
} else { |
1971 |
} else { |
1974 |
result = LogicalResourceWrapper.get(resource); |
1972 |
result = org.eclipse.gmf.runtime.emf.core.internal.resources.LogicalResourceWrapper.get(resource); |
1975 |
} |
1973 |
} |
1976 |
|
1974 |
|
1977 |
return result; |
1975 |
return result; |