Extending NCvs

For understanding this document you should have read the program architecture documentation.

Defined Module

MenuItemModule

Attribute Description Notes
label The label of the menu item is required
description The description of the menu item in the status bar. currently not used
shortcut The shortcut of the menu item (see Windows.Forms.Shortcut class)  
icon The resource name of the icon to use for this menuitem.  

The MenuItemModule builds RichMenuItem objects.

DialogPanelModule

Attribute Description Notes
label The label of the dialog panel is required
class The class of the panel (must inherit from IDialogPanel) is required for DialogPanels

The DialogPanelModule builds IDialogPanelDescriptor objects.

Defined Paths

Path Module Type Description
/NCvs/Workspace/Autostart ClassModule These modules start, when the program loads. Note: StartWorkbenchCommand must be the last action. Always insert before this module.
/NCvs/Workspace/MainMenu MenuItemModule The main menu of the workspace window.
/NCvs/Workspace/Dialogs/OptionsDialog DialogPanelModule The dialog panels for the NCvs properties Dialog are defined here.
/NCvs/Workspace/Dialogs/ConnectDialog/ConnectionListContextMenu MenuItemModule The Context menu of the connection list in the connect dialog of the remote repository view.
/NCvs/Workspace/Dialogs/ConnectDialog/MainMenu MenuItemModule The Main Menu of the connect dialog.
/NCvs/Workspace/Views/RepositoryView/FileListContextMenu MenuItemModule The context menu of the listed file in a remote repository.
/NCvs/Workspace/Views/RepositoryView/ModuleTreeContextMenu MenuItemModule The context menu of the modules in the module tree of the remote view.
/NCvs/Workspace/Views/LocalView/FileListContextMenu MenuItemModule The context menu of the file view in the local files view.
/NCvs/Workspace/Views/LocalView/DirectoryTreeContextMenu MenuItemModule The context menu of the directory view in the local files view.
/NCvs/Workspace/Wizards/ImportLocalDirectoryWizard DialogPanelModule The panels for the import wizard.

Owner states:

The Connect Dialog of the remote view

Is defined in the NCvsRepositoryView.Dialogs.ConnectDialog and does have following owner states :

State Description
Normal Nothing is selected
ConnectionSelected A connection is currently selected

The file list of the local view

Is defined in the NCvsLocalView.View.FileList and does have following owner states :

State Description
Normal Nothing is selected
FileSelected A file is selected

The Directory tree of the local view

Is defined in the NCvsLocalView.View.DirectoryTree and does have following owner states :

State Description
Normal Nothing is selected
RepositorySelected A directory which is a local repository is selected
FolderSelected A folder is selected

Wizards:

The Import Wizard

The Import wizard does the same as the cvs import command.

Is Action is defined in the NCvsLocalView.Commands.ImportCommand class and does give a customizer object to it's dialog panels : A IProperty object which does have following properties :

Property Description
LocalDirectory Points to the local directory which should be imported.
RemoteModule The name of the module which will be imported on the remote host.
VendorTag The initial vendor tag.
ReleaseTag The initial release tag.
LogMessage The log message describing this inport.
CvsRoot The CVSROOT which will be connected.
ExternalShell The external shell which will be used for the ext protocol.

TODO for the import wizard: