Represents an extension of plugin. This extension has exit and popout button, menus, etc.
More...
|
| ExtendedPlugin () |
| Constructor.
|
|
void | AddMenu (PluginMenu pluginMenu, string text) |
| Adds new menu to plugin.
|
|
void | AddMenu (int index, PluginMenu pluginMenu, string text) |
| Adds new menu to plugin.
|
|
override void | OnClosePlugin () |
| Runs when plugin closes.
|
|
override void | HideNavigation () |
| Hides the navigation buttons.
|
|
override void | ShowNavigation () |
| Shows the navigation buttons.
|
|
virtual void | Initialize (Ix4Trace.Engine.Controller controller, DesktopPluginManager pluginManager) |
| Initializes the plugin.
|
|
void | SetPluginToIControls () |
| Initializes the controls of plugin.
|
|
void | SetPluginToIControls (ControlCollection controlCollection) |
| Initializes the controls of plugin.
|
|
void | ShowMessage (string message) |
| Show message on plugin.
|
|
ProgressBar.ProgressBar | ShowProgressBar (string message, int max) |
| Shows the progress bar with text.
|
|
virtual void | SetParameters (object[] parameters) |
| Sets the parameters of the plugin.
|
|
virtual void | ExecuteMessages () |
| Executes messages in parameters.
|
|
virtual void | OnLoadPlugin () |
| Runs when plugin loads.
|
|
virtual void | OnAfterPluginShown () |
| Runs when plugin was shown.
|
|
virtual void | OnPluginInitialized () |
| Fires plugin initialised event.
|
|
virtual void | OnPluginLoaded () |
| Fires plugin loaded event.
|
|
virtual void | ClosePlugin () |
| Closes the plugin.
|
|
void | Invoke (Action method) |
| Invoke the method.
|
|
virtual void | SetToFront () |
| Sets the controls Z-index to front.
|
|
|
virtual void | Print () |
| Prints the content of plugin.
|
|
virtual void | Print (PrinterSettings settings) |
| Runs when print is started.
|
|
override void | Dispose (bool disposing) |
| Clean up any resources being used.
|
|
virtual void | Initialize () |
| Initializes the plugin.
|
|
virtual void | SetLanguage () |
| Sets the labguage of plugin.
|
|
void | SetLanguage (Control c) |
| Sets the language of controls.
|
|
void | ShowMessagesFromParameters (object[] parameters) |
| Shows messages when the parameters conains any messages.
|
|
void | CopyControlProperties (Control cOriginal, Control cCopy) |
| Copies the properties of the control.
|
|
|
System.Windows.Forms.TabControl | tcMenu |
|
WControls.Input.WButton | btExit |
|
WControls.Input.WButton | btPopOut |
|
FormStyle | formStyle |
| Style of from.
|
|
FormAdjustment | formAdjustment |
| Adjustment of form.
|
|
Ix4Trace.Engine.Controller | controller |
| The controller.
|
|
DesktopPluginManager | pluginManager |
| Desktop plugin manager.
|
|
string | pluginName = "" |
| Name of plugin.
|
|
string | pluginText = "" |
| Text of plugin.
|
|
string | pluginFolder = "" |
| Folder of plugin on main control.
|
|
string | backPageName = "" |
| Previous plugin name.
|
|
int | userRight = 0 |
| Right of user. Plugin will be listed whe the user has the right.
|
|
int | autoLoadRight = 0 |
| Plugin will be automatically loaded when the user has the right.
|
|
bool | isVisibleInMenu = true |
| Plugin is visible in the menu.
|
|
bool | isVisibleInTaskBar = true |
| Plugin is visible in the taskbar.
|
|
Image | treeViewImage |
| Image of plugin in the treeview.
|
|
Image | taskBarImage |
| Image of plugin in the taskbar.
|
|
Image | folderImage |
| Image of folder.
|
|
int | menuIndex = 0 |
| Index of the plugin in the treeview.
|
|
object[] | parameters |
| Current parameters of the plugin. Plugins get parameters when they shown.
|
|
|
Ix4Trace.GraphicsController.Controls.GraphicsController | GraphicsController [get, set] |
| The graphics corntroller of plugin.
|
|
Ix4Trace.Engine.Controller | Controller [get] |
| The controller.
|
|
string | PluginName [get] |
| Name of the plugin.
|
|
string | PluginFolder [get] |
| Folder of plugin on main control.
|
|
string | BackPageName [get, set] |
| Previous plugin name.
|
|
DesktopPluginManager | PageManager [get] |
| Desktop plugin manager.
|
|
string | PluginText [get] |
| Text of plugin.
|
|
int | UserRight [get] |
| Right of user. Plugin will be listed whe the user has the right.
|
|
bool | IsVisibleInMenu [get] |
| Plugin is visible in the menu.
|
|
bool | IsVisibleInTaskBar [get] |
| Plugin is visible in the taskbar.
|
|
Image | TreeViewImage [get, set] |
| Image of plugin in the treeview.
|
|
Image | TaskBarImage [get, set] |
| Image of plugin in the taskbar.
|
|
Image | FolderImage [get, set] |
| Image of folder.
|
|
int | MenuIndex [get] |
| Index of the plugin in the treeview.
|
|
FormStyle | FormStyle [get, set] |
| Style of from.
|
|
FormAdjustment | FormAdjustment [get, set] |
| Adjustment of form.
|
|
int | AutoLoadRight [get] |
| Plugin will be automatically loaded when the user has the right.
|
|
|
PluginClosed | PluginClosed = null |
| Event of plugin closed.
|
|
PluginInitialized | PluginInitialized = null |
| Event of plugin initialized.
|
|
PluginLoaded | PluginLoaded = null |
| Event of plugin loaded.
|
|
Represents an extension of plugin. This extension has exit and popout button, menus, etc.
◆ AddMenu() [1/2]
void Ix4Trace.Desktop.Plugins.ExtendedPlugin.AddMenu |
( |
int | index, |
|
|
PluginMenu | pluginMenu, |
|
|
string | text ) |
Adds new menu to plugin.
- Parameters
-
index | Index of menu. |
pluginMenu | The menu. |
text | Text of menu. |
◆ AddMenu() [2/2]
void Ix4Trace.Desktop.Plugins.ExtendedPlugin.AddMenu |
( |
PluginMenu | pluginMenu, |
|
|
string | text ) |
Adds new menu to plugin.
- Parameters
-
pluginMenu | The menu. |
text | Text of menu. |
◆ btExit_Click()
void Ix4Trace.Desktop.Plugins.ExtendedPlugin.btExit_Click |
( |
object | sender, |
|
|
EventArgs | e ) |
|
private |
Click of exit button.
- Parameters
-
sender | Sender button. |
e | Event arguments. |
◆ btPopOut_Click()
void Ix4Trace.Desktop.Plugins.ExtendedPlugin.btPopOut_Click |
( |
object | sender, |
|
|
EventArgs | e ) |
|
private |
Click of popout button.
- Parameters
-
sender | Sender button. |
e | Event arguments. |
◆ CopyControlProperties()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.CopyControlProperties |
( |
Control | cOriginal, |
|
|
Control | cCopy ) |
|
protectedinherited |
Copies the properties of the control.
- Parameters
-
cOriginal | Original control. |
cCopy | Copied control. |
◆ DesktopPlugin_ExceptionEVT()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.DesktopPlugin_ExceptionEVT |
( |
Exception | ex | ) |
|
|
privateinherited |
Exception was thrown on the plugin.
- Parameters
-
◆ DesktopPlugin_MouseDown()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.DesktopPlugin_MouseDown |
( |
object | sender, |
|
|
MouseEventArgs | e ) |
|
privateinherited |
Mouse down of plugin.
- Parameters
-
sender | The control. |
e | Event arguments. |
◆ Dispose()
override void Ix4Trace.Desktop.Plugins.ExtendedPlugin.Dispose |
( |
bool | disposing | ) |
|
|
protected |
Clean up any resources being used.
- Parameters
-
disposing | true if managed resources should be disposed; otherwise, false. |
◆ GraphicsController_CloseEvent()
Event of close request of graphics controller.
- Parameters
-
gc | The graphics controller. |
◆ GraphicsController_InvokeMethod()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.GraphicsController_InvokeMethod |
( |
Action | action | ) |
|
|
privateinherited |
Event of invoke request of graphics controller.
- Parameters
-
action | The action to invoke. |
◆ GraphicsController_ShowYesNoDialogEVT()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.GraphicsController_ShowYesNoDialogEVT |
( |
string | message, |
|
|
out bool | result ) |
|
privateinherited |
Event of yes no dialog request of graphics controller.
- Parameters
-
message | Message to show. |
result | Result of dialog. |
◆ HideNavigation()
override void Ix4Trace.Desktop.Plugins.ExtendedPlugin.HideNavigation |
( |
| ) |
|
|
virtual |
◆ Initialize()
Initializes the plugin.
- Parameters
-
controller | The controller. |
pluginManager | The plugin manager. |
◆ Invoke()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.Invoke |
( |
Action | method | ) |
|
|
inherited |
Invoke the method.
- Parameters
-
method | The method to invoke. |
◆ OnClosePlugin()
override void Ix4Trace.Desktop.Plugins.ExtendedPlugin.OnClosePlugin |
( |
| ) |
|
|
virtual |
◆ Print()
virtual void Ix4Trace.Desktop.Plugins.ExtendedPlugin.Print |
( |
PrinterSettings | settings | ) |
|
|
protectedvirtual |
Runs when print is started.
- Parameters
-
settings | Printer settings. |
◆ RunAction()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.RunAction |
( |
Action | method | ) |
|
|
privateinherited |
Runs action. Shows exceptions in messagebox.
- Parameters
-
◆ SetLanguage()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.SetLanguage |
( |
Control | c | ) |
|
|
protectedinherited |
Sets the language of controls.
- Parameters
-
◆ SetParameters()
virtual void Ix4Trace.Desktop.Plugins.DesktopPlugin.SetParameters |
( |
object[] | parameters | ) |
|
|
virtualinherited |
Sets the parameters of the plugin.
- Parameters
-
parameters | Array of parameters. |
◆ SetPluginToIControls()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.SetPluginToIControls |
( |
ControlCollection | controlCollection | ) |
|
|
inherited |
Initializes the controls of plugin.
- Parameters
-
controlCollection | Collection of controls. |
◆ ShowMessage()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.ShowMessage |
( |
string | message | ) |
|
|
inherited |
Show message on plugin.
- Parameters
-
◆ ShowMessagesFromParameters()
void Ix4Trace.Desktop.Plugins.DesktopPlugin.ShowMessagesFromParameters |
( |
object[] | parameters | ) |
|
|
protectedinherited |
Shows messages when the parameters conains any messages.
- Parameters
-
◆ ShowNavigation()
override void Ix4Trace.Desktop.Plugins.ExtendedPlugin.ShowNavigation |
( |
| ) |
|
|
virtual |
◆ ShowProgressBar()
Shows the progress bar with text.
- Parameters
-
message | Text of message. |
max | Maximum steps of progress bar. |
- Returns
- The progressbar.
The documentation for this class was generated from the following files:
- Z:/x4t/src/Ix4Trace.Desktop/Ix4Trace.Desktop/Plugins/ExtendedPlugin.cs
- Z:/x4t/src/Ix4Trace.Desktop/Ix4Trace.Desktop/Plugins/ExtendedPlugin.Designer.cs