Class CommonPictureModelFactory
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.aef.models.commonpicture.CommonPictureModelFactory
-
- All Implemented Interfaces:
IModelFactory
public class CommonPictureModelFactory extends Object implements IModelFactory
The model factory forCommonPicture
models.
-
-
Constructor Summary
Constructors Constructor Description CommonPictureModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IModel
createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects)
CreatesIModel
instance by the given arguments.protected CommonPicture
getActualCommonPicture(CommonPicture original)
Returns actual common picture to presentation.protected boolean
originalAppropriate(CommonPicture original)
Returnstrue
if original common picture model is appropriate for this model factory.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.models.IModelFactory
createModel
-
-
-
-
Method Detail
-
createModel
public IModel createModel(IDefinition definition, org.eclipse.emf.ecore.EObject... objects)
Description copied from interface:IModelFactory
CreatesIModel
instance by the given arguments.- Specified by:
createModel
in interfaceIModelFactory
- Parameters:
definition
- the definition, cannot benull
.objects
- the objects for that the model is created.- Returns:
- the newly created model.
-
originalAppropriate
protected boolean originalAppropriate(CommonPicture original)
Returnstrue
if original common picture model is appropriate for this model factory.- Parameters:
original
- the original common picture model, cannot benull
- Returns:
true
if original common picture model is appropriate for this model factory,false
otherwise
-
getActualCommonPicture
protected CommonPicture getActualCommonPicture(CommonPicture original)
Returns actual common picture to presentation.- Parameters:
original
- the original common picture model, cannot benull
- Returns:
- the actual common picture to presentation, cannot be
null
-
-