Author
Drag and Drop
mick lynch
Greenhorn
Joined: Aug 17, 2008
Posts: 23
Can you drag and drop objects with Eclipse and NetBeans like you can in VIS Studio ? More interested in Eclipse.
Andre Uhres
Greenhorn
Joined: Nov 23, 2008
Posts: 23
Yes we can
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
Moving to IDEs
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12928
Drag and drop what kind of objects? Can you explain in more detail what you mean?
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Keith Flo
Ranch Hand
Joined: Nov 29, 2005
Posts: 128
Specifically ... In the Eclipse editor ...
neither in the Java, XML or text eidtors ... simple drag and drop of text does not work ... [maybe I missed something .. but on windows I use CTRL-C : (cut) and CTRL-X: (paste)] this is ok for a line or two but for blocks of text (say moving a method) it stinks ... IMHO
Is there's away to use drag & drop in the Eclipse text/Java editor ? If Eclipse doesn't support that feature, is it planned for a future release?
kf
SCJP 5.0 (preparing for SCWCD)
Peter Johnson
author
Bartender
Joined: May 14, 2008
Posts: 5536
posted Jan 08, 2010 11:29:11
0
It depends on which editor you are using. With Eclipse 3.5, drag-and-drop works with these editors:
Java editor Ant editorProperties file editor
It does not work with:
XML editor JSP editor
The above lists are not exhaustive, they reflect only the editors I checked off-hand.
JBoss In Action
Keith Flo
Ranch Hand
Joined: Nov 29, 2005
Posts: 128
Peter,
Thanks! I'll try again ... the Java editor is my main concern ...
kf
subject: Drag and Drop