Workspace 6.21.5
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
CSIRO::Tools Namespace Reference

Namespaces

namespace  Analysis
 
namespace  Char
 
namespace  Default
 
namespace  Icon
 
namespace  Key
 
namespace  Names
 
namespace  SemanticScore
 
namespace  SettingsStack
 
namespace  ToolTip
 
namespace  Ui
 

Classes

class  AnalysisTree
 Class for customising a WorkspaceTreeWidget without changing the application-wide settings. More...
 
class  AnchorAttributes
 
class  AnchorDifference
 Contains the data needed to differentiate between 2 anchor elements. More...
 
class  AnchorElementData
 
class  AnchorElementsMap
 
class  AttributeDifference
 Stores differences between two attributes as recorded as part of the CompareTwoWorkspaces operation. More...
 
class  Attributes
 
class  AutoMerge
 
struct  AutoMergeType
 
class  BlockData
 
struct  ChildItemSelectionData
 
class  ColourSettingsWidget
 Loads the application colours (this is application dependent), and lets the user change them. More...
 
class  ColumnTextFormatter
 
class  CompareTwoGlobalsFiles
 Compares two files of global names. More...
 
class  CompareTwoWorkflows
 Compare two workflows. More...
 
class  CompileWorkflowHistory
 Runs validation and comparison tools over the workflows referenced in a SVN-based revision log; it constructs an xml string pulling together the results. More...
 
struct  ConnectionAnchorData
 
class  ConnectionAttributes
 
struct  ConnectionData
 
class  ConnectionDifference
 Data relating to a difference between a connection's instances in two separate workflows. More...
 
class  ConnectionElementData
 
class  ConnectionElementsMap
 
class  CopySelectorWidget
 Creates a list of checkable items from every child of the "set" item that represents a scalar input. More...
 
class  CreateWorkspaceContext
 Creates an object dictionary containing the label and path to every operation in a pair of related workflow files. More...
 
class  CustomWidgetItemDelegate
 Creates an editor widget based on the underlying data's type and preferred display widget. More...
 
class  CustomWidgetWrapper
 A wrapper for an editor based on a preferred display widget; controls moving data between the model and the widget's data object. More...
 
class  DefaultMergeSettingsWidget
 Sets the defaults associated with the merge defaults. More...
 
class  DiffArguments
 
class  DiffElementData
 
class  DiffElementsMap
 
class  DifferenceHighlightingStyledItemDelegate
 Displays coloured highlights in the display text based on known differences between it and another string (ie that displayed in the cell next to it). Does not affect editing. More...
 
class  DifferenceProcessor
 
class  DifferenceUnit
 
class  DiffGraphicsEffectFactory
 Creates graphics effects that differ depending on the provided difference information. More...
 
class  DiffXMLData
 Holds xml content that it not explicitly handled by a DiffElementData subclass use this in addition to subclassing from DiffElementData. More...
 
class  DisplayAttributes
 
struct  DisplayData
 
class  DisplayDifference
 Contains all of the neccesary information to describe the differences between an display's instances in two different workflows. More...
 
class  DisplayElementData
 
class  DisplayElementsMap
 
class  DisplayUpdater
 
class  DockManager
 Class for managing a set of dock widgets associated with a particular menu. More...
 
class  DomDocumentUpdater
 
class  EditorSelectorItemDelegate
 Creates a set of QComboBoxes that allow the user to select the type of data and preferred display widget for the item. More...
 
class  EditorSelectorWidget
 Widget lets the user choose the item's data type and preferred display widget. More...
 
class  ElementDifference
 Stores attribute differences between two items for CompareTwoWorkspaces operation (base class). More...
 
class  ElementFinder
 
class  ExtractSVNLog
 Runs svn log –xml -v over the given SVN repository path. More...
 
class  FeatureAttributes
 
class  FeatureDifference
 Contains all of the neccesary information to describe the differences between an feature's instances in two different workflows. More...
 
class  FeatureElementData
 
class  FeatureElementsMap
 
class  FramedColorButton
 QPushButton subclass that adds a frame coloured by the hue of the main colour. More...
 
class  GhostInsertion
 
class  GhostLine
 
class  GhostOperation
 Specialisation of place holder used when representing an existing operation in another workflow. More...
 
