Property | Type | Description | |
---|---|---|---|
m_allowPopupToBeCanceled | bool | ||
m_allowUndocking | bool | ||
m_allowuUpdates | bool | ||
m_appsRegKeyPath | |||
m_appsRegKeyPath | string | ||
m_barLocations | Point>.Dictionary | ||
m_barReadFromSettingFile | bool | ||
m_bars | ToolStrip>.Dictionary | ||
m_commandInfo | CommandInfo>.Dictionary | ||
m_contextMenus | ContextMenuStrip>.Dictionary | ||
m_customizeMenuShowing | bool | ||
m_displayedBars | bool>.Dictionary | ||
m_hiddenSeparators | ToolStripSeparator>.Dictionary | ||
m_htBarLocations | |||
m_htCommandInfo | |||
m_htControls | |||
m_htFormTypeCommands | |||
m_htImages | |||
m_htItemTags | |||
m_htSettingsFileLoaded | |||
m_htSystemStringIds | |||
m_htWndListIndices | |||
m_images | Image>.Dictionary | ||
m_itemUpdateTime | System.DateTime | ||
m_menuBar | |||
m_menuCurrentlyPoppedUp | DevComponents.DotNetBar.ButtonItem | ||
m_menuCurrentlyPoppedUp | |||
m_menusWithShortcuts | |||
m_menusWithShortcuts | |||
m_moreWindowItem | DevComponents.DotNetBar.ButtonItem | ||
m_moreWindowItem | |||
m_msgMediator | XCore.Mediator | ||
m_parentForm | |||
m_readingContextMenuDef | bool | ||
m_rmlocalMngmntStrings | |||
m_rmlocalStrings | |||
m_rmlocalStrings | List |
||
m_separators | ToolStripSeparator>.Dictionary | ||
m_settingFiles | string[] | ||
m_settingsFilePrefix | string | ||
m_tmItems | ToolStripItem>.Dictionary | ||
m_toolBarMenuMap | ToolStrip>.Dictionary | ||
m_toolbarCustomizeItem | DevComponents.DotNetBar.ButtonItem | ||
m_toolbarListItem | DevComponents.DotNetBar.ButtonItem | ||
m_toolbarListItem | |||
m_tsContainer | |||
m_tsPanel | |||
m_windowListItem | DevComponents.DotNetBar.ButtonItem | ||
m_windowListItem | |||
m_windowListItemClicked | |||
m_xmlReader |
Method | Description | |
---|---|---|
AddContextMenuItem ( SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps, string contextMenuName, string insertBeforeItem ) : void |
Adds a new menu item to a context menu specified by contextMenuName and inserts it before the item specified by insertBeforeItem. If insertBeforeItem is null, then the new menu item is added to the end of parentItemName's menu collection.
|
|
AddContextMenuItem ( SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps, string contextMenuName, string parentMenuName, string insertBeforeItem ) : void |
Adds a new menu item to a context menu specified by contextMenuName and inserts it before the item specified by insertBeforeItem. If insertBeforeItem is null, then the new menu item is added to the end of parentItemName's menu collection. This overload allows new menu items to be added as submenus to menus at the top level of the context menu. The parentMenuName can be the name of a menu item at any level within the hierarchy of the menus on the context menu.
|
|
AddMenuItem ( SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps, string parentItemName, string insertBeforeItem ) : void |
Adds a new submenu item to the menu specified by parentItemName and inserts it before the item specified by insertBeforeItem. If insertBeforeItem is null, then the new submenu item is added to the end of parentItemName's menu collection.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
GetBarItemControl ( string name ) : |
Gets the control contained within a control container toolbar item.
|
|
GetBarProperties ( string name ) : SIL.FieldWorks.Common.UIAdapters.TMBarProperties |
Gets the properties of a toolbar.
|
|
GetItemProperties ( string name ) : SIL.FieldWorks.Common.UIAdapters.TMItemProperties |
Loads a TMItemProperties object with several properties from a toolbar item.
|
|
HideBarItemsPopup ( string name ) : void |
Allows an application to force the hiding of a toolbar item's popup control.
|
|
HideToolBar ( string name ) : void |
Allows an application to hide a toolbar.
|
|
Initialize ( |
|
|
Initialize ( |
|
|
Initialize ( |
|
|
Initialize ( |
|
|
IsShortcutKey ( Keys key, bool &isItemEnabled ) : bool |
Determines whether the specified Keys is a shortcut for a toolbar or menu item.
|
|
PopupMenu ( string name, int x, int y ) : void |
Pops-up a menu so it shows like a context menu. If the item doesn't have any sub items, then this command is ignored.
|
|
PopupMenu ( string name, int x, int y, List |
Pops-up a menu so it shows like a context menu. If the item doesn't have any sub items, then this command is ignored.
|
|
RemoveMenuItem ( string parentItemName, string name ) : void |
Removes the specified item from the specified parent menu. Removing submenu items on a menu, while leaving the parent menu intact has not been tested (and is not currently needed). |
|
RemoveMenuSubItems ( string parentItemName ) : void |
Removes all the subitems of the specified menu.
|
|
SaveBarSettings ( ) : void |
Causes the adapter to save toolbar settings (e.g. user placement of toolbars).
|
|
SetBarProperties ( SIL.FieldWorks.Common.UIAdapters.TMBarProperties barProps ) : void |
Sets the properties of the main menu bar. object.
|
|
SetBarProperties ( string name, SIL.FieldWorks.Common.UIAdapters.TMBarProperties barProps ) : void |
Sets properties for a menu bar or toolbar.
|
|
SetContextMenuForControl ( |
Sets the context menu for a specified control.
|
|
SetItemProperties ( string name, SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps ) : void |
Sets some of a toolbar item's properties. Note: if the Update property in the TMItemProperties object hasn't been set to true, no updating will occur.
|
|
SetParentForm ( |
Sets the adapter's parent form. This will not cause docking sites to be added to the form and DotNetBar manager. This solves TE-6793
|
|
ShowCustomizeDialog ( ) : void |
Causes the adapter to show it's dialog for customizing toolbars.
|
|
ShowToolBar ( string name ) : void |
Allows an application to show a toolbar.
|
Method | Description | |
---|---|---|
CallItemUpdateHandler ( DevComponents.DotNetBar.BaseItem item ) : void |
This is a helper method for the HandleMenuPopups and HandleItemUpdates methods. It accepts a single DNB item and calls it's update handler, if there is one.
|
|
CallItemUpdateHandler ( |
This is a helper method for the HandleMenuOpening and HandleItemUpdates methods. It calls the update handler for the specified ToolStripItem item.
|
|
CallUpdateHandlersForCollection ( |
Calls the update handlers for collection.
|
|
Dispose ( bool fDisposing ) : void | ||
GetAssembly ( string assemblyName ) : |
Loads a named assembly.
|
|
GetAttributeValue ( |
Gets an attribute's value from the specified node.
|
|
GetBoolFromAttribute ( |
|
|
GetBoolFromAttribute ( |
|
|
GetIntFromAttribute ( |
|
|
GetItemsCommandMessage ( DevComponents.DotNetBar.BaseItem item ) : string |
Gets an item's command handling message from the appropriate hash table entry.
|
|
GetItemsCommandMessage ( |
Gets an item's command handling message from the appropriate hash table entry.
|
|
GetResourceMngr ( |
|
|
GetStringFromResource ( string kstid ) : string |
|
|
GetToolbarItem ( |
Gets a toolbar item with the specified name. If the item exists, then return the one found in the DNB manager. Otherwise, create a new one.
|
|
GetToolbarItem ( |
Gets a toolbar item with the specified name. If the item exists, return it. Otherwise, create a new one.
|
|
GetWindowIndex ( DevComponents.DotNetBar.ButtonItem item, SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps ) : void |
|
|
GetWindowIndex ( |
|
|
HandleBuildingWindowList ( object sender, CancelEventArgs e ) : void |
Handles the building window list.
|
|
HandleMessageMediatorDisposed ( object sender, |
Handles the Disposed event of the m_msgMediator control.
|
|
HandleToolBarItemDropDownClosed ( object sender, |
Send a message to anyone who cares that the drop down is closing.
|
|
ReadCommands ( |
Reads the commands section of a definition file.
|
|
ReadOverJunk ( |
Skips over white space and any other junk that's not considered an element or end element.
|
|
ReadSingleItem ( |
Read the information for a single menu item from the specified node.
|
|
ReadSingleItem ( |
Read the information for a single menu item from the specified node.
|
|
m_parentForm_Shown ( object sender, |
Locate the toolbars when their parent form is shown.
|
Method | Description | |
---|---|---|
AddMenuItem ( DevComponents.DotNetBar.ButtonItem item, string refItemName ) : void |
Finds the item specified by refItemName and Adds the specified item to the ref. item's collection of sub items.
|
|
AddMenuItem ( |
Finds the item specified by refItemName and Adds the specified item to the ref. item's collection of sub items.
|
|
AddToCustomizationCollection ( |
At this point, the item passed to this method has not been added to any toolbar or menu. Before doing so, we need to add it to the DNB Manager because that internally (to the DNB manager) assigns the item to its category and makes it available for customization purposes through DNB's customize dialog. But, only add an item if there is a category for the item and if the item is not a ControlContainerItem. We don't allow ControlContainerItems because it appears DotNetBar's customize dialog doesn't allow dragging new copies of ControlContainerItems to user-defined toolbars. And if they don't allow that, I don't want them in the list appearing like they should be able to be dragged to new toolbars. This means a DotNetBar manager may only have one (visible - See comments in HandleControlContainerLoadRequests) instance of application-defined toolbar items.
|
|
AllowAppsToIntializeComboItems ( ) : void |
This method gets the combobox items and fires the InitializeComboItem event in case the application wants to initialize the combo box.
|
|
BarFromSettingFile ( string barName ) : Bar |
If the toolbar has a settings file (i.e. a file that was saved when the application was last closed) then restore the toolbar from it.
|
|
BuildToolbarList ( ) : void |
Initialize list of available toolbars.
|
|
BuildWindowList ( ) : void |
|
|
CancelMenuOpen ( ) : bool |
Determines whether or not a menu should be allowed to be popped-up (See TE-6553).
|
|
CancelMenuPopup ( ) : bool |
Determines whether or not a menu should be allowed to be popped-up (See TE-6553).
|
|
CheckAssemblyVersion ( ) : void |
Checks if the current adapter assembly version has changed since the last time the application was run.
|
|
CheckDefinitionDates ( string definitions ) : void |
This method checks the date and time of the TM definition files to see if they are newer than they were the last time the application was run. If one or more of them are newer, then all the toolbar settings files written by DotNetBar are deleted so the toolbars will be completely reconstructed from the TM definition files.
|
|
ClearWindowListFromWindowMenu ( |
Clear out the window list after it's parent closes.
|
|
CompareBarProps ( SIL.FieldWorks.Common.UIAdapters.TMBarProperties x, SIL.FieldWorks.Common.UIAdapters.TMBarProperties y ) : int |
|
|
CreateDropDownToolBarItem ( |
Creates one of three different types of drop-down toolbar items.
|
|
CreateNormalToolBarItem ( |
Creates a normal (in the sense that it's not a combo box, custom control, drop-down item, etc.) toolbar item.
|
|
DeleteSettingsFiles ( ) : void |
Deletes the toolbar settings files created by DotNetBar in the SaveSettings method.
|
|
DisposeCollection ( IEnumerable enumerable ) : void | ||
FindSubMenu ( DevComponents.DotNetBar.ButtonItem parentMenu, string menuToFind ) : DevComponents.DotNetBar.ButtonItem |
Search recursively through the a menu and any submenus for the specified menu name.
|
|
FormatDateTime ( System.DateTime dt ) : string |
Format a date/time in our custom format
|
|
GetCommandInfo ( DevComponents.DotNetBar.BaseItem item ) : |
|
|
GetCommandInfo ( |
|
|
GetCustomControlHost ( string name, string commandId ) : |
Gets a custom control and return it in a returned ToolStripControlHost.
|
|
GetFileDateTime ( string fileName ) : System.DateTime |
Get the date/time for a file in UTC. We do this to get the date/time in a consistent format without milliseconds.
|
|
GetImageListFromResourceAssembly ( string assemblyName, string className, string field ) : |
|
|
GetItemProps ( DevComponents.DotNetBar.BaseItem item ) : SIL.FieldWorks.Common.UIAdapters.TMItemProperties |
Loads a TMItemProperties object with several properties from a toolbar item.
|
|
GetItemProps ( |
Loads a TMItemProperties object with several properties from a toolbar item.
|
|
GetSettingFilesPrefix ( string definitions ) : void |
Examines the XML definition files to find which one (if any) have the prefix used for storing toolbar settings.
|
|
GetToolBarItemDisplayStyle ( |
Returns a display style read from a toolbar item node.
|
|
HandleControlContainerLoadRequests ( object sender, |
This method gets called by the DotNetBar manager when it needs a control to load into a ControlContainerItem. The adapter then, fires the LoadControlContainerItem event to allow applications to give the adapter an application-defined control.
|
|
HandleCustomizeMenuPopup ( object sender, |
This method gets called whenever a customize menu (i.e. the menu that pops-up when clicking or hovering over the "Add or Remove Buttons" item) opens or closes. When the menu opens, a flag is set so item updates are not performed (in the HandleItemUpdates method). I found that when the menu popped-up and HandleItemUpdates iterated through the items, sometimes the iterating through the items seemed to grab some of the items on the customize menu. Iterating through the items the way I did in HandleItemUpdates should never have returned items that show up on the customize menu, but it happened and I think there's a DNB bug. This works around it.
|
|
HandleGettingLocalizedString ( object sender, DevComponents.DotNetBar.LocalizeEventArgs e ) : void |
This gets called when the DotNetBar requests a localized version of a string for displaying in places like the dialog that lets the user configure toolbars (e.g. show/hide toolbars, add new ones, etc.).
|
|
HandleItemClicks ( object sender, |
This method handles clicks on toolbar/menu items.
|
|
HandleItemUpdates ( object sender, |
While the system is idle (or about to become so), this method will go through all the toolbar items and make sure they are enabled properly for the current view. Then it will go through the menu items with shortcuts to make sure they're enabled properly. (This is only done every 0.75 seconds.)
|
|
HandleItemsPopup ( object sender, |
Handles clicks on the drop-down portion of a popup button (i.e. a click on the arrow portion of a two-segmented toolbar button).
|
|
HandleMenuClosed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void |
Handles the restoring visibility of ToolStripSeparators hidden in HideInitialSeparators.
|
|
HandleMenuOpened ( object sender, |
When a menu item is popped-up, then cycle through the subitems and call update handlers.
|
|
HandleMenuOpening ( object sender, CancelEventArgs e ) : void |
Determines whether or not a menu should be allowed to be popped-up (See TE-6553).
|
|
HandleMenuPopupClose ( object sender, |
When a popup menu is closed, begin showing tooltips again. Also, if there were items to remove from the menu, remove them from the menu.
|
|
HandleMenuPopups ( object sender, DevComponents.DotNetBar.PopupOpenEventArgs e ) : void |
When a menu item is popped-up, then cycle through the subitems and call update handlers.
|
|
HandleToolBarItemDropDownOpened ( object sender, |
Handles clicks on the drop-down portion of a popup button (i.e. a click on the arrow portion of a two-segmented toolbar button).
|
|
HandleToolBarItemUpdates ( object sender, |
While the system is idle (or about to become so), this method will go through all the toolbar items and make sure they are enabled properly for the current view. Then it will go through the menu items with shortcuts to make sure they're enabled properly. (This is only done every 0.75 seconds.)
|
|
HandleToolBarListMenuClosing ( object sender, |
Trap this event so we can clear the toolbar list item when it closes.
|
|
HandleUserCustomize ( object sender, |
This catches all item customize events and only cares about the ones where the user is adding custom toolbars. By default, when adding custom toolbars, the DotNetBar manager makes them floating and puts them in the upper left corner of the screen. I thought that was not very user friendly so I trap the addition of new toolbars and dock them to the top of the application window.
|
|
HandleWindowMenuClosing ( object sender, |
Clear out the window list after it's parent closes.
|
|
HideInitialSeparators ( |
Goes through the collection of ToolStripItems in the specified drop-down and hides the first visible item if it's a ToolStripSeparator. If the second (or beyond) item is also visible and a ToolStripSeparator, then it/they won't be hidden. We have our limits. If that becomes a problem, then ENHANCE: to cover that problem.
|
|
InitDNBManager ( |
Creates a DotNetBar manager.
|
|
InitItem ( |
This method initializes a toolbar or menu item's properties.
|
|
InitItem ( |
This method initializes a toolbar or menu item's properties.
|
|
InitToolStripContainer ( |
Creates a ToolStripContainer control.
|
|
InitialBarPropsComparer ( InitialBarProps x, InitialBarProps y ) : int |
Compares the locations and visibility of two toolstrip objects.
|
|
InitializeCustomizeItemPopupHandlers ( ) : void |
This method gets the customize items for all the toolbars and subscribes to the ExpandChange event so we know when customize menus open and close.
|
|
InsertMenuItem ( DevComponents.DotNetBar.ButtonItem item, string refItemName, bool cancelBeginGroup ) : void |
Finds the item specified by refItemName and inserts the specified item before it in the collection to which refItemName belongs.
|
|
InsertMenuItem ( |
Finds the item specified by refItemName and inserts the specified item before it in the collection to which refItemName belongs.
|
|
LoadBarSettings ( ) : bool |
Load tool bar settings from the registry, if available.
|
|
LoadCustomBarsFromSettings ( ) : void |
|
|
LoadDefaultToolbarLayout ( ) : void |
Positions the toolbars to the positions specified in the xml deffinition file. This method only gets called when tool bar locations and visibilities cannot be found in the registry.
|
|
MakeNewBar ( |
Make a new toolbar and initialize it based on what's in the XML definition.
|
|
MakeNewBar ( |
Make a new toolbar and initialize it based on what's in the XML definition.
|
|
ParseDateTime ( string dateString ) : System.DateTime |
Parse our custom date/time string. If the string is not valid, then return an empty date/time
|
|
ParseShortcutKeyString ( string shortcut ) : Keys |
Parses the specified shortcut key string.
|
|
PositionToolbars ( ) : void |
Positions the toolbars to the positions specified in the xml deffinition file.
|
|
ReadContextMenus ( |
Builds all context menus, adding them to the DNB manager's list of context menus.
|
|
ReadImagesResources ( |
Get the images from the resource specified in the XML definition.
|
|
ReadMenuDefinitions ( string definitions ) : void |
|
|
ReadMenuItems ( |
Recursively builds menus.
|
|
ReadResourcesAndCommands ( string definitions ) : void |
|
|
ReadSingleToolbarDef ( |
|
|
ReadSystemStringIds ( ) : void |
Reads the strings to localize what DotNetBar uses internally (e.g. on their customize toolbar dialog).
|
|
ReadToolbarDefinitions ( string definitions ) : void |
Iterates through the toolbar definitions to read the XML.
|
|
ReadToolbarItems ( |
|
|
RemoveContextMenuItems ( |
Remove a list of context menu sub items found in the tag property of the specified context menu.
|
|
SetBarProperties ( Bar bar, SIL.FieldWorks.Common.UIAdapters.TMBarProperties barProps ) : void |
Sets properties for a menu bar or toolbar.
|
|
SetBarProperties ( |
Sets properties for a menu bar or toolbar.
|
|
SetButtonItemSpecificProperties ( DevComponents.DotNetBar.ButtonItem item, SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps ) : void |
Sets the properties for a ButtonItem type toolbar button.
|
|
SetComboItemSpecificProperties ( DevComponents.DotNetBar.ComboBoxItem item, SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps ) : void |
Sets the items in the Items collection for a ComboBoxItem type toolbar item.
|
|
SetComboItemSpecificProperties ( |
Sets the items in the Items collection for a ComboBoxItem type toolbar item.
|
|
SetItemProps ( DevComponents.DotNetBar.BaseItem item, SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps ) : void |
Sets some of a menu/toolbar item's properties. Note: if the Update property in the TMItemProperties object hasn't been set to true, no updating will occur. Items that can be set are: Text, Category, Tooltip, Enabled, Visible, BeginGroup, Checked, Image, List, Tag, and CommandId;
|
|
SetItemProps ( |
Sets some of a menu/toolbar item's properties. Note: if the Update property in the TMItemProperties object hasn't been set to true, no updating will occur. Items that can be set are: Text, Category, Tooltip, Enabled, Visible, BeginGroup, Checked, Image, List, Tag, and CommandId;
|
|
SetupDocSite ( DockStyle dockStyle ) : DevComponents.DotNetBar.DockSite |
Creates a DotNetBar docking site for a DotNetBar toolbar.
|
public AddContextMenuItem ( SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps, string contextMenuName, string insertBeforeItem ) : void | ||
itemProps | SIL.FieldWorks.Common.UIAdapters.TMItemProperties | Properties of the new menu item. |
contextMenuName | string | Name of the context menu to which the item is added. /// |
insertBeforeItem | string | Name of the context menu item before which the new /// menu item will be added. |
return | void |
public AddContextMenuItem ( SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps, string contextMenuName, string parentMenuName, string insertBeforeItem ) : void | ||
itemProps | SIL.FieldWorks.Common.UIAdapters.TMItemProperties | Properties of the new menu item. |
contextMenuName | string | Name of the context menu to which the item is added. /// |
parentMenuName | string | Name of the menu item in the context menu under which /// the new item is added. |
insertBeforeItem | string | Name of the context menu item before which the new /// menu item will be added. |
return | void |
public AddMenuItem ( SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps, string parentItemName, string insertBeforeItem ) : void | ||
itemProps | SIL.FieldWorks.Common.UIAdapters.TMItemProperties | Properties of the new menu item. |
parentItemName | string | Name of the menu item that will be added to. |
insertBeforeItem | string | Name of the submenu item before which the new /// menu item will be added. |
return | void |
protected CallItemUpdateHandler ( DevComponents.DotNetBar.BaseItem item ) : void | ||
item | DevComponents.DotNetBar.BaseItem | |
return | void |
protected CallItemUpdateHandler ( |
||
item | ||
return | void |
protected CallUpdateHandlersForCollection ( |
||
collection | The collection. | |
return | void |
protected GetAssembly ( string assemblyName ) : |
||
assemblyName | string | |
return |
protected GetAttributeValue ( |
||
node | ||
attribute | string | |
return | string |
public GetBarItemControl ( string name ) : |
||
name | string | Name of the control container item. |
return |
public GetBarProperties ( string name ) : SIL.FieldWorks.Common.UIAdapters.TMBarProperties | ||
name | string | Name of the toolbar whose properties are being requested. /// |
return | SIL.FieldWorks.Common.UIAdapters.TMBarProperties |
protected GetBoolFromAttribute ( |
||
node | ||
attribute | string | |
return | bool |
protected GetBoolFromAttribute ( |
||
node | ||
attribute | string | |
defaultValue | bool | |
return | bool |
protected GetIntFromAttribute ( |
||
node | ||
attribute | string | |
defaultValue | int | |
return | int |
public GetItemProperties ( string name ) : SIL.FieldWorks.Common.UIAdapters.TMItemProperties | ||
name | string | The Name of the item whose properties are being stored. |
return | SIL.FieldWorks.Common.UIAdapters.TMItemProperties |
protected GetItemsCommandMessage ( DevComponents.DotNetBar.BaseItem item ) : string | ||
item | DevComponents.DotNetBar.BaseItem | |
return | string |
protected GetItemsCommandMessage ( |
||
item | ||
return | string |
protected GetResourceMngr ( |
||
node | ||
return |
protected GetStringFromResource ( string kstid ) : string | ||
kstid | string | |
return | string |
protected GetToolbarItem ( |
||
node | ||
name | string | |
return | DevComponents.DotNetBar.BaseItem |
protected GetToolbarItem ( |
||
node | ||
name | string | |
return |
protected GetWindowIndex ( DevComponents.DotNetBar.ButtonItem item, SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps ) : void | ||
item | DevComponents.DotNetBar.ButtonItem | |
itemProps | SIL.FieldWorks.Common.UIAdapters.TMItemProperties | |
return | void |
protected GetWindowIndex ( |
||
item | ||
itemProps | SIL.FieldWorks.Common.UIAdapters.TMItemProperties | |
return | void |
protected HandleBuildingWindowList ( object sender, CancelEventArgs e ) : void | ||
sender | object | |
e | CancelEventArgs | |
return | void |
protected HandleMessageMediatorDisposed ( object sender, |
||
sender | object | |
e | ||
return | void |
protected HandleToolBarItemDropDownClosed ( object sender, |
||
sender | object | |
e | ||
return | void |
public HideBarItemsPopup ( string name ) : void | ||
name | string | Name of item whose popup should be hidden. |
return | void |
public HideToolBar ( string name ) : void | ||
name | string | Name of toolbar to hide. |
return | void |
public Initialize ( |
||
parentForm | ||
contentControl | ||
msgMediator | XCore.Mediator | |
definitions | string | |
return | void |
public Initialize ( |
||
parentForm | ||
contentControl | ||
msgMediator | XCore.Mediator | |
appsRegKeyPath | string | Registry key path (under HKCU) where application's /// settings are stored (default is "Software\SIL\FieldWorks"). |
definitions | string | |
return | void |
public Initialize ( |
||
parentForm | ||
msgMediator | XCore.Mediator | |
definitions | string | |
return | void |
public Initialize ( |
||
parentForm | ||
msgMediator | XCore.Mediator | |
appsRegKeyPath | string | Registry key path (under HKCU) where application's /// settings are stored (default is "Software\SIL\FieldWorks"). |
definitions | string | |
return | void |
public IsShortcutKey ( Keys key, bool &isItemEnabled ) : bool | ||
key | Keys | The key. |
isItemEnabled | bool | |
return | bool |
public PopupMenu ( string name, int x, int y ) : void | ||
name | string | The name of the item to popup. The name could be the name of /// a menu off the application's menu bar, or one of the context menu's added to the /// menu adapter. |
x | int | The X location (on the screen) where the menu is popped-up. |
y | int | The Y location (on the screen) where the menu is popped-up. |
return | void |
public PopupMenu ( string name, int x, int y, List |
||
name | string | The name of the item to popup. The name could be the name of /// a menu off the application's menu bar, or one of the context menu's added to the /// menu adapter. |
x | int | The X location (on the screen) where the menu is popped-up. |
y | int | The Y location (on the screen) where the menu is popped-up. |
subItemsToRemoveOnClose | List |
|
return | void |
protected ReadCommands ( |
||
node | ||
return | void |
protected ReadOverJunk ( |
||
node | ||
return |
protected ReadSingleItem ( |
||
node | ||
isMenuItem | bool | |
return | DevComponents.DotNetBar.BaseItem |
protected ReadSingleItem ( |
||
node | ||
isMenuItem | bool | |
return |
public RemoveMenuItem ( string parentItemName, string name ) : void | ||
parentItemName | string | The name of the item whose subitem will be removed. /// |
name | string | subitem to remove from parent menu. |
return | void |
public RemoveMenuSubItems ( string parentItemName ) : void | ||
parentItemName | string | The name of the item whose subitems will be removed. /// |
return | void |
public SetBarProperties ( SIL.FieldWorks.Common.UIAdapters.TMBarProperties barProps ) : void | ||
barProps | SIL.FieldWorks.Common.UIAdapters.TMBarProperties | Properties used to modfy the toolbar item. |
return | void |
public SetBarProperties ( string name, SIL.FieldWorks.Common.UIAdapters.TMBarProperties barProps ) : void | ||
name | string | Name of bar to update. |
barProps | SIL.FieldWorks.Common.UIAdapters.TMBarProperties | New properties of bar. |
return | void |
public SetContextMenuForControl ( |
||
ctrl | Control which is being assigned a context menu. | |
name | string | The name of the context menu to assign to the control. |
return | void |
public SetItemProperties ( string name, SIL.FieldWorks.Common.UIAdapters.TMItemProperties itemProps ) : void | ||
name | string | Name of item whose properties are being updated. |
itemProps | SIL.FieldWorks.Common.UIAdapters.TMItemProperties | The TMItemProperties containing the new property /// values for the toolbar item. |
return | void |
public SetParentForm ( |
||
newForm | The new parent form. | |
return |
public ShowToolBar ( string name ) : void | ||
name | string | Name of toolbar to show. |
return | void |
protected m_parentForm_Shown ( object sender, |
||
sender | object | |
e | ||
return | void |
protected RegistryKey,Microsoft.Win32 m_appsRegKeyPath | ||
return |
protected Dictionary |
||
return | CommandInfo>.Dictionary |
protected Dictionary |
||
return | ContextMenuStrip>.Dictionary |
protected Dictionary |
||
return | ToolStripSeparator>.Dictionary |
protected Hashtable,System.Collections m_htBarLocations | ||
return |
protected Hashtable,System.Collections m_htCommandInfo | ||
return |
protected Hashtable,System.Collections m_htControls | ||
return |
protected static Hashtable,System.Collections m_htFormTypeCommands | ||
return |
protected Hashtable,System.Collections m_htImages | ||
return |
protected Hashtable,System.Collections m_htItemTags | ||
return |
protected Hashtable,System.Collections m_htSettingsFileLoaded | ||
return |
protected Hashtable,System.Collections m_htSystemStringIds | ||
return |
protected Hashtable,System.Collections m_htWndListIndices | ||
return |
protected DateTime,System m_itemUpdateTime | ||
return | System.DateTime |
protected MenuStrip,System.Windows.Forms m_menuBar | ||
return |
protected ButtonItem,DevComponents.DotNetBar m_menuCurrentlyPoppedUp | ||
return | DevComponents.DotNetBar.ButtonItem |
protected ContextMenuStrip,System.Windows.Forms m_menuCurrentlyPoppedUp | ||
return |
protected ArrayList,System.Collections m_menusWithShortcuts | ||
return |
protected ToolStripItemCollection,System.Windows.Forms m_menusWithShortcuts | ||
return |
protected ButtonItem,DevComponents.DotNetBar m_moreWindowItem | ||
return | DevComponents.DotNetBar.ButtonItem |
protected ToolStripMenuItem,System.Windows.Forms m_moreWindowItem | ||
return |
protected Form,System.Windows.Forms m_parentForm | ||
return |
protected ResourceManager,System.Resources m_rmlocalMngmntStrings | ||
return |
protected ArrayList,System.Collections m_rmlocalStrings | ||
return |
protected Dictionary |
||
return | ToolStripSeparator>.Dictionary |
protected Dictionary |
||
return | ToolStrip>.Dictionary |
protected ButtonItem,DevComponents.DotNetBar m_toolbarCustomizeItem | ||
return | DevComponents.DotNetBar.ButtonItem |
protected ButtonItem,DevComponents.DotNetBar m_toolbarListItem | ||
return | DevComponents.DotNetBar.ButtonItem |
protected ToolStripMenuItem,System.Windows.Forms m_toolbarListItem | ||
return |
protected ToolStripContainer,System.Windows.Forms m_tsContainer | ||
return |
protected ToolStripPanel,System.Windows.Forms m_tsPanel | ||
return |
protected ButtonItem,DevComponents.DotNetBar m_windowListItem | ||
return | DevComponents.DotNetBar.ButtonItem |
protected ToolStripMenuItem,System.Windows.Forms m_windowListItem | ||
return |
protected ToolStripMenuItem,System.Windows.Forms m_windowListItemClicked | ||
return |