Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » [refactoring] questions before implementing my own refactor
[refactoring] questions before implementing my own refactor [message #251630] Mon, 25 February 2008 20:26
Eclipse UserFriend
Hi, all;

I'm implementing an editor that edits xml-formated configuration files
which binding with a compilationunit respectively, now that there're two
editors: Java Source Editor, and my Xml Editor, so there're two direction of
refactoring:
1. trigger refactoring in java editor, that is JAVA to NON-JAVA refactoring
1.1. refactoring type/package takes my configuration file as
participant by extending org.eclipse.ltk.core.refactoring.renameParticipants
1.2 refactoring fields, how can I take my configuration files as the
participants?

2. trigger refactoring in xml editor, that is NON-JAVA to JAVA refactoring
2.1 refactoring attribute value that maps to the java type, how can I
take java refactor as participant? e.g. <bean class="a.b.c.myclass"> while
attribute "class" value "a.b.c.myclass" maps to the java type a.b.c.myclass.
2.2 refactoring attribute name that maps to the java type's fields,
how can I take java refactor as participant?

Any clues? Thanks in advance.

Thanks & Best Regards!
Nick
Previous Topic:Open th JavaProjectWizard out of an other Wizard
Next Topic:Adding Content to PackageExplorer
Goto Forum:
  


Current Time: Thu Apr 24 23:54:55 EDT 2025

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

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

Back to the top