class  GhostSection
 
class  GlobalsComparisonWidgetDesigner
 Qt Designer support for a widget. More...
 
class  GlobalsDiffMainWidget
 
class  GlobalsDiffModel
 Holds 2 SerializedTrees corresponding to 2 global name files being compared. More...
 
class  GlobalsDiffModelItem
 
class  GlobalsDiffNameSerializer
 Loads global names from file into the GlobalsDiffModel. More...
 
class  GlobalsDiffSortFilterModel
 Proxy filter that allows a GlobalsDiffModel to be sorted and filtered. More...
 
class  GlobalsDiffTreeView
 View of a GlobalsDiffModel showing global name elements from each side-by-side. More...
 
class  HighlightingGhostTextEdit
 
class  HighlightingStringFragment
 Keeps track of the starting pos and length of a string fragment, and whether it should be highlighted or not. More...
 
class  HighlightingTextEdit
 
class  InputDifference
 Contains all of the neccesary information to describe the differences between an input's instances in two different workflows. More...
 
class  InputElementData
 
class  InputElementsMap
 
class  IOAttributes
 
class  IOElementData
 
class  ItemDifference
 Stores common differences between two items as recorded as part of the CompareTwoWorkspaces operation. More...
 
class  LineNumberArea
 
class  MergeAnalyser
 
class  MergeAnchor
 
class  MergeArguments
 
class  MergeAttribute
 
class  MergeConnection
 
class  MergeFeature
 
class  MergeGraphicsEffectFactory
 Creates graphics effects that differ depending on the provided difference information (for the three-way merge tool). More...
 
class  MergeInput
 
class  MergeItem
 
class  MergeNote
 
class  MergeOperation
 
class  MergeOutput
 
class  MergeProgressWidget
 Displays an array of MergeItem. More...
 
class  MergeProgressWidgetConnector
 
class  MergeProgressWidgetDesigner
 Qt Designer support for a widget. More...
 
class  MergeProgressWidgetFactory
 
class  MergeProposal
 Holds the result of determining the type of change a "Difference" class represents, and its recommended merge result. More...
 
class  MergeSettings
 Holds a map between all the auto-merge types currently defined and their default values. More...
 
class  MergeThreeWorkflows
 Takes the diffs between two workflows and their common base and produces a set of recommended merges. More...
 
class  MergeView
 
class  MergeWorkflowWithBase
 Takes a base workflow and a set of element merges and applies them to create a merged workflow. More...
 
class  ModifyMergedDifferences
 Put a one-line description of your operation here. More...
 
class  ModifyMergedDifferencesWidget
 Offers user input to an auto merge process, such as choosing to ignore a merge or (to be implemented) choose which workflow to choose in case of conflict. More...
 
class  ModifyMergedDifferencesWidgetDesigner
 Qt Designer support for a widget. More...
 
class  MultipleWorkflowApp
 Interface for applications with multiple workflows. More...
 
class  NoteAttributes
 
struct  NoteData
 
class  NoteDifference
 Contains the data needed to differentiate between 2 note elements. More...
 
class  NoteElementData
 
class  NoteElementsMap
 
class  OperationAttributes
 
class  OperationDifference
 Contains all of the neccesary information to describe the differences between an operation's instances in two different workflows. More...
 
class  OperationElementData
 
class  OutputDifference
 Contains all of the neccesary information to describe the differences between an output's instances in two different workflows. More...
 
class  OutputElementData
 
class  OutputElementsMap
 
class  PluginConnector
 
class  PluginDifference
 Contains the data needed to differentiate between 2 plugin elements. More...
 
class  PluginElementData
 
class  PluginElementsMap
 
class  PluginTableModel
 
class  SelectFilesDialog
 Widget for setting workflow filenames (all four at once) More...
 
class  SettingsStackDialog
 Dialog for configuring Workflow tools settings, based on WorkspaceSettingsDialog. More...
 
class  SettingsWidget
 Widget ready to be added to a SettingsStackDialog widget. More...
 
struct  StringFragment
 
class  StringHighlights
 Keeps list of fragments of text to be highlighted, or to be flagged as a point at which text was inserted into an alternate string. More...
 
class  SummariseWorkflowHistory
 Summarises the results of CompileWorkflowHistory into two csv files, ordered by workflow name and workflow revision respectively. More...
 
class  TextComparisonWidget
 Widget that lets use compare two strings inside a pair of QTextEdit widgets: dynamically colours the first line that differs between them. More...
 
class  TextDifference
 
class  TextDifferencer
 
class  TextHighlighter
 
struct  ToolLogCategoryGuard
 Temporarily disables the normal log warnings if they are inappropriate and distracting in the Workflowtool context. More...
 
class  ValidationData
 Holds data as retrieved by WorkflowValidator operation. More...
 
class  ViewAttributes
 
class  ViewDifference
 Put a one-line description of your datatype here. More...
 
class  ViewElementData
 
class  ViewElementsMap
 
class  WidgetSignalBlocker
 Temporarily blocks onward signals while user-selection signals are propagated to linked widgets. More...
 
class  WorkflowComparisonAnalyser
 Creates a text (xml) file from the result of a workflow comparison operation. More...
 
class  WorkflowComparisonGraphicsEffect
 Graphics effect for workflow comparisons. More...
 
class  WorkflowDifferencesWidget
 Display workflow differences as held in an ObjectArray. More...
 
class  WorkflowDifferencesWidgetConnector
 
class  WorkflowDifferencesWidgetDesigner
 Qt Designer support for WorkflowDifferencesWidget. More...
 
class  WorkflowDifferencesWidgetFactory
 
class  WorkflowDiffMainWidget
 Main widget for the Two-way Comparison Tool. More...
 
class  WorkflowDiffSettingsDialog
 Widget for setting default external tools. More...
 
class  WorkflowDiffsIgnoreList
 Widget for setting any attributes that the diff tool should ignore. More...
 
class  WorkflowMergeMainWidget
 Main widget for the Three-way Merge Tool. More...
 
class  WorkflowToolsPlugin
 Plugin holds applications, operations and support code for workspace elements outside the editor. More...
 
class  WorkflowToolsPluginDesigner
 WorkspacePlugin singleton class for this module. More...
 
class  WorkflowToolsPluginMenu
 Provides a custom menu for the plugin CSIRO::Tools::WorkflowToolsPlugin within the Workspace editor. More...
 
class  WorkflowToolUtil
 General class for utility functions across the Workflow Tool set. More...
 
class  WorkflowUpdater
 
class  WorkflowUpdateRequester
 Creates workflow update requests from the WorkflowDifferencesWidget. More...
 
class  WorkflowValidateMainWidget
 
class  WorkflowValidator
 Do some checking on a workspace contained in the input file. More...
 
class  WorkflowValidatorWidget
 Display workflow validation report as held in an ObjectArray. More...
 
class  WorkflowValidatorWidgetConnector
 
class  WorkflowValidatorWidgetDesigner
 Qt Designer support for WorkflowValidatorWidget. More...
 
class  WorkflowValidatorWidgetFactory
 
struct  WorkspaceData
 
class  WriteableFileMenu
 

Typedefs

using AttributePresentValuePair = QPair< bool, QString >
 
using AttributesMapType = QMap< QString, QString >
 
using AttributeValuePair = QPair< AttributePresentValuePair, AttributePresentValuePair >
 
using Column = GlobalsDiffModel::Column
 
using ConnectionElementDataPair = QPair< ConnectionElementData, ConnectionElementData >
 
using EF = ElementFinder
 
using ElementDataPair = QPair< DiffElementData, DiffElementData >
 
using ErrorType = QStringList
 
using GuidToNoteElementDataMap = QMap< QString, NoteElementData >
 
using GUIDType = QString
 
using MergeCategory = DifferenceType
 
using MF = Presentation::WorkspaceModelFilter
 
using MixedHashToConnectionElementDataMap = QMap< QString, ConnectionElementData >
 
using NoteElementDataPair = QPair< NoteElementData, NoteElementData >
 
using OperationDataPair = QPair< OperationElementData, OperationElementData >
 
using Role = GlobalsDiffModel::Role
 
using WD = WorkflowDifferencesWidget
 

Enumerations

enum  AutoMergeDefaultResponse { AlwaysAccept , ConfirmIfPossible , AlwaysConfirm , AlwaysIgnore }
 
