Class CheckAlignment
java.lang.Object
ca.phon.session.check.CheckAlignment
- All Implemented Interfaces:
IPluginExtensionPoint<SessionCheck>
,SessionCheck
public class CheckAlignment
extends Object
implements SessionCheck, IPluginExtensionPoint<SessionCheck>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkSession
(SessionValidator validator, Session session) Check session and report any issues using the given validator.boolean
checkTranscriptElement
(SessionValidator validator, Session session, int elementIndex) Check specified transcript element index for issues.Class
<?> Get type of extensionGet factory for extension point objectsboolean
void
loadProperties
(Properties props) boolean
Perform check by default in session editor and session check wizard.void
setResetAlignment
(boolean resetAlignment)
-
Field Details
-
RESET_ALIGNMENT
-
DEFAULT_RESET_ALIGNMENT
public static final boolean DEFAULT_RESET_ALIGNMENT- See Also:
-
-
Constructor Details
-
CheckAlignment
public CheckAlignment()
-
-
Method Details
-
isResetAlignment
public boolean isResetAlignment() -
setResetAlignment
public void setResetAlignment(boolean resetAlignment) -
getExtensionType
Description copied from interface:IPluginExtensionPoint
Get type of extension- Specified by:
getExtensionType
in interfaceIPluginExtensionPoint<SessionCheck>
-
getFactory
Description copied from interface:IPluginExtensionPoint
Get factory for extension point objects- Specified by:
getFactory
in interfaceIPluginExtensionPoint<SessionCheck>
-
performCheckByDefault
public boolean performCheckByDefault()Description copied from interface:SessionCheck
Perform check by default in session editor and session check wizard. This setting may be overridden by user settings in the Session Check view.- Specified by:
performCheckByDefault
in interfaceSessionCheck
- Returns:
- true if check should execute during record editor start-up
-
checkSession
Description copied from interface:SessionCheck
Check session and report any issues using the given validator.- Specified by:
checkSession
in interfaceSessionCheck
- Parameters:
validator
-session
-- Returns:
- true if session was modified, false otherwise
-
checkTranscriptElement
public boolean checkTranscriptElement(SessionValidator validator, Session session, int elementIndex) Description copied from interface:SessionCheck
Check specified transcript element index for issues.- Specified by:
checkTranscriptElement
in interfaceSessionCheck
- Parameters:
validator
-session
-- Returns:
- true if issues were found, false otherwise
-
getProperties
- Specified by:
getProperties
in interfaceSessionCheck
-
loadProperties
- Specified by:
loadProperties
in interfaceSessionCheck
-