Package com._1c.g5.v8.dt.form.ui.editor
Class FormEditorInputFactory
- java.lang.Object
-
- com._1c.g5.v8.dt.form.ui.editor.FormEditorInputFactory
-
- All Implemented Interfaces:
IDtEditorInputFactory
public class FormEditorInputFactory extends Object implements IDtEditorInputFactory
Editor input factory forFormEditor
- See Also:
FormEditorInput
-
-
Constructor Summary
Constructors Constructor Description FormEditorInputFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDtEditorInput<?>
create(org.eclipse.emf.ecore.EObject model)
Creates editor input from providedmodel
.IDtEditorInput<?>
create(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature)
Creates editor input for a givenmodel
andfeature
.IDtEditorInput<?>
create(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)
Creates editor input for a given model,feature
andselection
.
-
-
-
Method Detail
-
create
public IDtEditorInput<?> create(org.eclipse.emf.ecore.EObject model)
Description copied from interface:IDtEditorInputFactory
Creates editor input from providedmodel
. This method may alter the model of the resulting editor input.- Specified by:
create
in interfaceIDtEditorInputFactory
- Parameters:
model
- the model.- Returns:
- editor input or
null
if no input can be created.
-
create
public IDtEditorInput<?> create(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature)
Description copied from interface:IDtEditorInputFactory
Creates editor input for a givenmodel
andfeature
. This method may set some default selection for created input, but may not alter model or feature.- Specified by:
create
in interfaceIDtEditorInputFactory
- Parameters:
model
- the model.feature
- the feature.- Returns:
- editor input or
null
if no input can be created.
-
create
public IDtEditorInput<?> create(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EStructuralFeature feature, ISelection selection)
Description copied from interface:IDtEditorInputFactory
Creates editor input for a given model,feature
andselection
. This method may not alter any of the provided arguments.- Specified by:
create
in interfaceIDtEditorInputFactory
- Parameters:
model
- the model.feature
- the feature.selection
- the selection.- Returns:
- editor input or
null
if no input can be created.
-
-