Oh ok... the UI change caught me by surprise. Yes, I now have the
structure browser showing, like you said. Now it's looking like JBrowse
again! :)
Thanks,
Andy
Dale Anson wrote:
> Let's start at the beginning...
>
> 1. you downloaded the new file I posted.
> 2. you copied that file to your .jedit/jars diretory
> 3. you restarted jEdit
>
> You should not see a JavaSideKick menu item.
> You should see a SideKick menu item.
>
> So far so good?
>
> Now do this:
> Open a java source file.
> Click Plugins -> SideKick -> Structure Browser
> You should see the tree in SideKick representing the java source file.
>
> JavaSideKick grew out of JBrowse, so the JBrowse2 name your seeing is
> in fact JavaSideKick. I'll change that so it is less confusing,
> thanks for pointing that out. In fact I found a couple of other
> references to JBrowse to change. I'll remove the dockable settings
> also, JavaSideKick itself doesn't dock, SideKick does. So if you want
> to dock it, dock SideKick, it is named "Structure Browser" in the
> docking settings.
>
> And like I mentioned earlier, I'm still working on the code
> completion. I thought I had the "System." thing working though... :(
>
> I'll try to get another update posted today.
>
> Thanks,
>
> Dale
>
>
> On Fri, 24 Feb 2006, Michael Chisholm wrote:
>
>> Well, that problem has disappeared... :)
>>
>> Now, the JavaSideKick menu item doesn't seem to show up in the
>> Plugins menu at all. Just in case it was really there but forgot to
>> insert itself into the menus, I checked the Docking section of Global
>> Options, and there was something named "JBrowse2" listed there. I
>> assume that's another name for JavaSideKick? I set it to dock at the
>> right, and a button for it showed up. I clicked the button, and got
>> the stack trace below.
>>
>> Btw, I tried to see if any code-completion would happen, and typing
>> "System." did cause a popup to appear with what appeared to be valid
>> methods from the System class, but clicking anywhere inside the popup
>> (whether on a list item, scrollbar, etc) just made it disappear, with
>> no effect. There didn't appear to be any stacktraces or errors as a
>> result of this either.
>>
>> [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
>> [error] AWT-EventQueue-0: java.lang.ClassCastException:
>> sidekick.java.JavaParser
>> [error] AWT-EventQueue-0: at
>> org.gjt.sp.jedit.gui.DockableWindowFactory$Window.createDockableWindow(DockableWindowFactory.java:458)
>>
>> [error] AWT-EventQueue-0: at
>> org.gjt.sp.jedit.gui.DockableWindowManager.showDockableWindow(DockableWindowManager.java:261)
>>
>> [error] AWT-EventQueue-0: at
>> org.gjt.sp.jedit.gui.PanelWindowContainer$ActionHandler.actionPerformed(PanelWindowContainer.java:420)
>>
>> [error] AWT-EventQueue-0: at
>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
>> [error] AWT-EventQueue-0: at
>> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
>>
>> [error] AWT-EventQueue-0: at
>> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
>>
>> [error] AWT-EventQueue-0: at
>> javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269)
>>
>> [error] AWT-EventQueue-0: at
>> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
>>
>> [error] AWT-EventQueue-0: at
>> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
>> [error] AWT-EventQueue-0: at
>> java.awt.Component.processMouseEvent(Component.java:5488)
>> [error] AWT-EventQueue-0: at
>> javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
>> [error] AWT-EventQueue-0: at
>> java.awt.Component.processEvent(Component.java:5253)
>> [error] AWT-EventQueue-0: at
>> java.awt.Container.processEvent(Container.java:1966)
>> [error] AWT-EventQueue-0: at
>> java.awt.Component.dispatchEventImpl(Component.java:3955)
>> [error] AWT-EventQueue-0: at
>> java.awt.Container.dispatchEventImpl(Container.java:2024)
>> [error] AWT-EventQueue-0: at
>> java.awt.Component.dispatchEvent(Component.java:3803)
>> [error] AWT-EventQueue-0: at
>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
>> [error] AWT-EventQueue-0: at
>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
>> [error] AWT-EventQueue-0: at
>> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
>> [error] AWT-EventQueue-0: at
>> java.awt.Container.dispatchEventImpl(Container.java:2010)
>> [error] AWT-EventQueue-0: at
>> java.awt.Window.dispatchEventImpl(Window.java:1774)
>> [error] AWT-EventQueue-0: at
>> java.awt.Component.dispatchEvent(Component.java:3803)
>> [error] AWT-EventQueue-0: at
>> java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>> [error] AWT-EventQueue-0: at
>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
>>
>> [error] AWT-EventQueue-0: at
>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
>>
>> [error] AWT-EventQueue-0: at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
>> [error] AWT-EventQueue-0: at
>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
>> [error] AWT-EventQueue-0: at
>> java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>>
>> Andy
>>
>> Dale Anson wrote:
>>
>>> Okay, I've whacked all my plugins and installed just the basic few
>>> that I
>>> actually use. I can reproduce your problem. The work-around (and
>>> the way
>>> it will work next release) is to not use the JavaSideKick menu, but
>>> use
>>> the SideKick menu.
>>>
>>> I've uploaded the fix to the community site at:
>>>
>>> http://community.jedit.org/?q=node/view/2576
>>>
>>> This also includes some updates to code completion and I've bumped
>>> up the
>>> version number.
>>>
>>> I want to do some more work on the code completion before I submit
>>> this
>>> plugin to plugin central, so I'd appreciate any feedback about the
>>> code
>>> completion. I did see the comment about "System." not showing any
>>> completions, that is now working in the version I just posted.
>>>
>>> Thanks,
>>>
>>> Dale
>>>
>>>
>>> On Fri, 24 Feb 2006, Michael Chisholm wrote:
>>>
>>> > I replaced JavaSideKick.jar in %HOMEPATH%\.jedit\jars with the
>>> download > from the link you gave.
>>> > > And now when I select the same menu item, I don't get the error
>>> dialog. > Nothing seems to happen at all. In the console window, I
>>> see:
>>> > > [warning] EditAction$Wrapper: Unknown action:
>>> javasidekick-gotodockable
>>> > > The same thing appears in the activity log. Below are some of
>>> the lines > leading up to it:
>>> > > [debug] WorkThread: Work request thread starting [SideKick #1]
>>> > [debug] WorkThread: Running in work thread: >
>>> [id=52,run=sidekick.SideKick$ParseRequest@...]
>>> > [debug] SideKick$ParseAWTRequest: ParseAWTRequest
>>> > [debug] SideKickParsedData: Setting parsed data of >
>>> org.gjt.sp.jedit.View[active] to >
>>> sidekick.java.JavaSideKickParsedData@...
>>> > [debug] EditBus: SideKickUpdate[source=null]
>>> > [warning] EditAction$Wrapper: Unknown action:
>>> javasidekick-gotodockable
>>> > > Andy
>>> > > Dale Anson wrote:
>>> > > > I've posted an update on the community site that fixes this
>>> problem.
>>> > > > > http://community.jedit.org/?q=filestore/download/2576
>>> > > > > Dale
>>> > > > > > > On Fri, 24 Feb 2006, Michael Chisholm wrote:
>>> > > > > > I wanted to give JavaSideKick a try, but it doesn't seem
>>> to > > work. I > have jEdit 4.3pre3, XP SP2, jdk1.5.0_06.
>>> > > > > When I go to Plugins|JavaSideKick|"Go to structure
>>> browser", I > > get the > following stacktrace in a "Beanshell
>>> Error" dialog:
>>> > > > > Error in method invocation: Static method gotoDockable( >
>>> > > org.gjt.sp.jedit.View ) not found in > > >
>>> class'sidekick.java.JavaSideKickPlugin' : at Line: 4 : in file:
>>> inline > > > evaluation of:
>>> ``__internal_action_javasidekick_gotodockable(ns) { > > >
>>> this.callstack.set(0,ns); . . . '' : sidekick .java >
>>> > > .JavaSideKickPlugin .gotoDockable ( view )
>>> > > > at
>>> bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:76)
>>> > > > at > > >
>>> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
>>> > > > at
>>> bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
>>> > > > at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
>>> > > > at bsh.BSHBlock.eval(BSHBlock.java:80)
>>> > > > at bsh.BshMethod.invokeImpl(BshMethod.java:349)
>>> > > > at bsh.BshMethod.invoke(BshMethod.java:246)
>>> > > > at bsh.BshMethod.invoke(BshMethod.java:171)
>>> > > > at > >
>>> org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:507)
>>> > > > at > >
>>> org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
>>> > > > at
>>> > > > > > >
>>> org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
>>> > > > at org.gjt.sp.jedit.jEdit$3.invokeAction(jEdit.java:2902)
>>> > > > at
>>> > > > > > >
>>> org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
>>> > > > > > at
>>> > > > > > >
>>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
>>> > > > > > at
>>> > > > > > >
>>> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
>>> > > > > at
>>> > > > > > >
>>> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
>>> > > > > at
>>> > > > > > >
>>> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
>>> > > > at
>>> javax.swing.AbstractButton.doClick(AbstractButton.java:302)
>>> > > > at
>>> > > > > > >
>>> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
>>> > > > > at
>>> > > > > > >
>>> javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
>>> > > > > at
>>> > > > > >
>>> javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
>>> > > > at
>>> > > > > >
>>> javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
>>> > > > at
>>> javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
>>> > > > at
>>> > > > > > >
>>> javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
>>> > > > > at
>>> > > > > > >
>>> javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:757)
>>> > > > > at
>>> > > > > > >
>>> java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2206)
>>> > > > > at
>>> > > > > > >
>>> java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2100)
>>> > > > > at > >
>>> java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2058)
>>> > > > at
>>> java.awt.Component.dispatchEventImpl(Component.java:3867)
>>> > > > at
>>> java.awt.Container.dispatchEventImpl(Container.java:2024)
>>> > > > at java.awt.Component.dispatchEvent(Component.java:3803)
>>> > > > at
>>> > > > > > >
>>> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
>>> > > > at
>>> > > > > > >
>>> java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
>>> > > > at > > >
>>> java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
>>> > > > at
>>> java.awt.Container.dispatchEventImpl(Container.java:2010)
>>> > > > at java.awt.Window.dispatchEventImpl(Window.java:1774)
>>> > > > at java.awt.Component.dispatchEvent(Component.java:3803)
>>> > > > at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
>>> > > > at
>>> > > > > > >
>>> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
>>> > > > > at
>>> > > > > > >
>>> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
>>> > > > > at
>>> > > > > > >
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
>>> > > > at
>>> > > > > > >
>>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
>>> > > > at > >
>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
>>> > > > > Looks like the beanshell is trying to invoke a
>>> non-existant > > method in > the JavaSideKick plugin...
>>> > > > > Andy
>>> > > > > Jeffrey Hoyt wrote:
>>> > > > > > Hello, all. I have a few new toys for you. 4 newly
>>> packaged > > plugins
>>> > > > > and a host of ones that were silently released over the
>>> last > > month or
>>> > > > > so. Enjoy!
>>> > > > > > > Jeff
>>> > > > > > > ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
>>> ~ ~ > > ~ ~ ~ ~ > > ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ New
>>> plugin > > releases:
>>> > > > > > > Two initial releases:
>>> > > > > > > TypoScript VFS 0.1.0 - The TypoScript plugin provides
>>> a VFS > > (Virtual
>>> > > > > FileSystem) module for loading and editing the "setup" >
>>> > and"constants"
>>> > > > > templates within the TYPO3 CMS. It requiresthe "jeditvfs"
>>> > > extension to
>>> > > > > be installed in TYPO3.
>>> > > > > > > Recent 0.1 - The recent plugin stores all edit actions
>>> in a > > table ina
>>> > > > > dockable window. It recordes actions which are invoked by
>>> plugin,
>>> > > > > macroor built-in actions. The user invokes an action by >
>>> > clicking it in
>>> > > > > a dockablewindow. Additionally, it provides a buffer history
>>> > > > > > > Two updates:
>>> > > > > > > JakartaCommon 0.4.4 - added xmlrpc-2.0.1.jar and its >
>>> > dependency,
>>> > > > > commons-codec-1.3.jar
>>> > > > > > > ShortcutDisplay 1.1 - Due to popular request (OK, Alan
>>> > > asked), now
>>> > > > > remembers window location.
>>> > > > > > > These may take a day or two to get through the
>>> mirrors. If > > you have
>>> > > > > trouble downloading them through the Plugin Manager,
>>> either > > > > change
>>> > > > > your mirror, or download them directly from > >
>>> http://plugins.jedit.org
>>> > > > > or http://sourceforge.net/projects/jedit-plugins
>>> > > > > > > ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
>>> ~ ~ > > ~ ~ ~ ~ > > ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ The
>>> following > > were > > previously released, but not announced:
>>> > > > > > > Two new releases:
>>> > > > > > > P4Plugin 0.2.0 - P4Plugin provides an interface for
>>> the use > > of the
>>> > > > > Perforce Unix command-line utility "p4" from inside jEdit,
>>> > > using the
>>> > > > > ProjectViewer tree as the GUI for managing the files in
>>> the > > Perforce
>>> > > > > repository. Most common perforce commands like "edit",
>>> "revert",
>>> > > > > "change" and others are available as jEdit actions,
>>> allowing > > shortcuts
>>> > > > > to be assigned.
>>> > > > > > > JavaSideKick 2.0 - Initial release for this plugin.
>>> This is > > basically
>>> > > > > the parser for JBrowse 1.5 adapted to SideKick (hence the
>>> 2.0 > > version
>>> > > > > number). Error handling is greatly improved over JBrowse
>>> 1.5, > > so the
>>> > > > > tree will display regardless of the number of errors found
>>> during
>>> > > > > parsing.
>>> > > > > > > > > 7 updates:
>>> > > > > > > Templates 3.3.1 - Updated for jEdit 4.3pre3 refactoring
>>> > > > > > > Lazy Importer 1.0.8 - Updated for jEdit 4.3pre3
>>> refactoring
>>> > > > > > > CodeBrowser 1.4.2 0 - Updated for jEdit 4.3pre3
>>> refactoring
>>> > > > > > > CommonControls 0.9.0 - added kappalayout.jar
>>> > > > > > > LookAndFeel 1.1 - Added support for NimROD Look And Feel.
>>> > > > > > > ProjectViewer 2.1.2.0 - Bug fix release; lots of fixes
>>> to > > plugin
>>> > > > > extension support.
>>> > > > > > > TextFilter 0.1.2 - Uses the I/O threads provided by >
>>> > CommonControls for
>>> > > > > reduced resource usage.
>>> > > > > > > These have been released for a while and should offer
>>> no > > problems
>>> > > > > through the Plugin Manager.
>>> > > > > > > -- > > They that give up essential liberty to obtain
>>> a > > little temporary
>>> > > > > safety deserve neither.
>>> > > > > > > > >
>>> -------------------------------------------------------
>>> > > > > This SF.Net email is sponsored by xPML, a groundbreaking >
>>> > scripting > > language
>>> > > > > that extends applications into web and mobile media.
>>> Attend the > > live > > webcast
>>> > > > > and join the prime developer group breaking into this new
>>> > > coding > > territory!
>>> > > > >
>>> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
>>> > > > > > > > > > > > > >
>>> -------------------------------------------------------
>>> > > > This SF.Net email is sponsored by xPML, a groundbreaking > >
>>> scripting > language
>>> > > > that extends applications into web and mobile media. Attend
>>> the > > live > webcast
>>> > > > and join the prime developer group breaking into this new
>>> coding > > > territory!
>>> > > > > >
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>>> > > > > > -- > -----------------------------------------------
>>> > > > jEdit Users' List
>>> > > > jEdit-users@...
>>> > > > https://lists.sourceforge.net/lists/listinfo/jedit-users
>>> > > > > > > > > >
>>> -------------------------------------------------------
>>> > This SF.Net email is sponsored by xPML, a groundbreaking
>>> scripting > language
>>> > that extends applications into web and mobile media. Attend the
>>> live > webcast
>>> > and join the prime developer group breaking into this new coding
>>> > territory!
>>> >
>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>>>
>>> > -- > -----------------------------------------------
>>> > jEdit Users' List
>>> > jEdit-users@...
>>> > https://lists.sourceforge.net/lists/listinfo/jedit-users
>>> >
>>
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by xPML, a groundbreaking scripting
>> language
>> that extends applications into web and mobile media. Attend the live
>> webcast
>> and join the prime developer group breaking into this new coding
>> territory!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
>> --
>> -----------------------------------------------
>> jEdit Users' List
>> jEdit-users@...
>> https://lists.sourceforge.net/lists/listinfo/jedit-users
>>
>>
>
|