Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Moving methods within a class
Moving methods within a class [message #58082] Wed, 27 April 2005 10:58 Go to next message
Eclipse UserFriend
Originally posted by: barnaby.dalton.brevanhoward.com

I'd like to rearrange some methods within a class so that all the public
methods are at the top.
Is there a way of moving methods within a class by dragging them in the
package explorer view or is cut/paste the preferred technique?

Thanks
Barney
Re: Moving methods within a class [message #58155 is a reply to message #58082] Wed, 27 April 2005 13:20 Go to previous message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

There is an option in Source menu called Sort Members. It can be sort
members of a class in the order specified in Preferences > Java > Appearance
> Member sort order. You can use visibility to determine order within a
category. This may help.

HTH,
Regards,
Csaba

Barney wrote:
> I'd like to rearrange some methods within a class so that all the public
> methods are at the top.
> Is there a way of moving methods within a class by dragging them in the
> package explorer view or is cut/paste the preferred technique?
>
> Thanks
> Barney
Previous Topic:Intel Fortran Compiler
Next Topic:CVS repository view connection Error
Goto Forum:
  


Current Time: Sun Jun 30 13:52:51 GMT 2024

Powered by FUDForum. Page generated in 0.08063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top