Class QualityStatementInformationGathererBase
Provides a base class from which implementers of IQualityStatementInformationGatherer may derive.
Inheritance
Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public abstract class QualityStatementInformationGathererBase : object, IQualityStatementInformationGatherer
Properties
IsInteractive
Gets a value indicating whether the Addin displays any user interface elements.
Declaration
public bool IsInteractive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Implements
Name
Gets the text to be displayed on the Addin's button.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Methods
CanGatherInformationForItem(QualityStatementNode)
Determines whether information can be gathered for the specified quality statement item.
Declaration
public abstract 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 |
|
Implements
GatherInformationForItem(QualityStatementNode, Node, QualityStatement)
Gathers information for the specified quality statement item.
Declaration
public abstract void GatherInformationForItem(QualityStatementNode node, Node contextNode, QualityStatement qualityStatement)
Parameters
Type | Name | Description |
---|---|---|
QualityStatementNode | node | 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. |
Implements
IsInformationStillValid(QualityStatementItem)
Indicates whether the specified QualityStatementItem's information is still accurate.
Declaration
public abstract bool IsInformationStillValid(QualityStatementItem item)
Parameters
Type | Name | Description |
---|---|---|
QualityStatementItem | item |
Returns
Type | Description |
---|---|
System.Boolean |
|
Implements
Remarks
Addins may optionally implement this method if it useful for internal purposes. However, Colectica does not currently call this method.