enum  AutoMergeRole {
  UndeterminedRole = 0 , ItemAddedToOne , ItemAddedToBothSame , ItemAddedToBothDiff ,
  ItemRemovedFromOne , ItemRemovedFromBoth , ItemEditedInOne , ItemEditedInBothSame ,
  ItemEditedInBothDiff , ItemEditedInOneRemovedInOne , ItemMovedInOne , ItemMovedInBothSame ,
  ItemMovedInBothDiff , CustomRole , AutoMergeRoleEnd
}
 
enum  AutoMergeState {
  AddedToWorkflow1Only = 0 , AddedToWorkflow2Only , AddedtoBothWorkflowsIdentically , AddedtoBothWorkflowsDifferently ,
  RemovedFromWorkflow1UnchangedInWorkflow2 , RemovedFromWorkflow2UnchangedInWorkflow1 , RemovedFromWorkflow1ModifiedInWorkflow2 , RemovedFromWorkflow2ModifiedInWorkflow1 ,
  RemovedFromBothWorkflows , ModifiedInWorkflow1UnchangedInWorkflow2 , ModifiedInWorkflow2UnchangedInWorkflow1 , ModifiedInBothWorkflowsIdentically ,
  ModifiedInBothWorkflowsDifferently , Unchanged
}
 
enum  Columns { NameColumn , ValueInAColumn , ValueInBColumn , ColumnCount }
 
enum  ComparisonRole { WorkflowA = 0 , WorkflowB = 1 }
 Represents the role that a workflow is taking in a comparison: side A or B. More...
 
enum  ContextAction { Copy = 0 , Append , Remove , Compare }
 
enum  DataRole { TagData = Qt::UserRole , RoleData , CustomNameData , ChangeFlag }
 
enum  DictionaryRoles {
  WorkspaceLabel = 0 , ElementTag , PresentInA , PresentInB ,
  ValueInA , ValueInB , ElementInA , ElementInB
}
 These are the members of the lists returned in the differences output of the CompareTwoGlobalsFiles operation. More...
 
enum  DifferenceType {
  Operation = 0 , View , Connection , Note ,
  Anchor , Input , ArrayInput , ArrayInputElement ,
  Output , Feature , Display , Position ,
  Attribute , Plugin , ParentWorkspace , FormattedChild ,
  Misc
}
 
enum  MergeAction {
  MergeAction_Unknown , MergeAction_Remove , MergeAction_Append , MergeAction_Replace ,
  MergeAction_Ignore , MergeAction_Modify , MergeAction_Reject
}
 Which type of merge action is proposed. More...
 
enum  MergeRole { MergeRole_Workflow1 = 0 , MergeRole_Workflow2 = 1 , MergeRole_Base , MergeRole_Merged }
 Represents the role that a workflow is taking in a merge: workflow1, workflow2, base or the merged result. More...
 
enum  ReportingLevel { Errors = 0 , Warnings = 1 , Informative = 2 , Verbose = 3 }
 Level of logging that will be shown in the log viewer. More...
 
enum class  Type { Remove , Insert , Ignore }
 
enum  WorkflowChoice { WorkflowChoice_Workflow1 , WorkflowChoice_Workflow2 , WorkflowChoice_BothWorkflows }
 Which workflows the proposed merge involves. More...
 

Functions

ComparisonRole alternativeTo (ComparisonRole desc)
 
const QString appColourStr ("appcolours")
 
void applyExtractedDifferencesToDefaultElement (QDomElement &element, const QMap< QString, QString > &attributes, const QStringList &content)
 If the "reference" element does not exist, because it is a default IO, known "differences" are applied here to a constructed reference so that the base workflow can be updated.
 
bool applyOpMerges (QDomDocument &baseDocument, QList< MergeOperation * > mergeItems)
 Recursive function that adds workspace parents before their children **.
 
const QString attrVersion ("version")
 
const QString blueberry ("#1E22AA")
 
bool compareNotes (const NoteElementDataPair &noteElementDataPair, OperationDifference *operationDifference, bool *differencesFound)
 
MergeRole counterpartWorkflowRole (MergeRole role)
 
QMap< DiffRole, WorkspaceGraphicsEffect::EffectStatecreateEffects (int hue)
 
