Altaxo.AddInItems Namespace |
Contains add-in trees, codons, doozers, conditions, and runtime support for extensibility.
Classes| | Class | Description |
|---|
 | AddIn |
Represents a loaded add-in together with its manifest, runtimes, and extension paths.
|
 | AddInLoadException |
Exception used when loading an AddIn fails.
|
 | AddInManager |
Manages all actions performed on AddIns.
An AddInManager GUI can use the methods here to install/update/uninstall
AddIns.
There are three types of AddIns:
- Preinstalled AddIns (added by host application) -> can only be disabled
- External AddIns -> can be added, disabled and removed
Removing external AddIns only removes the reference to the .addin file
but does not delete the AddIn.
- User AddIns -> are installed to UserAddInPath, can be installed, disabled
and uninstalled
|
 | AddInManifest |
Stores information about the manifest of an AddIn.
|
 | AddInReference |
Represents a versioned reference to an AddIn. Used by AddInManifest.
|
 | AddInTree |
Static class containing the AddInTree. Contains methods for accessing tree nodes and building items.
|
 | AddInTreeImpl |
Class containing the AddInTree. Contains methods for accessing tree nodes and building items.
|
 | AddInTreeNode |
Represents an extension path in the AddInTree.
|
 | AndCondition |
Gives back the and result of two conditions.
|
 | AssemblyLoaderService |
Provides methods for loading plug-in assemblies and their dependencies.
Special care is taken to load almost all dependencies into the default AssemblyLoadContext
in order to avoid loading the same assembly into multiple contexts.
|
 | BuildItemArgs |
Argument class used for BuildItem(BuildItemArgs).
|
 | ClassDoozer |
Creates object instances by invocating a type's parameterless constructor
via System.Reflection.
|
 | Codon |
Represents a node in the add in tree that can produce an item.
|
  | CompareConditionEvaluator |
Compares two strings.
The strings are passed through the StringParser, so it is possible to compare
SharpDevelop properties.
Useful if you want to run a command only when a setting is active to prevent
loading your addin if that setting isn't set.
|
 | Condition |
Represents a condition attached to a codon in the add-in tree.
|
 | CoreStartup |
Class that helps starting up.
|
 | ExtensionPath |
Represents all contributions to a Path in a single .addin file.
|
 | FileFilterDescriptor |
Describes a file filter entry for file dialogs.
|
 | FileFilterDoozer |
Creates file filter entries for OpenFileDialogs or SaveFileDialogs.
|
 | IconDescriptor |
Describes an icon association declared in the add-in tree.
|
 | IconDoozer |
Creates associations between file types or node types in the project browser and
icons in the resource service.
|
 | IncludeDoozer |
Includes one or multiple items from another location in the addin tree.
You can use the attribute "item" (to include a single item) OR the
attribute "path" (to include all items from the target path).
|
 | LoadContextIntoDefault |
Represents an assembly load context intended for plug-in assemblies with dependencies.
The original plug-in assembly is loaded into a newly created instance of this class,
but at least all dependencies of the original plug-in assembly are loaded into the same context, namely Instance.
The default context cannot be used because resolution of third-level assemblies would then fail.
This approach avoids unintentionally loading multiple instances of the same assembly.
|
 | MenuItemDescriptor |
Represents a menu item. These objects are created by the MenuItemDoozer and
then converted into GUI-toolkit-specific objects by the MenuService.
|
 | MenuItemDoozer |
Creates menu items from a location in the addin tree.
|
 | NegatedCondition |
Negates a condition
|
 | OrCondition |
Gives back the or result of two conditions.
|
 | OwnerStateConditionEvaluator |
Condition evaluator that compares the state of the parameter with a specified value.
The parameter has to implement IOwnerState.
|
 | Runtime |
Describes a runtime import declared by an add-in.
|
 | ServiceDoozer |
Registers a service in a service container.
|
 | StaticDoozer |
Retrieves an object instance by accessing a static field or property
via System.Reflection.
|
 | StringDoozer |
Creates a string.
|
 | ToolbarItemDescriptor |
Represents a toolbar item. These objects are created by the ToolbarItemDoozer and
then converted into GUI-toolkit-specific objects by the ToolbarService.
|
 | ToolbarItemDoozer |
Creates tool bar items from a location in the addin tree.
|
 | TreePathNotFoundException |
Is thrown when the AddInTree could not find the requested path.
|
Interfaces| | Interface | Description |
|---|
 | IAddInTree |
Represents the add-in tree that stores codons, doozers, and condition evaluators.
|
 | IBuildItemsModifier |
When a doozer returns an object implementing
this interface, the Apply(IList) method is called on the list of items
that has been built.
This interface can be used to support special doozers
that do not simply build one item but want to modify the list of items built so far.
Example use is the IncludeDoozer which uses this interface to return
multiple items instead of one.
|
 | ICheckableMenuCommand |
Represents a menu command that can expose a checked state.
|
 | ICondition |
Represents a single condition or a complex condition.
|
 | IConditionEvaluator |
Interface for classes that can evaluate conditions defined in the addin tree.
|
 | IDoozer |
Interface for classes that can build objects out of codons.
|
 | IMenuItemBuilder |
Used to include a dynamically built list of menu items.
|
 | IOwnerState |
Provides access to an owner's internal state for condition evaluation.
|
 | ISubmenuBuilder |
Obsolete compatibility alias for IMenuItemBuilder.
Obsolete |
Enumerations