At 05:29 PM 5/2/00 -0400, you wrote:
>What about some way of quickly moving around in the hierarchy tree? I'm
really
>missing a class hierarchy browser functionality, like the one provided by
>oo-browser. I would expect that getting all the descendants of a class would
>imply a huge search on other files in the project (maybe not, I hope there is
>an easier way) but I think that a quick way to go to the ancestor (and the
>implemented interfaces ) definition would be useful.
Have you tried M-x jde-browse-class? This displays a Java-based class
browser with three panes across the top and one on the bottom. The top left
pane shows all packages on your jde-global-classpath. The middle pane shows
all classes defined in the package selected in the Packages pane. The
Methods pane shows the signatures of all methods defined by the the class
selected in the Class pane. The bottom pane shows all the ancestors of the
currently selected class. You can display any ancestor by clicking on it.
I realize that many JDE features are not yet documented in the JDE user's
guide. Nevertheless, they are documented. An easy way to get an overview of
the functionality available in the JDE is to use Emacs command apropos
command, i.e., type
C-h a jde-
This lists all JDE commands, including those that are not bound to menu
items. I have included the list for JDE-2.1.6beta23 below.
- Paul
jde-browse-class M-x jde-browse-class RET
Command: Displays class at point in BeanShell class browser.
jde-browse-jdk-doc menu-bar JDE Help JDK, C-c C-v C-n
Command: Displays the JDK doc in a web browser. This function uses the URL
jde-bug-attach-local-host menu-bar JDEbug Processes Attach Process On
Local Host
Command: Attaches the debugger to a process running on local host. This
command connects
jde-bug-attach-remote-host menu-bar JDEbug Processes Attach Process On
Remote Host
Command: Attaches the debugger to a process running on a remote host.
This command connects
jde-bug-attach-via-shared-memory menu-bar JDEbug Processes Attach Process
Via Shared Memory
Command: Attaches the debugger to a process running on the same machine
via shared
jde-bug-cancel-trace menu-bar JDEbug Trace Cancel...
Command: Cancels method and class trace requests for the target process.
jde-bug-cancel-watch menu-bar JDEbug Watch for Field Cancel
Command: Cancels watch requests for the target process.
jde-bug-clear-breakpoint menu-bar JDEbug Clear Breakpoint
Command: Clear the breakpoint at the current line in the current buffer.
jde-bug-clear-watchpoint M-x jde-bug-clear-watchpoint RET
Command: (not documented)
jde-bug-continue C-c C-z C-c, menu-bar JDEbug Continue
Command: Runs the target process. Execution continues from the current
breakpoint.
jde-bug-debug-app M-x jde-bug-debug-app RET
Command: *Runs the debugger on the application in the current source buffer.
jde-bug-detach-process menu-bar JDEbug Processes Detach Process
Command: Detaches the debugger from the target process. The target
process continues
jde-bug-display-array menu-bar JDEbug Display Array
Command: (not documented)
jde-bug-display-loaded-classes menu-bar JDEbug Display Loaded Classes
Command: Displays the classes currently loaded by the target process.
jde-bug-display-local-variables menu-bar JDEbug Display Local Variables
Command: (not documented)
jde-bug-display-object menu-bar JDEbug Display Object
Command: (not documented)
jde-bug-display-path-info menu-bar JDEbug Display Path Info
Command: Displays the base directory, boot classpath, and classpath of
the target process.
jde-bug-display-string menu-bar JDEbug Display String
Command: (not documented)
jde-bug-display-variable menu-bar JDEbug Display Variable
Command: (not documented)
jde-bug-down-stack menu-bar JDEbug Stack Down
Command: Moves the source cursor down one frame in the call stack and
displays the local
jde-bug-evaluate-expression menu-bar JDEbug Evaluate Expression
Command: Evaluates a Java expression. The Java expression may include
jde-bug-exit menu-bar JDEbug Exit Debugger
Command: (not documented)
jde-bug-finish-process menu-bar JDEbug Processes Finish Process
Command: Terminates the target process.
jde-bug-interrupt-thread menu-bar JDEbug Thread Interrupt
Command: Interrupts the thread specified by THREAD-ID. The thread cannot be
jde-bug-jpda-installed-p M-x jde-bug-jpda-installed-p RET
Command: Returns t if the jpda is installed.
jde-bug-launch-process menu-bar JDEbug Processes Launch Process
Command: Starts a virtual machine to run the application
jde-bug-listen-shmem menu-bar JDEbug Processes Listen on Shared Memory
Command: Listens on shared memory for a vm requiring debugging services.
jde-bug-listen-socket menu-bar JDEbug Processes Listen on Socket
Command: Listens on socket for a vm requiring debugging services.
jde-bug-menu1 M-x jde-bug-menu1 RET
Command: Debug menu for JDE.
jde-bug-remove-dead-processes menu-bar JDEbug Processes Remove Dead Processes
Command: Remove dead processes and their associated buffers from the
Emacs environment.
jde-bug-resume-process menu-bar JDEbug Processes Resume Process
Command: Resumes the target process. To resume a particular thread or
thread group,
jde-bug-resume-thread menu-bar JDEbug Thread Resume
Command: Resumes the previously suspended thread or group of threads
specified
jde-bug-save-breakpoints menu-bar JDEbug Save Breakpoints
Command: Save breakpoints in project file.
jde-bug-set-breakpoint C-c C-z C-b, menu-bar JDEbug Set Breakpoint
Command: Sets a breakpoint at the current line in the current buffer.
jde-bug-set-conditional-breakpoint menu-bar JDEbug Set Conditional Breakpoint
Command: (not documented)
jde-bug-set-target-process menu-bar JDEbug Processes Set Target Process
Command: Sets the process whose process-id is PROCESS-ID to be
jde-bug-show-cli-buf menu-bar JDEbug Show Buffer CLI
Command: Show the command-line interface (CLI) buffer of the target process.
jde-bug-show-locals-buf menu-bar JDEbug Show Buffer Locals
Command: Show the local variables buffer of the target process.
jde-bug-show-object-monitors menu-bar JDEbug Display Object Monitors
Command: Shows the threads that are monitoring a specified object,
including the thread
jde-bug-show-preferences menu-bar JDEbug Preferences
Command: (not documented)
jde-bug-show-processes M-x jde-bug-show-processes RET
Command: (not documented)
jde-bug-show-threads menu-bar JDEbug Display Threads
Command: Shows all threads and thread-groups running in the target process.
jde-bug-show-threads-buf menu-bar JDEbug Show Buffer Threads
Command: Show the threads buffer of the target process.
jde-bug-start-debugger menu-bar JDEbug Processes Start Debugger
Command: Starts the debugger.
jde-bug-step-into C-c C-z C-x, menu-bar JDEbug Step Into
Command: Advances the process into the function invoked at point.
jde-bug-step-out C-c C-z C-w, menu-bar JDEbug Step Out
Command: Advances the process to the next line in the invoking method.
jde-bug-step-over C-c C-z C-s, menu-bar JDEbug Step Over
Command: Advances the process to the next line in the current method.
jde-bug-stop-thread menu-bar JDEbug Thread Stop
Command: Stops a thread and throws an exception. THREAD-ID is the id of
the thread you want
jde-bug-suspend-process menu-bar JDEbug Processes Suspend Process
Command: Suspends the target process. To suspend a particular thread or
thread group,
jde-bug-suspend-thread menu-bar JDEbug Thread Suspend
Command: Suspends the thread or group of threads specified by THREAD-ID.
jde-bug-thread-show-thread-info M-x jde-bug-thread-show-thread-info RET
Command: (not documented)
jde-bug-trace-class-prep menu-bar JDEbug Trace Class Prep...
Command: Displays the trace class preparation dialog.
jde-bug-trace-class-unload menu-bar JDEbug Trace Class Unload...
Command: Displays the trace class unloading dialog.
jde-bug-trace-exceptions menu-bar JDEbug Trace Exceptions...
Command: Displays the trace exceptions dialog.
jde-bug-trace-method-entry menu-bar JDEbug Trace Method Entry...
Command: Displays the trace method entry dialog.
jde-bug-trace-method-exit menu-bar JDEbug Trace Method Exit...
Command: Displays the trace method exit dialog.
jde-bug-up-stack menu-bar JDEbug Stack Up
Command: Moves the source cursor up one frame in the call stack and
displays the local
jde-bug-watch-field-access menu-bar JDEbug Watch for Field Access
Command: Request that the debugger watch for access of a
jde-bug-watch-field-modification menu-bar JDEbug Watch for Field Modification
Command: Request that the debugger watch for modifiction of a
jde-build C-c C-v C-b, menu-bar JDE Build
Command: Rebuild the entire project.
jde-compile C-c C-v C-c, menu-bar JDE Compile
Command: Compile the Java program in the current buffer.
jde-complete-at-point C-c C-v C-.
Command: Smart-complete the method at point.
jde-convert-cygwin-path M-x jde-convert-cygwin-path RET
Command: Convert cygwin style PATH to a form acceptable to java vm.
Basiclally
jde-convert-prj-file M-x jde-convert-prj-file RET
Command: Converts a pre-JDE-2.0.7 project file to JDE-2.0.7 format.
jde-db M-x jde-db RET
Command: Run jdb on Java application whose source resides in the current
buffer.
jde-db-applet M-x jde-db-applet RET
Command: Runs an applet in the debugger. This function prompts you to enter
jde-db-get-class M-x jde-db-get-class RET
Command: Lookups and return fully qualified class
jde-db-menu-debug-applet C-c C-v C-t, menu-bar JDE Debug Applet
Command: (not documented)
jde-db-set-app-args M-x jde-db-set-app-args RET
Command: Specify the arguments to be passed to the Java application class.
jde-db-set-args M-x jde-db-set-args RET
Command: Specify the arguments (except -classpath) to be passed to the
debugger.
jde-db-set-debugger M-x jde-db-set-debugger RET
Command: Specify the pathname of the debugger, if an executable, or the
jde-db-set-source-paths M-x jde-db-set-source-paths RET
Command: Set the source path list used by JDE to locate Java source files
jde-dbo-find-source-file M-x jde-dbo-find-source-file RET
Command: (not documented)
jde-dbs-target-process-runnable-p M-x jde-dbs-target-process-runnable-p RET
Command: (not documented)
jde-dbs-target-process-steppable-p M-x jde-dbs-target-process-steppable-p RET
Command: (not documented)
jde-debug C-c C-v C-d, menu-bar JDE Debug App
Command: *Runs the debugger specified by `jde-db-debugger'.
jde-find-class-source M-x jde-find-class-source RET
Command: *Find the source file for a specified class.
jde-gen-action-listener menu-bar JDE Templates Listener Action
Command: Insert skeleton action listener.
jde-gen-buffer menu-bar files jde-new Other...
Command: Create a new Java buffer containing a code template.
jde-gen-class M-x jde-gen-class RET
Command: Insert a generic Java class buffer skeleton.
jde-gen-class-buffer menu-bar files jde-new Class...
Command: Create a new Java buffer containing a class of the same name.
jde-gen-code menu-bar JDE Templates Other...
Command: Insert the code template specified by NAME at point.
jde-gen-console M-x jde-gen-console RET
Command: Insert skeleton for a new Java console buffer
jde-gen-console-buffer menu-bar files jde-new Console...
Command: Create a new Java buffer containing a console class of the same
name.
jde-gen-entity-bean M-x jde-gen-entity-bean RET
Command: Insert EJB Entity Bean.
jde-gen-get-set menu-bar JDE Templates Get/Set Pair...
Command: Insert variable get-set method pair.
jde-gen-inner-class M-x jde-gen-inner-class RET
Command: Insert inner class.
jde-gen-jfc-app M-x jde-gen-jfc-app RET
Command: Insert skeleton for a JFC app buffer
jde-gen-jfc-app-buffer M-x jde-gen-jfc-app-buffer RET
Command: Create a new Java buffer containing a JFC application class.
jde-gen-mouse-listener menu-bar JDE Templates Listener Mouse
Command: Insert skeleton mouse listener.
jde-gen-mouse-motion-listener M-x jde-gen-mouse-motion-listener RET
Command: Insert skeleton mouse motion listener.
jde-gen-println menu-bar JDE Templates Println..., C-c C-v C-l
Command: Insert println statement.
jde-gen-property-change-support M-x jde-gen-property-change-support RET
Command: Insert property change support template.
jde-gen-session-bean M-x jde-gen-session-bean RET
Command: Insert EJB Session Bean.
jde-gen-to-string-method M-x jde-gen-to-string-method RET
Command: Insert skeleton toString method.
jde-gen-window-listener menu-bar JDE Templates Listener Window
Command: Insert skeleton window listener.
jde-help-symbol menu-bar JDE Help Symbol at point, C-c C-v C-w
Command: Displays help for the symbol at point. The symbol may reference
an object, a class,
jde-java-build M-x jde-java-build RET
Command: Use javac -depend to build the application whose main class is
jde-load-all-project-files menu-bar JDE Project Project File Load All
Command: (not documented)
jde-load-project-file menu-bar JDE Project Project File Load
Command: Loads the project file for the Java source file in the current
jde-make M-x jde-make RET
Command: Run the JDE make program.
jde-menu1 M-x jde-menu1 RET
Command: Menu for JDE.
jde-mode M-x jde-mode RET
Command: Major mode for developing Java applications and applets.
jde-open-project-file M-x jde-open-project-file RET
Command: Opens the project file for the Java source file in the
jde-parse M-x jde-parse RET
Command: *Parses the Java source file displayed in the current buffer.
jde-parse-get-classes-at-point M-x jde-parse-get-classes-at-point RET
Command: (not documented)
jde-parse-test M-x jde-parse-test RET
Command: (not documented)
jde-reload-project-file M-x jde-reload-project-file RET
Command: If project context-switching is enabled
jde-run C-c C-v C-r, menu-bar JDE Run App
Command: Run the Java application specified by `jde-run-executable', if
jde-run-applet M-x jde-run-applet RET
Command: Runs an applet. This function prompts you to enter the path of an
jde-run-main-class M-x jde-run-main-class RET
Command: Runs the Java program named by `jde-run-application-class' in
jde-run-menu-run-applet C-c C-v C-a, menu-bar JDE Run Applet
Command: (not documented)
jde-run-mode M-x jde-run-mode RET
Command: Mode for running Java programs.
jde-run-set-app M-x jde-run-set-app RET
Command: Specify the name of the application class to run.
jde-run-set-app-args M-x jde-run-set-app-args RET
Command: Specify the arguments to be passed to the Java application class.
jde-run-set-applet-doc M-x jde-run-set-applet-doc RET
Command: Specify the doc to be used to view an applet.
jde-run-set-applet-viewer M-x jde-run-set-applet-viewer RET
Command: Sets the viewer to be used to view an applet. The default is
jde-run-set-args M-x jde-run-set-args RET
Command: Specify arguments to be passed to the Java vm.
jde-run-set-vm M-x jde-run-set-vm RET
Command: Specifies the Java interpreter used to run Java applications
jde-run-set-vm-w M-x jde-run-set-vm-w RET
Command: Specifies the Java interpreter used to run Java applications
jde-save-project menu-bar JDE Project Project File Save, C-c C-v C-p
Command: Saves local source file buffer options in project file.
jde-set-compile-options M-x jde-set-compile-options RET
Command: Sets the compile options.
jde-set-compiler M-x jde-set-compiler RET
Command: Specify the pathname of the compiler to be used to compile the
jde-set-global-classpath M-x jde-set-global-classpath RET
Command: Specify the value of the -classpath argument for the Java
compiler and
jde-set-variables-init-value M-x jde-set-variables-init-value RET
Command: Set each JDE variable to the value it has at Emacs startup.
jde-show-autocode-options menu-bar JDE Project Options Autocode
Command: Show the JDE Autocode panel.
jde-show-class-source C-c C-v C-y
Command: Displays source of the class whose name appears at point in the
current
jde-show-compile-options menu-bar JDE Project Options Compile
Command: Show the JDE Compile Options panel.
jde-show-debug-options menu-bar JDE Project Options Debug
Command: Show the JDE Debug Options panel.
jde-show-help menu-bar JDE Help JDE Users Guide
Command: Displays the JDE User's Guide in a browser.
jde-show-project-options menu-bar JDE Project Options General
Command: Show the JDE Debug Options panel.
jde-show-run-options menu-bar JDE Project Options Run
Command: Show the JDE Run Options panel.
jde-submit-problem-report menu-bar JDE Help Submit problem report
Command: Submit a problem report for the JDE
jde-wiz-find-and-import menu-bar JDE Wizards Import class, C-c C-v C-z
Command: *Insert an import statement for a class in the current buffer.
jde-wiz-implement-interface menu-bar JDE Wizards Implement Interface, C-c
C-v C-f
Command: *Generate a skeleton implementation of a specified interface.
jde-wiz-import M-x jde-wiz-import RET
Command: *Insert an import statement for a class in the current buffer.
jde-wiz-override-method menu-bar JDE Wizards Override Method
Command: Overrides a method whose name you specify.
jde-wiz-update-class-list menu-bar JDE Wizards Update Class List, C-c
C-v C-q
Command: Update the class list used to resolve class names.
jde-wiz-update-implements-clause M-x jde-wiz-update-implements-clause RET
Command: (not documented)
------------------------------------------------------------
TECH SUPPORT POLICY
I respond only to requests that contain a complete problem report. The
easiest way to ensure that your report is complete is to include the output
of the JDE->Help->Submit Problem Report command in your request.
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
JDE website: http://sunsite.auc.dk/jde/
JDE mailing list archive:
http://www.mail-archive.com/[email protected]/maillist.html