Java Browser/en: Unterschied zwischen den Versionen
Jv (Diskussion | Beiträge) |
Jv (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
The '''Java Browser''' provides a simple interface to browse Java code. This is useful for test developers that write tests which uses [[ElementaryBlock_Element/en#Groovy_Blocks|Groovy blocks]] to connect to system under test. |
The '''Java Browser''' provides a simple interface to browse Java code. This is useful for test developers that write tests which uses [[ElementaryBlock_Element/en#Groovy_Blocks|Groovy blocks]] to connect to system under test. |
||
⚫ | |||
⚫ | |||
== Using Java Browser == |
== Using Java Browser == |
||
Zeile 11: | Zeile 7: | ||
[[Datei:Select_Workspace_01.png|200px|thumb|right|Workspace selection dialog]] |
[[Datei:Select_Workspace_01.png|200px|thumb|right|Workspace selection dialog]] |
||
[[Datei:JBrowser 01.png|200px|thumb|right|Workspace selection dialog]] |
[[Datei:JBrowser 01.png|200px|thumb|right|Workspace selection dialog]] |
||
To open Java Browser select ''Extras'' ► ''Plugins'' ► ''Java Browser'' ► ''Open Workspace...'' and then select a [[#Workspace|workspace]]. |
To open Java Browser select ''Extras'' ► ''Plugins'' ► ''Java Browser'' ► ''Open Workspace...'' and then select a [[#Workspace|workspace]]. To create a new workspace, just enter a new, empty directory. |
||
After the workspace is chosen, a single Java Browser window appears. It shows Java packages, classes and methods as well |
|||
as source code if it's available. If the source code is not available then it still shows class structure without actual method's source code. |
|||
⚫ | |||
⚫ | |||
To create a workspace, just select an empty directory. To add Java code to the workspace, open workspace settings (in Java Browser window, select ''Workspace'' ► ''Settings''). In a settings dialog you may add .jar files or directories containing .class files and attach sources to then. Of course, you may use workspace settings dialog any time later add or remove .jar files or .class file directories. |
Version vom 2. Mai 2014, 13:31 Uhr
Introduction[Bearbeiten]
The Java Browser provides a simple interface to browse Java code. This is useful for test developers that write tests which uses Groovy blocks to connect to system under test.
Using Java Browser[Bearbeiten]
To open Java Browser select Extras ► Plugins ► Java Browser ► Open Workspace... and then select a workspace. To create a new workspace, just enter a new, empty directory.
After the workspace is chosen, a single Java Browser window appears. It shows Java packages, classes and methods as well as source code if it's available. If the source code is not available then it still shows class structure without actual method's source code.
Workspace[Bearbeiten]
Java Browser stores all Java code and sources in a folder called a workspace. You can freely move workspaces around or store them on a shared network drive.
To create a workspace, just select an empty directory. To add Java code to the workspace, open workspace settings (in Java Browser window, select Workspace ► Settings). In a settings dialog you may add .jar files or directories containing .class files and attach sources to then. Of course, you may use workspace settings dialog any time later add or remove .jar files or .class file directories.