Class DefaultAttributeMonitor<MatchType extends IPatternMatch>
- java.lang.Object
-
- org.eclipse.viatra.transformation.evm.notification.AttributeMonitor<MatchType>
-
- org.eclipse.viatra.addon.databinding.runtime.util.DefaultAttributeMonitor<MatchType>
-
- Type Parameters:
MatchType
-
public class DefaultAttributeMonitor<MatchType extends IPatternMatch> extends AttributeMonitor<MatchType>
Default implementation of theAttributeMonitor
that uses EMF Data binding to watch the values of each feature of each object in matches.
-
-
Constructor Summary
Constructors Constructor Description DefaultAttributeMonitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerFor(MatchType atom)
Register the attribute monitor to watch feature values of object defined in the given atom.void
unregisterFor(MatchType atom)
Remove the attribute monitor from watching the given atom.void
unregisterForAll()
Remove the attribute monitor from watching registered atoms.-
Methods inherited from class org.eclipse.viatra.transformation.evm.notification.AttributeMonitor
addAttributeMonitorListener, dispose, notifyListeners, removeAttributeMonitorListener
-
-
-
-
Method Detail
-
registerFor
public void registerFor(MatchType atom)
Description copied from class:AttributeMonitor
Register the attribute monitor to watch feature values of object defined in the given atom.- Specified by:
registerFor
in classAttributeMonitor<MatchType extends IPatternMatch>
-
unregisterForAll
public void unregisterForAll()
Description copied from class:AttributeMonitor
Remove the attribute monitor from watching registered atoms.- Specified by:
unregisterForAll
in classAttributeMonitor<MatchType extends IPatternMatch>
-
unregisterFor
public void unregisterFor(MatchType atom)
Description copied from class:AttributeMonitor
Remove the attribute monitor from watching the given atom.- Specified by:
unregisterFor
in classAttributeMonitor<MatchType extends IPatternMatch>
-
-