Class WordIntervalsTextUpdater
java.lang.Object
ca.phon.app.session.intervalTiers.WordIntervalsTextUpdater
- All Implemented Interfaces:
TierEdit.DependentTierChanges<Orthography>
,ExtensionProvider
@Extension(Tier.class)
public class WordIntervalsTextUpdater
extends Object
implements TierEdit.DependentTierChanges<Orthography>, ExtensionProvider
Update text and intervals of the "Word Intervals" (%wor) tier when text of Orthography
changes. If the number of words remains the same, the text will be updated and the
intervals will remain the same. If the number of words changes, the intervals
will be updated to match the new text.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Install extension on an extendable object.void
performDependentTierChanges
(TierEdit<Orthography> tierEdit) Perform dependent tier changes, should throw a runtime exception (up to implementation) if given TierEdit parameterized type does not match our parameterized type.
-
Constructor Details
-
WordIntervalsTextUpdater
public WordIntervalsTextUpdater()
-
-
Method Details
-
performDependentTierChanges
Description copied from interface:TierEdit.DependentTierChanges
Perform dependent tier changes, should throw a runtime exception (up to implementation) if given TierEdit parameterized type does not match our parameterized type.- Specified by:
performDependentTierChanges
in interfaceTierEdit.DependentTierChanges<Orthography>
- Parameters:
tierEdit
-
-
installExtension
Description copied from interface:ExtensionProvider
Install extension on an extendable object.- Specified by:
installExtension
in interfaceExtensionProvider
-