Skip to content

Simple examples of Colectica Addins, useful for getting started with your own development.

Notifications You must be signed in to change notification settings

Colectica/ColecticaSampleAddins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Colectica Designer Addins

Colectica Designer can be extended by developing Addins. Addins are developed as .NET class libraries, and can be implemented in C#, F#, or Visual Basic. Colectica Designer offers several extension points. See below for a description and sample source code for each type of extension point.

Types of Addins

Commands

IStandAloneCommand

Adds a button to the main ribbon, and executes your code when the user clicks the button.

A sample stand-alone command

Sample Source Code

IVersionableCommand

Adds a button to the ribbon for a particular item, and a menu item to the context menu for that item. Your code is executed when the user clicks the button or menu item.

A sample versionable command

Sample Source Code

IVersionableCommandProvider

Adds multiple buttons to the ribbon for an item, each of which executes the same code but with a different parameter.

A sample versionable command provider

Sample Source Code

IVersionableInitializerCommand

Adds code that is executed when a new item is created.

Sample Source Code

INodeCommand

Adds an item to the ribbon for a particular item in the navigator, and to the context menu for that item.

A sample node command

Sample Source Code

Views

IDockingView

Adds a view that can be docked to any of the sides of Colectica Designer.

A sample docking view

Sample Source Code: XAML, CSharp

IVersionableView

Adds a content view for an item, like the built-in Editor and DDI views.

A sample versionable view

Sample Source Code: XAML, CSharp

Quality Statements

IQualityStatementInformationGatherer

Collects information to be included in a Quality Statement.

A sample quality statement item information gatherer

Sample Source Code

IQualityStatementItemFilter

Filters which Quality Statements are currently displayed.

A sample quality statement item filter

Sample Source Code: XAML, CSharp

Options

Colectica Designer provides a framework for addins to provide an editor for addin-specific configuration options.

Sample Source Code: XAML, CSharp

Deploying Addins

Once you have a .NET assembly that implements one or more of the extension points described above, deploying the Addin is as simple as copying the DLL file to one of two locations:

  • %programfiles(x86)%\Colectica\Colectica Designer\Addins
  • %appdata%\Algenta\Colectica\Addins

The next time you restart Colectica Designer, your Addins will automatically be loaded.

Additional Extension Points

Please let us know what additional extension points would be useful for you. We look forward to expanding the Addin possibilities based on your feedback.

Colectica Addins Workshop

Interested in working with the Colectica developers to create your own Addins? Get in touch to schedule a hands-on development workshop.

About

Simple examples of Colectica Addins, useful for getting started with your own development.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages