Class BmHandlerModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.EditableModel
-
- com._1c.g5.aef2.models.value.Value<T>
-
- com._1c.g5.v8.dt.aef2.bm.models.BmValue<String>
-
- com._1c.g5.v8.dt.md.ui.aef.models.BmHandlerModel
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<String,IBmObject>
,IValue<String>
,IValidable
,IModelApiAwareModel
,IHandlerModel
public class BmHandlerModel extends BmValue<String> implements IHandlerModel
TheIHandlerModel
implementation.
-
-
Constructor Summary
Constructors Constructor Description BmHandlerModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EStructuralFeature moduleFeature, String newHandlerName, IV8Project v8project, IBslModuleEventsLookup eventsLookup)
Creates a new model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
getHanlders()
void
processHandlerInBslModule()
Adds the selected method in bsl module.-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmValue
adapt, createTask, dispose, getChange, getModelApi, getObject, getObjectValue, getProperty, processBmValueChange, setModelApi, setObjectValue
-
Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, createWorkingCopy, discard, get, getCommittedValue, getUncommittedValue, getValidatorTarget, isEqual, notifyValueChanged, queueNotifyValueChanged, removeValueListener, set, setCommittedValue, setUncommittedValue, setValue, toString
-
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, removeValidator, validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
BmHandlerModel
public BmHandlerModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.emf.ecore.EStructuralFeature moduleFeature, String newHandlerName, IV8Project v8project, IBslModuleEventsLookup eventsLookup)
Creates a new model.- Parameters:
object
- the object, cannot benull
feature
- the object feature, cannot benull
moduleFeature
- the module feature, cannot benull
newHandlerName
- the new handler name for generate, cannot benull
v8project
- the V8 project, cannot benull
eventsLookup
- the events lookup, cannot benull
-
-
Method Detail
-
getHanlders
public Collection<String> getHanlders()
- Specified by:
getHanlders
in interfaceIHandlerModel
- Returns:
- the collection of handlers for current event.
-
processHandlerInBslModule
public void processHandlerInBslModule()
Description copied from interface:IHandlerModel
Adds the selected method in bsl module.- Specified by:
processHandlerInBslModule
in interfaceIHandlerModel
-
-