QMap< DiffRole, WorkspaceGraphicsEffect::EffectStatecreateGhostEffects (int hue)
 
const QString defaultColourStr ("defaultcolours")
 
int differenceCount (QDomElement elt, const QString &differenceTag)
 
GlobalsDiffModelItemfindChildItem (const QString &displayName, GlobalsDiffModelItem &item)
 
int findGlobalNames (const QString &operation, const QDomElement &opChildA, const QDomElement &opChildB, QMap< QString, QMap< QString, QMap< QString, GlobalAttributePair > > > &IO)
 
QDomElement findMatchingOperation (const QString &opName, const QDomElement element)
 
static QString getDomNodeAsString (QDomNode currentNode)
 
NoteElementData getNoteElementData (const QDomElement &element)
 
const QString gold ("#FFB81C")
 
bool hideIfIgnorable (QTreeWidgetItem *item)
 
static bool isGUIDEmpty (const GUIDType &guidIn)
 
const QString lavender ("#9FAEE5")
 
const QString lightMint ("#71CC98")
 
const QString lightTeal ("#2DCCD3")
 
static const Application::LogManager::MessageCategory LOG_TOOL_ERROR ("ToolError", true, "ERROR: ")
 
static const Application::LogManager::MessageCategory LOG_TOOL_INFO ("ToolInfo", true)
 
static const Application::LogManager::MessageCategory LOG_TOOL_VERBOSE ("ToolVerbose", true)
 
static const Application::LogManager::MessageCategory LOG_TOOL_WARNING ("ToolWarning", true, "WARNING: ")
 
const QString mint ("#007A53")
 
const QString orange ("#FF6700")
 CSIRO Colours.
 
bool selectClosestMatchingOperation (const QString &wsPath, bool selected, Presentation::WorkspaceTabWidget &tabWidget)
 Attempts to select an appropriate ancestral Workspace inside a workflow for an operation where the operation itself may not actually exist. If the selected operation does not appear in the alternate workflows, we want to zoom to its closest existing ancestor.
 
const QString teal ("#007377")
 
const QString versionedColourStr ("colours")
 

Variables

const int colourVersion = 0
 
QMap< DifferenceType, QString > mapDifferenceToString
 
QMap< QString, DifferenceTypemapStringToDifference
 
QMap< QString, bool > workspaceTypeMap {{"Workspace", true}}
 

Typedef Documentation

◆ AttributePresentValuePair

using AttributePresentValuePair = QPair<bool, QString>

◆ AttributesMapType

using AttributesMapType = QMap<QString, QString>

◆ AttributeValuePair

◆ Column

◆ ConnectionElementDataPair

◆ EF

typedef ElementFinder EF

◆ ElementDataPair

◆ ErrorType

◆ GuidToNoteElementDataMap

using GuidToNoteElementDataMap = QMap<QString, NoteElementData>

◆ GUIDType

typedef QString GUIDType

◆ MergeCategory

◆ MF

◆ MixedHashToConnectionElementDataMap

◆ NoteElementDataPair

◆ OperationDataPair

◆ Role

◆ WD

Enumeration Type Documentation

◆ AutoMergeDefaultResponse

Enumerator
AlwaysAccept 

This change is a no-brainer, and is always accepted.

ConfirmIfPossible 

This change would benefit from user-confirmation, but can be done automatically if necessary.

AlwaysConfirm 

This change always required user input, so is never allowed as an automerge.

AlwaysIgnore 

This change requires user input, but it is OK to ignore it and apply the allowed merges anyway.

◆ AutoMergeRole

Enumerator
UndeterminedRole 
ItemAddedToOne 
ItemAddedToBothSame 
ItemAddedToBothDiff 
ItemRemovedFromOne 
ItemRemovedFromBoth 
ItemEditedInOne 
ItemEditedInBothSame 
ItemEditedInBothDiff 
ItemEditedInOneRemovedInOne 
ItemMovedInOne 
ItemMovedInBothSame 
ItemMovedInBothDiff 
CustomRole 
AutoMergeRoleEnd 

◆ AutoMergeState

