Interface IPictureModel
-
- All Superinterfaces:
IModel
,IValidable
,IValue<Picture>
- All Known Implementing Classes:
BmPictureModel
,EmfPictureModel
public interface IPictureModel extends IValue<Picture>
Picture model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clean()
Clean picture valueorg.eclipse.emf.ecore.EObject
getModelObject()
Gets model object for setting pictureIPictureService
getPictureService()
Returns picture service.IV8Project
getV8project()
Returns V8 project.boolean
isPictureCanChoiseFromFile()
true
if this picture can be stored as file in file system.void
set(Object picture, Point transparentPoint)
Sets picture parts.-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Methods inherited from interface com._1c.g5.aef2.models.value.IValue
addValueListener, createWorkingCopy, get, isEqual, removeValueListener, set
-
-
-
-
Method Detail
-
getV8project
IV8Project getV8project()
Returns V8 project.- Returns:
- the V8 project.
-
getModelObject
org.eclipse.emf.ecore.EObject getModelObject()
Gets model object for setting picture- Returns:
- model object for setting picture, never
null
-
getPictureService
IPictureService getPictureService()
Returns picture service.- Returns:
- the picture service
-
set
void set(Object picture, Point transparentPoint)
Sets picture parts.- Parameters:
picture
- the picture to set -null
,Picture
orString
typetransparentPoint
- the transparentPoint
-
clean
void clean()
Clean picture value
-
isPictureCanChoiseFromFile
boolean isPictureCanChoiseFromFile()
true
if this picture can be stored as file in file system. This option affect to show tab "from file" in choise picture dialog.- Returns:
true
if this picture can be stored as file,false
in otherwise.
-
-