OpenKeyWord
Build Tag: jenkins-DoxyGen_EN-107, Build ID: 2015-03-08_20-51-06
|
This class administrates the actual GUI-object. More...
Public Member Functions | |
void | CallMethod (string fpsMethod) |
Returns the Instance for the only Instance of this class. Remark: More... | |
void | CallMethod (string fpsMethod, List< string > fpLsParameter) |
Calls a method of the current object with "late bound function call". More... | |
void | CallMethod (string fpsMethod, List< string > fpLsParameter_1, string fpsParameter_2) |
Calls a method of the current object with "late bound function call". More... | |
void | CallMethod (string fpsMethod, string fpsParameter_1) |
Calls a method of the current object with "late bound function call". The called method has the signature: More... | |
void | CallMethod (string fpsMethod, string fpsParameter_1, string fpsParameter_2) |
Calls a method of the current object with "late bound function call". The called method has the signature: More... | |
void | CallMethod (string fpsMethod, string fpsParameter_1, string fpsParameter_2, string fpsParameter_3) |
Calls a method of the current object with "late bound function call". The called method has the signature: More... | |
void | CallMethod (string fpsMethod, string fpsParameter_1, string fpsParameter_2, List< string > fpLsValue) |
Calls the method of the current object with "late bound function call". The called method has the signature: More... | |
bool | CallMethodReturn_Boolean (string fpsMethod) |
Calls a method of the current object "late bound function call". The called method has the signature: More... | |
bool | CallMethodReturn_BooleanPb (string fpsMethod, bool fpbParameter_1) |
Calls a method of the current object with "late bound function call". More... | |
int | CallMethodReturn_Int (string fpsMethod) |
Calls a method of the current object with "late bound function call". More... | |
List< string > | CallMethodReturn_ListString (string fpsMethod) |
Calls a method of the current object with "late bound function call". More... | |
List< string > | CallMethodReturn_ListString (string fpsMethod, string fpsParam1, string fpsParam2) |
Calls a method of the current object "late bound function call". The calles method has the signature: More... | |
List< string > | CallMethodReturn_ListString (string fpsMethod, List< string > fpLsParameter_1) |
Calls a method of the current object with "late bound function call". The called method has the signature: More... | |
List< string > | CallMethodReturn_ListString (string fpsMethod, string fpsParameter_1, string fpsParameter_2, List< string > fpLsParameter_3) |
Calls a method of the current object with "late bound function call". The called method has the signature: More... | |
string | CallMethodReturn_String (string fpsMethod) |
Calls a method of the current object "late bound function call". The called method has the signature: More... | |
string | CallMethodReturn_String (string fpsMethod, string fpsParameter_1) |
Calls a method of the current object with "late bound function call". The called method has the signature: More... | |
bool | CheckCharacter (string fpsFunctionalname) |
This method checks the professional objectname to "allowed" signs. More... | |
object | GetCurrentObject () |
Gives the reference to the current Frame-Object. Reference is stored in the field cvoObject. More... | |
string | GetObjectName () |
Detecting the ObejctName of the current object. More... | |
void | Init () |
Running the initializing of the class: There are all fields of the class set to a defined initial state. More... | |
void | LogObjectData () |
Method returns all the important information about the current object. This should help in error or exception when debugging by outputting the current data object. These data will be returned: More... | |
object | SetChildName (string fpsChildName) |
Setting the Child Object. More... | |
object | SetWindowName (string fpsWindowName) |
Here the context is set to a window. More... | |
Protected Attributes | |
string | cvsChildName = string.Empty |
The feature contains the professional name of the current child object. More... | |
string | cvsWindowName = string.Empty |
The feature contains the professional name of the current window. All GUI child objects are relating to this window given mit "cvsChildName". | |
Private Member Functions | |
CurrentObject () | |
Initializes a new instance of the OKW.CurrentObject class. No public constructor: Use the OKW.CurrentObject.Instance to obtain the instance of this class. More... | |
object | ResetToWindow () |
The current object will be set back to the window. Child Object will be deleted. More... | |
void | UpdateObject () |
Method updates two values: More... | |
Private Attributes | |
object | cvoObject = null |
Singelton-Class: Instance contains the Object-Reference of CurrentObject. More... | |
string | cvsObjectFunctionalName = string.Empty |
Complete "functional name" of the current object "WindowName.ChildObjectName". More... | |
string | cvsObjectName = string.Empty |
Full "technical name" of the current object "WindowsName.ChildObject.Name". More... | |
LogMessenger | LM = null |
Logger | Log = Logger.Instance |
FrameObjectDictionary | myFrameObjectDictionary = new FrameObjectDictionary() |
This Dictionary holds all visited/used "Frame Objects". More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from OKW.OKWSingeltonBase< T > | |
static Lazy< T > | instance = new Lazy<T>(() => CreateInstanceOfT()) |
Properties inherited from OKW.OKWSingeltonBase< T > | |
static T | Instance [get] |
Holt die einzige Instanz dieser Klasse. More... | |
This class administrates the actual GUI-object.
Each technical GUI-object, irrelevant how deep they are nested into each other technically, will be referenced with two informations: WindowName und ChildObjectName
Design-Pattern: Singleton - Highlander-Principle
|
private |
Initializes a new instance of the OKW.CurrentObject class. No public constructor: Use the OKW.CurrentObject.Instance to obtain the instance of this class.
void OKW.CurrentObject.CallMethod | ( | string | fpsMethod | ) |
Returns the Instance for the only Instance of this class.
Remark:
The instance of CurrentObject.
Calls a method of the current object with "late bound function call".
The called method has the signature:
Parameter/Return | Type |
---|---|
Parameter | none |
Return | none |
fpsMethod | name of method to be called. |
void OKW.CurrentObject.CallMethod | ( | string | fpsMethod, |
List< string > | fpLsParameter | ||
) |
Calls a method of the current object with "late bound function call".
The called method has the signature:
Parameter/Return | Type |
---|---|
Parameter | List< string > |
Return | none |
fpsMethod | name of method to be called. |
fpLsParameter | 1st parameter as list-string. |
void OKW.CurrentObject.CallMethod | ( | string | fpsMethod, |
List< string > | fpLsParameter_1, | ||
string | fpsParameter_2 | ||
) |
Calls a method of the current object with "late bound function call".
The calles object has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | List< string > |
2nd Parameter | string |
Return | none |
fpsMethod | name of method to be called. |
fpLsParameter_1 | 1st parameter as list-string. |
fpsParameter_2 | 2nd parameter as list-string. |
void OKW.CurrentObject.CallMethod | ( | string | fpsMethod, |
string | fpsParameter_1 | ||
) |
Calls a method of the current object with "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | string |
Return | none |
fpsMethod | name of method to be called. |
fpsParameter_1 | 1st parameter as type-string. |
void OKW.CurrentObject.CallMethod | ( | string | fpsMethod, |
string | fpsParameter_1, | ||
string | fpsParameter_2 | ||
) |
Calls a method of the current object with "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | string |
2nd Parameter | string |
Return | none |
fpsMethod | name of method to be called. |
fpsParameter_1 | 1st parameter as type-string. |
fpsParameter_2 | 2nd parameter as type-string. |
void OKW.CurrentObject.CallMethod | ( | string | fpsMethod, |
string | fpsParameter_1, | ||
string | fpsParameter_2, | ||
string | fpsParameter_3 | ||
) |
Calls a method of the current object with "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | string |
2nd Parameter | string |
3rd Parameter | string |
Return | none |
fpsMethod | name of method to be called. |
fpsParameter_1 | 1st paramarameter as type-string. |
fpsParameter_2 | 2nd parameter as type-string. |
fpsParameter_3 | 3rd parameter as type-string. |
void OKW.CurrentObject.CallMethod | ( | string | fpsMethod, |
string | fpsParameter_1, | ||
string | fpsParameter_2, | ||
List< string > | fpLsValue | ||
) |
Calls the method of the current object with "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | string |
2nd Parameter | string |
3rd Parameter | List<string> |
Return | none |
fpsMethod | name of the method to be called. |
fpsParameter_1 | 1st parameter as type-string. |
fpsParameter_2 | 2nd parameter as type-string. |
fpLsValue | 3rd parameter as type-List<string>. |
bool OKW.CurrentObject.CallMethodReturn_Boolean | ( | string | fpsMethod | ) |
Calls a method of the current object "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
Parameter | keine |
Return | bool |
fpsMethod | Name of the method to be called. |
bool OKW.CurrentObject.CallMethodReturn_BooleanPb | ( | string | fpsMethod, |
bool | fpbParameter_1 | ||
) |
Calls a method of the current object with "late bound function call".
The called method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | string |
2nd Parameter | bool |
Return | bool |
fpsMethod | Name of the method to be called. |
fpbParameter_1 | 2nd parameter as a bool type. |
int OKW.CurrentObject.CallMethodReturn_Int | ( | string | fpsMethod | ) |
Calls a method of the current object with "late bound function call".
The called method has the signature:
Parameter/Return | Type |
---|---|
Parameter | none |
Return | int |
fpsMethod | Name of the method to be called. |
List<string> OKW.CurrentObject.CallMethodReturn_ListString | ( | string | fpsMethod | ) |
Calls a method of the current object with "late bound function call".
The called object has the signature:
Parameter/Return | Type |
---|---|
Parameter | none |
Return | List<string> |
fpsMethod | Name of the method to be called. |
List<string> OKW.CurrentObject.CallMethodReturn_ListString | ( | string | fpsMethod, |
string | fpsParam1, | ||
string | fpsParam2 | ||
) |
Calls a method of the current object "late bound function call". The calles method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | string |
2nd Parameter | string |
Return | List<string> |
fpsMethod | Name of the method to be called |
fpsParam1 | 1st paramarameter as type-string. |
fpsParam2 | 2nd parameter as type-string. |
List<string> OKW.CurrentObject.CallMethodReturn_ListString | ( | string | fpsMethod, |
List< string > | fpLsParameter_1 | ||
) |
Calls a method of the current object with "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | List<string> |
Return | List<string> |
fpsMethod | Name of the method to be called |
fpLsParameter_1 | 1st parameter as list<string>. |
List<string> OKW.CurrentObject.CallMethodReturn_ListString | ( | string | fpsMethod, |
string | fpsParameter_1, | ||
string | fpsParameter_2, | ||
List< string > | fpLsParameter_3 | ||
) |
Calls a method of the current object with "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | string |
2nd Parameter | string |
3rd Parameter | List<string> |
Return | List<string> |
fpsMethod | Name of the method to be called |
fpsParameter_1 | 1st parameter as string. |
fpsParameter_2 | 2nd parameter as string. |
fpLsParameter_3 | 3rd parameter as list<string>. |
string OKW.CurrentObject.CallMethodReturn_String | ( | string | fpsMethod | ) |
Calls a method of the current object "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
Parameter | none |
Return | string |
fpsMethod | Name of the method to be called. |
string OKW.CurrentObject.CallMethodReturn_String | ( | string | fpsMethod, |
string | fpsParameter_1 | ||
) |
Calls a method of the current object with "late bound function call". The called method has the signature:
Parameter/Return | Type |
---|---|
1st Parameter | string |
Return | string |
fpsMethod | Name of the method to be called. |
fpsParameter_1 | 1st parameter as string. |
bool OKW.CurrentObject.CheckCharacter | ( | string | fpsFunctionalname | ) |
This method checks the professional objectname to "allowed" signs.
fpsFunctionalname | Functional name to be checked (string). |
object OKW.CurrentObject.GetCurrentObject | ( | ) |
Gives the reference to the current Frame-Object. Reference is stored in the field cvoObject.
string OKW.CurrentObject.GetObjectName | ( | ) |
Detecting the ObejctName of the current object.
void OKW.CurrentObject.Init | ( | ) |
Running the initializing of the class: There are all fields of the class set to a defined initial state.
void OKW.CurrentObject.LogObjectData | ( | ) |
Method returns all the important information about the current object. This should help in error or exception when debugging by outputting the current data object.
These data will be returned:
|
private |
The current object will be set back to the window. Child Object will be deleted.
object OKW.CurrentObject.SetChildName | ( | string | fpsChildName | ) |
Setting the Child Object.
fpsChildName | Professional name of the Child Object |
object OKW.CurrentObject.SetWindowName | ( | string | fpsWindowName | ) |
Here the context is set to a window.
fpsWindowName | Name of the window, which contains the context. |
|
private |
Method updates two values:
|
private |
Singelton-Class: Instance contains the Object-Reference of CurrentObject.
The field cvoObject contains the reference of the current object in OKW_FrameObjectDictionary "myFrameObjectDictionary".
|
protected |
The feature contains the professional name of the current child object.
All GUI child objects are relating to this ChildObject, given under 'sNameChildObject'.
|
private |
Complete "functional name" of the current object "WindowName.ChildObjectName".
|
private |
Full "technical name" of the current object "WindowsName.ChildObject.Name".
|
private |
|
private |
This Dictionary holds all visited/used "Frame Objects".
Important: The Frame-Class Must be included with "using" Works in an automatized call: The right class is given after input of the frame object Function contains the reference to the current window or child object