Show / Hide Table of Contents

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

true if this Addin can gather information for the specified quality statement item; otherwise false.

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

true if the information is still valid; otherwise false.

Remarks

Addins may optionally implement this method if it useful for internal purposes. However, Colectica does not currently call this method.

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica