Interface IHandlerExtensionModel<T extends org.eclipse.emf.ecore.EObject>
- All Superinterfaces:
IFormValue<String,
,T> IHandlerModel<T>
,IModel
,IModelApiAwareModel
,IValidable
,IValue<String>
- All Known Implementing Classes:
CommandActionExtensionModel
,EventHandlerExtensionModel
public interface IHandlerExtensionModel<T extends org.eclipse.emf.ecore.EObject>
extends IHandlerModel<T>
A model extension of
IHandlerModel
for the form extension model objects. Model is aware
of handler call type.-
Method Summary
Modifier and TypeMethodDescriptionboolean
exists()
Returns whether the handler already exists.Returns current handler call type of the selected event handler.void
Opens or creates the selected method in BSL module.Methods inherited from interface com._1c.g5.v8.dt.form.internal.ui.properties.models.IFormValue
getForm, getSelection
Methods inherited from interface com._1c.g5.v8.dt.form.ui.properties.models.IHandlerModel
getEvent, getHandlers, processHandlerInBslModule
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.v8.dt.aef2.IModelApiAwareModel
getModelApi, setModelApi
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 Details
-
exists
boolean exists()Returns whether the handler already exists.- Returns:
- whether the handler already exists
-
getCallType
ExtendedMethodCallType getCallType()Returns current handler call type of the selected event handler. Can returnnull
.- Returns:
- a current handler call type of the selected event handler or
null
if none
-
processHandlerInBslModule
Opens or creates the selected method in BSL module.- Parameters:
callType
- an event handler call type, cannot benull
-