Enumerator
AddedToWorkflow1Only 
AddedToWorkflow2Only 
AddedtoBothWorkflowsIdentically 
AddedtoBothWorkflowsDifferently 
RemovedFromWorkflow1UnchangedInWorkflow2 
RemovedFromWorkflow2UnchangedInWorkflow1 
RemovedFromWorkflow1ModifiedInWorkflow2 
RemovedFromWorkflow2ModifiedInWorkflow1 
RemovedFromBothWorkflows 
ModifiedInWorkflow1UnchangedInWorkflow2 
ModifiedInWorkflow2UnchangedInWorkflow1 
ModifiedInBothWorkflowsIdentically 
ModifiedInBothWorkflowsDifferently 
Unchanged 

◆ Columns

enum Columns
Enumerator
NameColumn 

Global name.

ValueInAColumn 

Value of the item in file A if it is there.

ValueInBColumn 

Value of the item in file B if it is there.

ColumnCount 

◆ ComparisonRole

Enumerator
WorkflowA 
WorkflowB 

◆ ContextAction

Enumerator
Copy 
Append 
Remove 
Compare 

◆ DataRole

enum DataRole
Enumerator
TagData 
RoleData 
CustomNameData 
ChangeFlag 

◆ DictionaryRoles

Enumerator
WorkspaceLabel 
ElementTag 

The tag associated with the element in the wsg file; normally input, output or operation.

PresentInA 

True if there is an entry for this global name in file A.

PresentInB 

True if there is an entry for this global name in file A.

ValueInA 

The value given for this global name in file A (filtered for non-trivial aspects)

ValueInB 

The value given for this global name in file B (filtered for non-trivial aspects)

ElementInA 

The full value of the element in file A.

ElementInB 

The full value of the element in file B.

◆ DifferenceType

Enumerator
Operation 

Involves a change in an operation.

View 

Involves moving an operation wrt "view" tag (unused)

Connection 

Involves a change in a connection.

Note 

Involves a change in an operation note.

Anchor 

Involves a change in an connection anchor.

Input 

Involves a change in info serialised about an input.

ArrayInput 

Involves a change in info serialised about an input array.

ArrayInputElement 

Involves a change in info serialised about an input array element.

Output 

Involves a change in info serialised about an output.

Feature 

Involves a change in info serialised about an sql feature.

Display 

Involves a change a connected widget.

Position 

Involves moving an operation.

Attribute 

Involves a change in attribute (of any kind of DomElement in the xml)

Plugin 

Involves a change in plugin used.

ParentWorkspace 

