aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Drag and Drop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Drag and Drop" Watch "Drag and Drop" New topic
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: 19760
    
  20

Moving to IDEs


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14345
    
  22

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 8 API documentation
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: 5843
    
    7

It depends on which editor you are using. With Eclipse 3.5, drag-and-drop works with these editors:

  • Java editor
  • Ant editor
  • Properties 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
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Drag and Drop