Class BmModelRefreshContributor
- java.lang.Object
-
- com._1c.g5.v8.dt.form.ui.editor.refresher.RefreshContributor
-
- com._1c.g5.v8.dt.form.ui.editor.refresher.EmfRefreshContributor
-
- com._1c.g5.v8.dt.form.ui.editor.refresher.BmModelRefreshContributor
-
- All Implemented Interfaces:
IFormEditorStateListener
public class BmModelRefreshContributor extends EmfRefreshContributor
The class describes rules for refresh form ui component for change inIBmModel
- See Also:
FormEditorRefresher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.form.ui.editor.refresher.EmfRefreshContributor
EmfRefreshContributor.RuleBuilder
-
-
Constructor Summary
Constructors Constructor Description BmModelRefreshContributor(IRefresher refresher, IBmModel model, Form form)
Creates a new bm model refresh contributor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
activate()
Called when the contributor is activated.protected void
addFormCommandRule(EmfRefreshContributor.RuleBuilder builder, Predicate<org.eclipse.emf.ecore.EObject> predicate)
protected void
addFormParameterRule(EmfRefreshContributor.RuleBuilder builder, Predicate<org.eclipse.emf.ecore.EObject> predicate)
protected void
createRules(EmfRefreshContributor.RuleBuilder builder)
The method serves for setups rules through builderprotected void
deactivate()
Called when the contributor is deactivated.-
Methods inherited from class com._1c.g5.v8.dt.form.ui.editor.refresher.EmfRefreshContributor
refresh
-
Methods inherited from class com._1c.g5.v8.dt.form.ui.editor.refresher.RefreshContributor
changeState
-
-
-
-
Constructor Detail
-
BmModelRefreshContributor
public BmModelRefreshContributor(IRefresher refresher, IBmModel model, Form form)
Creates a new bm model refresh contributor.- Parameters:
refresher
- the refresher.model
- the bm model through which to be traced changes.form
- the form model.
-
-
Method Detail
-
activate
protected void activate()
Called when the contributor is activated.- Specified by:
activate
in classRefreshContributor
-
deactivate
protected void deactivate()
Called when the contributor is deactivated.- Specified by:
deactivate
in classRefreshContributor
-
createRules
protected void createRules(EmfRefreshContributor.RuleBuilder builder)
The method serves for setups rules through builder- Specified by:
createRules
in classEmfRefreshContributor
- Parameters:
builder
- the builder for creating rule
-
addFormCommandRule
protected void addFormCommandRule(EmfRefreshContributor.RuleBuilder builder, Predicate<org.eclipse.emf.ecore.EObject> predicate)
-
addFormParameterRule
protected void addFormParameterRule(EmfRefreshContributor.RuleBuilder builder, Predicate<org.eclipse.emf.ecore.EObject> predicate)
-
-