Méthode | Description | |
---|---|---|
GetTemplate ( SqlTemplateId templateId ) : |
Get TemplateText - TemplateString - Name - ToolTip
|
|
GetTemplateName ( SqlTemplateId templateId ) : string |
Get TemplateText name or null according to templateID
|
|
GetTemplateText ( SqlTemplateId templateId ) : string |
Get TemplateText (the template) or null according to templateID.
|
|
GetTooltip ( SqlTemplateId templateId ) : string |
Get TemplateText Tool tip or null according to templateID
|
|
ReplaceMacro ( Repository rep, string sqlString, string searchTerm ) : string |
Replace Macro and 'Search Term' by value. Possible Macros are: Search Term, ID, GUID, Package ID, Branch ID,...
|
Méthode | Description | |
---|---|---|
GetParentPackageIdFromContextElement ( Repository rep ) : int |
Get containing Package ID from context element of Package, Element, Diagram, Attribute, Operation
|
|
MacroBranch ( Repository rep, string sql ) : string |
Replace macro #Branch# and #InBranch# by IDs of selected packages, recursive nested.
|
|
MacroBranchConstant ( Repository rep, string sql ) : string |
Replace macro '#Branch={...guid...}#' by ids of the package referenced by GUID. It selects all nested packages recursive.
|
|
MacroBranchConstantPackage ( Repository rep, string sql ) : string |
Replace macro #Branch={..guid..}# and #InBranch={..guid..}# by IDs of selected packages, recursive nested. It uses the package of the guid and not of the selected Package
|
|
MacroConnector ( Repository rep, string sql ) : string |
Connector macros: ConnectorID and ConveyedItemIDS Note: If Element connector
|
|
MacroPackageId ( Repository rep, string sql ) : string |
Replace macro #PackageID# of the selected Diagram, Element, Package, Attribute, Operation by the ID of the containing Package.
|
|
MacroTreeSelected ( Repository rep, string sql ) : string |
Replace macro #TreeSelectedGUIDS# by GUIDs of selected Items of Browser
|
|
deleteC_Comments ( string sql ) : string |
Delete C-Comment
|
|
macroDiagramElements_IDS ( Repository rep, string sql ) : string |
Replace macro #DiagramElements_IDS# by a comma separated list of all Element IDs in diagram.
|
|
macroDiagramSelectedElements_IDS ( Repository rep, string sql ) : string |
Replace macro #DiagramElements_IDS# by a comma separated list of all Element IDs in diagram.
|
|
macroDiagram_ID ( Repository rep, string sql ) : string |
Replace macro #Diagram_ID# by Diagram_Id of the current diagram or selected Diagram.
|
|
macroItem_GUID ( Repository rep, string sql ) : string |
Replace macro #CurrentItemGUID# by the GUID of the currently selected Item. Alias: #CurrentElementGUID#
|
|
macroItem_ID ( Repository rep, string sql ) : string |
Replace macro #CURRENT_ITEM_ID# by the ID of the currently selected Item. Because ID is ambiguous better use #CurrentItemGuid# Alias: #CurrentElementID#
|
public static GetTemplate ( SqlTemplateId templateId ) : |
||
templateId | SqlTemplateId | |
Résultat |
public static GetTemplateName ( SqlTemplateId templateId ) : string | ||
templateId | SqlTemplateId | |
Résultat | string |
public static GetTemplateText ( SqlTemplateId templateId ) : string | ||
templateId | SqlTemplateId | |
Résultat | string |
public static GetTooltip ( SqlTemplateId templateId ) : string | ||
templateId | SqlTemplateId | |
Résultat | string |
public static ReplaceMacro ( Repository rep, string sqlString, string searchTerm ) : string | ||
rep | Repository | |
sqlString | string | The complete SQL string |
searchTerm | string | The Search Term from the text entry field |
Résultat | string |