Is a parent workspace item (not a difference, but an item used to group together changes to operations inside a nested workspace.

FormattedChild 

Difference detected/created by a formatter (eg the ColumnTextFormatter)

Misc 

Involves a change not covered by other types.

◆ MergeAction

Enumerator
MergeAction_Unknown 

Not yet determined.

MergeAction_Remove 

Remove element from base workflow.

MergeAction_Append 

Add element to base workflow.

MergeAction_Replace 

Replace element from base workflow.

MergeAction_Ignore 

Do not do anything.

MergeAction_Modify 

Change an existing element.

MergeAction_Reject 

reject the proposed change

◆ MergeRole

enum MergeRole
Enumerator
MergeRole_Workflow1 

Workflow 1.

MergeRole_Workflow2 

Workflow 2.

MergeRole_Base 

Base workflow.

MergeRole_Merged 

Merged (output) workflow.

◆ ReportingLevel

Enumerator
Errors 
Warnings 
Informative 
Verbose 

◆ Type

enum class Type
strong
Enumerator
Remove 
Insert 
Ignore 

◆ WorkflowChoice

Enumerator
WorkflowChoice_Workflow1 

Using change from base to Workflow1.

WorkflowChoice_Workflow2 

Using change from base to Workflow2.

WorkflowChoice_BothWorkflows 

Using change in both Workflows.

Function Documentation

◆ alternativeTo()

ComparisonRole alternativeTo ( ComparisonRole  desc)
inline
Returns
Returns the descriptor that is the alternative to the descriptor supplied. e.g. if WorkflowA is supplied, this will return WorkflowB.

◆ appColourStr()

const QString appColourStr ( "appcolours"  )

◆ applyExtractedDifferencesToDefaultElement()

void applyExtractedDifferencesToDefaultElement ( QDomElement &  element,
const QMap< QString, QString > &  attributes,
const QStringList content 
)

◆ applyOpMerges()

bool applyOpMerges ( QDomDocument &  baseDocument,
QList< MergeOperation * >  mergeItems 
)

◆ attrVersion()

const QString attrVersion ( "version"  )

◆ blueberry()

const QString blueberry ( "#1E22AA"  )

◆ compareNotes()

bool compareNotes ( const NoteElementDataPair noteElementDataPair,
OperationDifference operationDifference,
bool *  differencesFound 
)

◆ counterpartWorkflowRole()

MergeRole counterpartWorkflowRole ( MergeRole  role)
inline
Parameters
roleMay be Workflow1 or Workflow2
Returns
Returns the role descriptor that is the alternative to the descriptor supplied. e.g. if Workflow1 is supplied, this will return Workflow2.

◆ createEffects()

QMap< DiffRole, WorkspaceGraphicsEffect::EffectState > createEffects ( int  hue)

◆ createGhostEffects()

QMap< DiffRole, WorkspaceGraphicsEffect::EffectState > createGhostEffects ( int  hue)

◆ defaultColourStr()

const QString defaultColourStr ( "defaultcolours"  )

◆ differenceCount()

int differenceCount ( QDomElement  elt,
const QString &  differenceTag 
)

◆ findChildItem()

GlobalsDiffModelItem * findChildItem ( const QString &  displayName,
GlobalsDiffModelItem item 
)

◆ findGlobalNames()

int findGlobalNames ( const QString &  operation,
const QDomElement &  opChildA,
const QDomElement &  opChildB,
QMap< QString, QMap< QString, QMap< QString, GlobalAttributePair > > > &  IO 
)

◆ findMatchingOperation()

QDomElement findMatchingOperation ( const QString &  opName,
const QDomElement  element 
)

◆ getDomNodeAsString()

static QString getDomNodeAsString ( QDomNode  currentNode)
static

◆ getNoteElementData()

NoteElementData getNoteElementData ( const QDomElement &  element)

◆ gold()

const QString gold ( "#FFB81C"  )

◆ hideIfIgnorable()

bool hideIfIgnorable ( QTreeWidgetItem *  item)

◆ isGUIDEmpty()

static bool isGUIDEmpty ( const GUIDType guidIn)
static

◆ lavender()

const QString lavender ( "#9FAEE5"  )

◆ lightMint()

const QString lightMint ( "#71CC98"  )

◆ lightTeal()

const QString lightTeal ( "#2DCCD3"  )

◆ LOG_TOOL_ERROR()

static const Application::LogManager::MessageCategory LOG_TOOL_ERROR ( "ToolError"  ,
true  ,
"ERROR: "   
)
static

◆ LOG_TOOL_INFO()

static const Application::LogManager::MessageCategory LOG_TOOL_INFO ( "ToolInfo"  ,
true   
)
static

◆ LOG_TOOL_VERBOSE()

static const Application::LogManager::MessageCategory LOG_TOOL_VERBOSE ( "ToolVerbose"  ,
true   
)
static

◆ LOG_TOOL_WARNING()

static const Application::LogManager::MessageCategory LOG_TOOL_WARNING ( "ToolWarning"  ,
true  ,
"WARNING: "   
)
static

◆ mint()

const QString mint ( "#007A53"  )

◆ orange()

const QString orange ( "#FF6700"  )

◆ selectClosestMatchingOperation()

bool selectClosestMatchingOperation ( const QString &  wsPath,
bool  selected,
Presentation::WorkspaceTabWidget tabWidget 
)
Parameters
wsPathPath from the root workspace to the operation
selectedTrue if the operation should be selected (false if deselected)
tabWidgetThe widget displaying the workflow
Returns
true if one of the Workspaces in the given path was found and selected

◆ teal()

const QString teal ( "#007377"  )

◆ versionedColourStr()

const QString versionedColourStr ( "colours"  )

Variable Documentation

◆ colourVersion

const int colourVersion = 0

◆ mapDifferenceToString

QMap<DifferenceType, QString> mapDifferenceToString

◆ mapStringToDifference

QMap<QString, DifferenceType> mapStringToDifference

◆ workspaceTypeMap

QMap<QString, bool> workspaceTypeMap {{"Workspace", true}}