[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-4142) Drag&Drop nodes in the Outline View of .xhtml and .jsf files

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Apr 8 07:19:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-4142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-4142:
----------------------------------

     Issue Type: Bug  (was: Feature Request)
    Component/s: Visual Page Editor core
                     (was: jsp/jsf/xml source editing)
       Assignee: Maxim Areshkau


When I tried it in VPE I got:
java.lang.NullPointerException
at org.jboss.tools.vpe.editor.VpeVisualDomBuilder.innerDrop(VpeVisualDomBuilder.java:1742)
at org.jboss.tools.vpe.editor.VpeController.drop(VpeController.java:2558)
at org.jboss.tools.vpe.editor.dnd.context.VpeDragAnyCommand.doMove(JSPViewerDropAdapter.java:201)
at org.jboss.tools.vpe.editor.dnd.context.VpeDragAnyCommand.executeHelper(JSPViewerDropAdapter.java:175)
at org.jboss.tools.vpe.editor.dnd.context.xpl.DragNodeCommand2.execute(DragNodeCommand2.java:141)
at org.eclipse.wst.common.ui.internal.dnd.ViewerDropAdapter.drop(ViewerDropAdapter.java:195)
at org.jboss.tools.vpe.editor.dnd.context.JSPViewerDropAdapter.drop(JSPViewerDropAdapter.java:58)
at org.jboss.tools.jst.jsp.outline.JSPContentOutlineConfiguration$1.drop(JSPContentOutlineConfiguration.java:114)
at org.eclipse.jface.util.DelegatingDropAdapter$3.run(DelegatingDropAdapter.java:211)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.util.DelegatingDropAdapter.drop(DelegatingDropAdapter.java:209)
at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.dnd.DropTarget.Drop(DropTarget.java:455)
at org.eclipse.swt.dnd.DropTarget$3.method6(DropTarget.java:257)
at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:119)
at org.eclipse.swt.internal.ole.win32.COM.DoDragDrop(Native Method)
at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:362)
at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:288)
at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:171)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)

So it's a bug.


> Drag&Drop nodes in the Outline View of .xhtml and .jsf files
> ------------------------------------------------------------
>
>                 Key: JBIDE-4142
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4142
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Visual Page Editor core
>    Affects Versions: 3.0.0.GA
>            Reporter: Yahor Radtsevich
>            Assignee: Maxim Areshkau
>             Fix For: 3.1.0
>
>         Attachments: DndWtp.swf
>
>
> Drag&Drop with nodes is working pretty well in WTP (see the attached flash), but does not in JBoss Tools.
> I think, this feature is extremely useful and we have to add it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list