I am new to eclipse plugin development. I am in the need of overriding the rename dialog for the files in a specific custom project. Say I am having a file "sample.abcd" in the custom project that has its own perspectives, natures and builders. So whenever i try to rename this file, I am getting a rename dialog with the file extension. I want to override this dialog displaying only the file name just like a java project rename action does. Can you point me to any resource, how to do it ? Thanks
你必须实施一个重命名重构参与者 http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ltk_core_refactoring_renameParticipants.html?cp=2_1_1_103。它的“启用”条件指定了在什么情况下应该涉及它(您必须检查您的特定文件扩展名)。
更长的解释也可以在Eclipse 重命名/重构覆盖 https://stackoverflow.com/questions/6618495/eclipse-rename-refactoring-override.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)