PluginComponent Members (Windows Embedded CE 6.0)

1/5/2010

This is the base class that all plug-ins must be derived from.

The following tables list the members exposed by the PluginComponent type.

Public Constructors

  Name Description
PluginComponent Base constructor

Top

Public Properties

(see also Protected Properties )

  Name Description
Bb521935.pubproperty(en-US,WinEmbedded.60).gif AllowThisPluginToBeFound Set to TRUE if you wish this plug-in to be found via the FindPlugin method.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif CommandTransport The transport for CommandPacket objects between the desktop and the device.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif CommandUI Plugin-defined enhancements to the menu command UI.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif Connected TRUE if this Plugin is connected to a device, FALSE otherwise.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif ContainedInForm Indicates if this instance of the plug-in is contained in a Windows Form.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif ContainedInToolWindow Indicates if this instance of the plugin is contained in a Visual Studio Tool Window.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif Description Human readable description of the plug-in.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif DeviceConnection The device connection from the desktop to the device that this plug-in is building its CommandTransport on.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif DeviceDatabase Returns a description of this plug-in.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif DoesNotDeployDeviceComponent Set to TRUE in the constructor if this plug-in does not deploy anything to the device. Defaults to FALSE.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif GuidPackage The GUID of this plug-in.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif RequiresToolHelpDll Set to TRUE in the constructor if the device side application for this plug-in requires the ToolHelp DLL. Defaults to FALSE.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif RunningInShell Indicates if this instance of the plug-in is running under the Remote Tools Shell with a TreeView on the left and a view pane on the right.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif SettingsPath Returns the folder on the user's hard drive where settings information for this plug-in should be saved.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif ShowPacketSniffer Set to TRUE to display a packet sniffer window.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif Standalone Indicates if this instance of the plug-in is running as its own tool (i.e. the user double-clicked on the .cetool file) in its own separate executable.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif StandaloneDescription Text to use in the caption bar of the main window if this plug-in is loaded standalone (i.e. "Windows CE Remote Tool: My Plug-in"). Defaults to "Windows CE Unnamed Plug-in".
Bb521935.pubproperty(en-US,WinEmbedded.60).gif SupportsVirtualData Set to TRUE in the constructor if this plug-in can accept virtual data from a file (instead of from the device). If set to TRUE, the plug-in data items must override the AddDataItem method and handle the incoming data. Defaults to FALSE.
Bb521935.pubproperty(en-US,WinEmbedded.60).gif UsingVirtualData Indicates if this instance of the plug-in is connected to a live device, or if it is being used to view "virtual data" (loading from a file).

Top

Protected Properties

  Name Description
Bb521935.protproperty(en-US,WinEmbedded.60).gif InvokeRequired Returns TRUE if the caller of this property is not running on the primary UI thread.

Top

Public Methods

(see also Protected Methods )

  Name Description
Bb521935.pubmethod(en-US,WinEmbedded.60).gif AddData Call this method to add a data item to the list of data items for your plug-in.
Bb521935.pubmethod(en-US,WinEmbedded.60).gif AddNode Call this method to add a node to the list of nodes for your plug-in.
Bb521935.pubmethod(en-US,WinEmbedded.60).gif ConnectDevice Connects a device and deploys/executes all the currently loaded plug-ins to this device.
Bb521935.pubmethod(en-US,WinEmbedded.60).gif Equals  Overloaded. (inherited from Object )
Bb521935.pubmethod(en-US,WinEmbedded.60).gif FindPlugin Finds a Plug-in on a particular device. The plug-in will only be found if the plug-in P:Microsoft.RemoteToolSdk.PluginComponents.PluginComponent.AllowThisPluginToBeFound property was set to true, the plug-in is loaded and running at the time of this method call, and it is running on the device specified by the GUID of the device.
Bb521935.pubmethod(en-US,WinEmbedded.60).gif GetHashCode  (inherited from Object )
Bb521935.pubmethod(en-US,WinEmbedded.60).gif GetType  (inherited from Object )
Bb521935.pubmethod(en-US,WinEmbedded.60).gifBb521935.static(en-US,WinEmbedded.60).gif ReferenceEquals  (inherited from Object )
Bb521935.pubmethod(en-US,WinEmbedded.60).gif RefreshData Forces the plug-in to refresh all data from the device.
Bb521935.pubmethod(en-US,WinEmbedded.60).gif Save Saves the data for this plug-in to a file. The user is prompted for a filename.
Bb521935.pubmethod(en-US,WinEmbedded.60).gif ToString Overridden. Returns a description of this plug-in.

Top

Protected Methods

  Name Description
Bb521935.protmethod(en-US,WinEmbedded.60).gif Finalize  (inherited from Object )
Bb521935.protmethod(en-US,WinEmbedded.60).gif MemberwiseClone  (inherited from Object )
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnCommandPacketReceived Override this function if you want your plug-in to be informed when a CommandPacket has been pushed asynchronously from the device.
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnConnectionChanged Override this method to be notifed by the framework when a device connection changes.
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnGetAllDeviceData Gets all the data from the device.
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnInit Override this function to initialize the plug-in by creating the data objects/views and adding them to the data array, and creating the nodes to display in the Remote Tools Shell TreeView.
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnLeftClick Override this function if your plug-in needs to react to the user left-clicking on a node in the treeview control.
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnNodeSelected Override this method to react to the user selecting a node in the treeview.
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnNodeUnselected Override this method to be notifed when a node in the treeivew is losing selection. Called when a node loses selection.
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnRightClick Override this function if your plug-in wishes to react to the user right clicking on a node in the treeview control.
Bb521935.protmethod(en-US,WinEmbedded.60).gif OnStart This method is called after the OnInit method has been called, and the CommandTransport has been created.
Bb521935.protmethod(en-US,WinEmbedded.60).gif RunOnPrimaryThread Invokes the code defined by the delegate on the primary UI thread. If the current thread already is the Primary UI Thread, then the code will be run without calling Invoke.

Top

See Also

Reference

PluginComponent Class
Microsoft.RemoteToolSdk.PluginComponents Namespace