Class GuiService
Contains collections and methods to retrieve user interface elements that may be injected as Colectica Addins.
Inheritance
System.Object
GuiService
Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public class GuiService : object
Remarks
The collections and methods in this class are used internally by Colectica Designer, and are not required to create Addins.
Properties
ExtraRootNodes
Gets a list of Nodes to be included in the navigator.
Declaration
public Collection<Node> ExtraRootNodes { get; }
Property Value
Type | Description |
---|---|
Collection<Node> |
OptionsEditors
Gets a list of IAddinOptionsEditors, which are displayed in the Ribbon's File - Options area.
Declaration
public Collection<IAddinOptionsEditor> OptionsEditors { get; set; }
Property Value
Type | Description |
---|---|
Collection<IAddinOptionsEditor> |
RootNodeProviders
Gets a list of IRootNodeProviders, which cause additional nodes to be displayed in the navigator.
Declaration
public Collection<IRootNodeProvider> RootNodeProviders { get; set; }
Property Value
Type | Description |
---|---|
Collection<IRootNodeProvider> |
Methods
GetViewsForType(Guid, Boolean)
Gets a list of IVersionableView controls to be displayed for the specified item type.
Declaration
public Collection<IVersionableView> GetViewsForType(Guid itemType, bool inCustomFieldsTab)
Parameters
Type | Name | Description |
---|---|---|
Guid | itemType | The type of item for which IVersionableView controls are being requested. |
System.Boolean | inCustomFieldsTab | Indicates whether the view should be displayed in the Annotations tab, instead of as its own additional tab. |
Returns
Type | Description |
---|---|
Collection<IVersionableView> |