Override rename action in eclipse

I am new to eclipse plugin development. I need to redefine the file rename dialog in a specific project. Let's say I have a sample.abcd file in a custom project that has its own perspectives, natures, and builders. Therefore, whenever I try to rename this file, I get a rename dialog with the file extension. I want to override this dialog box, displaying only the file name, as the renaming action of a Java project does. Can you point me to any resource how to do this? thanks Current rename action

+4
source share
1 answer

You need to rename the refactoring member . Its β€œenablement” condition indicates under what circumstances it should be involved (you will need to check your specific file extension).

A more detailed explanation can also be found in override / rethink Eclipse .

+5
source

Source: https://habr.com/ru/post/1443381/


All Articles