Package com._1c.g5.v8.dt.ui.editor.input
Class DtEditorContextProviderService
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.editor.input.DtEditorContextProviderService
-
public class DtEditorContextProviderService extends Object
Special service for getting parent object with granular editor
UsingDtEditorContextProviderRegistry
-
-
Constructor Summary
Constructors Constructor Description DtEditorContextProviderService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.xtext.util.Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature>
getEditingContext(org.eclipse.emf.ecore.EObject object)
Gets parent object with granular editor forobject
static boolean
hasEditingContextProcessor(org.eclipse.emf.ecore.EClass eclass)
Checks thateclass
has corresponding implementation ofIDtEditorContextProvider
-
-
-
Method Detail
-
hasEditingContextProcessor
public static boolean hasEditingContextProcessor(org.eclipse.emf.ecore.EClass eclass)
Checks thateclass
has corresponding implementation ofIDtEditorContextProvider
- Parameters:
eclass
- checkingEClass
, can't benull
- Returns:
true
ifeclass
has corresponding implementation ofIDtEditorContextProvider
,false
otherwise
-
getEditingContext
public static org.eclipse.xtext.util.Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature> getEditingContext(org.eclipse.emf.ecore.EObject object)
Gets parent object with granular editor forobject
- Parameters:
object
- object for which is searched parent object with granular editor, can't benull
- Returns:
- pair:
- parent object with granular editor for
object
- actual
EStructuralFeature
ofparent
corresponding toobject
null
- parent object with granular editor for
-
-