Class CommandActionExtensionCollectionModel
java.lang.Object
com._1c.g5.aef2.validators.Validable
com._1c.g5.aef2.models.Model
com._1c.g5.aef2.models.EditableModel
com._1c.g5.v8.dt.internal.form.ui.extension.properties.models.CommandActionExtensionCollectionModel
- All Implemented Interfaces:
IEditableModel
,IModel
,IValidable
,IModelApiAwareModel
,IHandlerCollectionModel
public class CommandActionExtensionCollectionModel
extends EditableModel
implements IHandlerCollectionModel, IModelApiAwareModel
The BM aware implementation of
IHandlerCollectionModel
for form extension command handler
collection.-
Constructor Summary
ConstructorsConstructorDescriptionCommandActionExtensionCollectionModel
(Form form, FormCommand formCommand, IV8Project v8project, IBslModuleContentManagementService bslModuleContentManagementService) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes this model.getHandlerModels
(Module bslModule) Returns a collection of underlying handler models.Returns the model API.Returns the parent form model object.Retutrns the current script variant.boolean
Checks that parent configuration is design for only mobile application.void
setModelApi
(IModelApi modelApi) Sets the specified API to the model.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, createWorkingCopy, discard, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline, toString
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, getValidatorTarget, 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, createWorkingCopy, discard, getComponent, isOnline, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Constructor Details
-
CommandActionExtensionCollectionModel
public CommandActionExtensionCollectionModel(Form form, FormCommand formCommand, IV8Project v8project, IBslModuleContentManagementService bslModuleContentManagementService) Constructor.- Parameters:
form
- the form, cannot benull
formCommand
- the form command, cannot benull
feature
- the feature, cannot benull
bslModuleEventsLookup
- the form BSL module events lookupt, cannot benull
v8project
- the V8 project, cannot benull
bslModuleContentManagementService
- theIBslModuleContentManagementService
, cannot benull
-
-
Method Details
-
getChange
-
dispose
public void dispose()Description copied from interface:IModel
Disposes this model. -
getHandlerModels
Description copied from interface:IHandlerCollectionModel
Returns a collection of underlying handler models.- Specified by:
getHandlerModels
in interfaceIHandlerCollectionModel
- Parameters:
bslModule
- actualModule
ofForm
, can't benull
- Returns:
- a collection of handler models, never
null
-
getScriptVariant
Description copied from interface:IHandlerCollectionModel
Retutrns the current script variant.- Specified by:
getScriptVariant
in interfaceIHandlerCollectionModel
- Returns:
- the current script variant, never
null
-
isMobileApplicationOnly
public boolean isMobileApplicationOnly()Description copied from interface:IHandlerCollectionModel
Checks that parent configuration is design for only mobile application.- Specified by:
isMobileApplicationOnly
in interfaceIHandlerCollectionModel
- Returns:
true
if configuration is design for only mobile application,false
otherwise
-
getObject
Description copied from interface:IHandlerCollectionModel
Returns the parent form model object.- Specified by:
getObject
in interfaceIHandlerCollectionModel
- Returns:
- the form model
EObject
object, nevernull
-
getModelApi
Description copied from interface:IModelApiAwareModel
Returns the model API.- Specified by:
getModelApi
in interfaceIModelApiAwareModel
- Returns:
- the model API or
null
if it is not set.
-
setModelApi
Description copied from interface:IModelApiAwareModel
Sets the specified API to the model.- Specified by:
setModelApi
in interfaceIModelApiAwareModel
- Parameters:
modelApi
- the API, can benull
.
-