CADability dotNET
The SingleDocumentFrame type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SingleDocumentFrame()()()() |
Creates a new and empty SingleDocumentFrame
| |
SingleDocumentFrame(Boolean) |
Creates a new and empty SingleDocumentFrame
|
Methods
Name | Description | |
---|---|---|
AddView | ||
AssureModelView | ||
ClearSymbols |
Obsolete, use SymbolMainProperty instead.
| |
Finalize | (Overrides Object..::..Finalize()()()().) | |
FocusChanged | ||
GenerateNewProject |
Generates a new project, saves the current project if necessary and sets the
new project as the current project.
| |
GetActivePropertyDisplay | ||
GetBooleanSetting | ||
GetColorSetting | ||
GetDoubleSetting | ||
GetIntSetting | ||
GetPropertyDisplay | ||
GetSetting | ||
GetStringSetting | ||
OnSnapCenter | ||
OnSnapDropPoint | ||
OnSnapGrid | ||
OnSnapIntersections | ||
OnSnapObjectPoint | ||
OnSnapOrtho | ||
OnSnapSnapPoint | ||
OnSnapSurface | ||
OnSnapTangentPoint | ||
OpenFile | ||
ReadFile | ||
RemoveActiveAction |
Implements RemoveActiveAction()()()().
| |
RemoveView | ||
RestoreToolbarPosition |
Restors the positions of the toolbars. This method adds the toolbars to their continers.
| |
SaveModifiedProject |
Call this method before closing the form that contains this SingleDocumenFrame.
If the project has been modified, there will be a prompt to save the modified project.
| |
SaveToolbarPosition |
Saves the position of the given MoveableToolBar objects in the ToolBarDockContainer.
The information is stored in the GlobalSettings object.
Call this method when the application is closing (e.g. when the form is disposing). To restore
the information call RestoreToolbarPosition(array<ToolBarDockContainer>[]()[][], array<MoveableToolBar>[]()[][]).
| |
SetAction |
Implements SetAction(Action).
| |
SetControlCenterFocus | ||
SetCurrentMenuId | ||
SetParentForm | ||
SetProjectProperties |
Refreshes the properties in the treeview
| |
ShowPropertyDisplay | ||
ShutDown |
Get rid of a secondary process that might keep some objects alive.
You might use this to unload all CADability DLLs
| |
SplitViews(Boolean, array<IView>[]()[][]) | ||
SplitViews(Int32, Boolean) |
Select the number of views to be displayed in this frame.
|
Properties
Name | Description | |
---|---|---|
ActiveAction |
Implements ActiveAction.
| |
ActiveView | ||
AllDefinedViews | ||
AllModelViews | ||
AllViews |
Returns all currently visible views
| |
CommandHandler |
Returns the CommandHandler of this frame. All menu and toolbar commands
are routed through this command handler. If the tollbars and menus of CADability are used no action has to
be taken. If you use your own menues or toolbars call OnCommand(String) and
OnUpdateCommand(String, CommandState) for all commands concerning CADability.
| |
ContextMenuSource | ||
ControlCenter | ||
CurrentMenuId | ||
DesignMode | ||
DisplayArea | ||
GlobalSettings |
Gets or set the GlobalSettings object (Settings). The global settings
are saved in the file CADability.GlobalSettings.bin. If you set a different settings object
you are responsible for saving the content.
| |
InfoPopup | ||
Project |
Gets or sets the project handles in this farme
| |
SelectedObjects |
Implements SelectedObjects.
| |
ShowHelpControl |
Controls the visibility of the HelpControl in the ControlCenter.
| |
SnapMode | ||
SolidModellingMode | ||
SymbolMainProperty |
Provides access to the property page of the controlcenter that manages the available symbols.
|
Events
Name | Description | |
---|---|---|
FileNameChangedEvent | ||
FilterDragDrop | ||
FilterDragEnter | ||
FilterDragGetData | ||
FilterDragLeave | ||
FilterDragOver | ||
FilterKeyDown | ||
ProcessCommandEvent |
Provide a event handler if you want to be notified on command routed through this frame or to
execute command handlers for some routed commands-
| |
ProcessContextMenuEvent |
Provide a event handler if you want to be notified on contex menue commands routed through this frame or to
execute command handlers for some routed commands-
| |
ProjectClosedEvent |
Provide a event handler if you want to be notified when a project is beeing closed
| |
ProjectOpenedEvent |
Provide a event handler if you want to be notified when a project is opened.
| |
SettingChangedEvent | ||
UpdateCommandEvent |
Provide a event handler if you want to control the appearnce of commands in the menu or toolbar
(set the enabled and check flags).
| |
UpdateContextMenuEvent |
Provide a event handler if you want to control the appearance of commands in a context the menu
(set the enabled and check flags).
| |
ViewsChangedEvent |
Provide a event handler if you want to be notified when new views are created or views are closed.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICommandHandler..::..OnCommand | ||
ICommandHandler..::..OnUpdateCommand | ||
IFrame..::..PreProcessMouseWheel |