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 theAttributeMonitorthat 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 voidregisterFor(MatchType atom)Register the attribute monitor to watch feature values of object defined in the given atom.voidunregisterFor(MatchType atom)Remove the attribute monitor from watching the given atom.voidunregisterForAll()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:AttributeMonitorRegister the attribute monitor to watch feature values of object defined in the given atom.- Specified by:
registerForin classAttributeMonitor<MatchType extends IPatternMatch>
-
unregisterForAll
public void unregisterForAll()
Description copied from class:AttributeMonitorRemove the attribute monitor from watching registered atoms.- Specified by:
unregisterForAllin classAttributeMonitor<MatchType extends IPatternMatch>
-
unregisterFor
public void unregisterFor(MatchType atom)
Description copied from class:AttributeMonitorRemove the attribute monitor from watching the given atom.- Specified by:
unregisterForin classAttributeMonitor<MatchType extends IPatternMatch>
-
-