Click or drag to resize

Altaxo.AddInItems Namespace

Contains add-in trees, codons, doozers, conditions, and runtime support for extensibility.
Classes
 ClassDescription
Public classAddIn Represents a loaded add-in together with its manifest, runtimes, and extension paths.
Public classAddInLoadException Exception used when loading an AddIn fails.
Public classAddInManager 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
Public classAddInManifest Stores information about the manifest of an AddIn.
Public classAddInReference Represents a versioned reference to an AddIn. Used by AddInManifest.
Public classAddInTree Static class containing the AddInTree. Contains methods for accessing tree nodes and building items.
Public classAddInTreeImpl Class containing the AddInTree. Contains methods for accessing tree nodes and building items.
Public classAddInTreeNode Represents an extension path in the AddInTree.
Public classAndCondition Gives back the and result of two conditions.
Public classAssemblyLoaderService 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.
Public classBuildItemArgs Argument class used for BuildItem(BuildItemArgs).
Public classClassDoozer Creates object instances by invocating a type's parameterless constructor via System.Reflection.
Public classCodon Represents a node in the add in tree that can produce an item.
Public classCode exampleCompareConditionEvaluator 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.
Public classCondition Represents a condition attached to a codon in the add-in tree.
Public classCoreStartup Class that helps starting up.
Public classExtensionPath Represents all contributions to a Path in a single .addin file.
Public classFileFilterDescriptor Describes a file filter entry for file dialogs.
Public classFileFilterDoozer Creates file filter entries for OpenFileDialogs or SaveFileDialogs.
Public classIconDescriptor Describes an icon association declared in the add-in tree.
Public classIconDoozer Creates associations between file types or node types in the project browser and icons in the resource service.
Public classIncludeDoozer 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).
Public classLoadContextIntoDefault 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.
Public classMenuItemDescriptor Represents a menu item. These objects are created by the MenuItemDoozer and then converted into GUI-toolkit-specific objects by the MenuService.
Public classMenuItemDoozer Creates menu items from a location in the addin tree.
Public classNegatedCondition Negates a condition
Public classOrCondition Gives back the or result of two conditions.
Public classOwnerStateConditionEvaluator Condition evaluator that compares the state of the parameter with a specified value. The parameter has to implement IOwnerState.
Public classRuntime Describes a runtime import declared by an add-in.
Public classServiceDoozer Registers a service in a service container.
Public classStaticDoozer Retrieves an object instance by accessing a static field or property via System.Reflection.
Public classStringDoozer Creates a string.
Public classToolbarItemDescriptor Represents a toolbar item. These objects are created by the ToolbarItemDoozer and then converted into GUI-toolkit-specific objects by the ToolbarService.
Public classToolbarItemDoozer Creates tool bar items from a location in the addin tree.
Public classTreePathNotFoundException Is thrown when the AddInTree could not find the requested path.
Interfaces
 InterfaceDescription
Public interfaceIAddInTree Represents the add-in tree that stores codons, doozers, and condition evaluators.
Public interfaceIBuildItemsModifier 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.
Public interfaceICheckableMenuCommand Represents a menu command that can expose a checked state.
Public interfaceICondition Represents a single condition or a complex condition.
Public interfaceIConditionEvaluator Interface for classes that can evaluate conditions defined in the addin tree.
Public interfaceIDoozer Interface for classes that can build objects out of codons.
Public interfaceIMenuItemBuilder Used to include a dynamically built list of menu items.
Public interfaceIOwnerState Provides access to an owner's internal state for condition evaluation.
Public interfaceISubmenuBuilder Obsolete compatibility alias for IMenuItemBuilder.
Obsolete
Enumerations
 EnumerationDescription
Public enumerationAddInAction Specifies the action to be taken for a specific AddIn.
Public enumerationConditionFailedAction Default actions when a condition fails.