>>>>> "Mark" == Mark Gibson <[EMAIL PROTECTED]> writes:

  Mark> Also, all the alternatives in the list are selected by
  Mark> default, is there anyway to reverse this so none are initially
  Mark> selected.

        This part is relatively easy....

        In the jde-wiz-choose-imports function 

        where it says....

         (args (list  
                      ;;widget of type checkbox
                      'checkbox
                      :value new-import
                      ;;with a value equal to the importable file
                      :format "\n %[%v%]  %t"
                      :tag new-import
                      ;;When we activate this button we need to add to the
                      ;;selected imports


        just delete the line ":value new-import"

        Or use the following minimalist patch...

242d241
<                     :value new-import

                      



  Mark> If I use the jde-wiz-find-and-import function on a Class that
  Mark> has several alternatives then the list buffer appears in the
  Mark> bottom window (which is what I want), but after I make the
  Mark> selection the window is removed leaving me with just my JDE
  Mark> buffer windows.

  Mark> Is there anyway I can stop this from happening, ideally I
  Mark> would like the window to be restored to its original size and
  Mark> buffer.

 
        This bit is a little harder. I have always found that 
the way emacs copes with having more than 2 windows open in one 
frame, well frankly it sucks. If you are using XEmacs you could try 
using the "push-window-configuration" function which might work,
although I do not have a working xemacs to try it out on. For Gnu
Emacs I really dont know... Anyway here is the patch (with the last
modification as well), if you have xemacs and want to try it out. 


        Again THIS IS UNTESTED CODE so back up jde-wiz.el first 
in case it does not work....
   
diff ~/emacs/site-lisp/jde/lisp/jde-wiz.el jde-wiz.el
225a226
>   (push-window-configuration)
242d242
<                     :value new-import
271c271,272
<                              (if jde-wiz-selected-imports
---
>                              (pop-window-configuration)
>                              (if jde-wiz-selected-imports

                                

           Good luck....

           Phil

Reply via email to