Interface IQualityStatementInformationGatherer
Provides Addins with the ability to add a button to the QualityStatement editor, which will execute a method to gather information for a QualityStatementItem via an automated process or by prompting the user.
Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface IQualityStatementInformationGatherer
Properties
IsInteractive
Gets a value indicating whether the Addin displays any user interface elements.
Declaration
bool IsInteractive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets the text to be displayed on the Addin's button.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
CanGatherInformationForItem(QualityStatementNode)
Determines whether information can be gathered for the specified quality statement item.
Declaration
bool CanGatherInformationForItem(QualityStatementNode node)
Parameters
Type | Name | Description |
---|---|---|
QualityStatementNode | node | A QualityStatementNode representing the quality statement item for which information may be gathered. |
Returns
Type | Description |
---|---|
System.Boolean |
|
GatherInformationForItem(QualityStatementNode, Node, QualityStatement)
Gathers information for the specified quality statement item.
Declaration
void GatherInformationForItem(QualityStatementNode qualityNode, Node contextNode, QualityStatement qualityStatement)
Parameters
Type | Name | Description |
---|---|---|
QualityStatementNode | qualityNode | A QualityStatementNode representing the quality statement for which information is being gathered. |
Node | contextNode | A Node providing navigatino context for the current QualityStatement. |
QualityStatement | qualityStatement | The QualityStatement currently being edited. |
IsInformationStillValid(QualityStatementItem)
Indicates whether the specified QualityStatementItem's information is still accurate.
Declaration
bool IsInformationStillValid(QualityStatementItem item)
Parameters
Type | Name | Description |
---|---|---|
QualityStatementItem | item |
Returns
Type | Description |
---|---|
System.Boolean |
|
Remarks
Addins may optionally implement this method if it useful for internal purposes. However, Colectica does not currently call this method.