This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have view which displays files/ folders present in workspace. I have to add a "Rename" action on right click after selecting the resource.
Is there some jface or EMF commands to do it.
I found org.eclipse.ui.actions.RenameResourceAction , but not sure how to use it.
If you are using javax.swing.JTree for displaying File Tree then you can use its jTree.setEditable(true) .. which adds listner to rename file and folder. After setting this true you dont have to do much, by double clicking on file/folder name, it allows rename it just like windows explorer