Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [refactoring] questions before implementing my own refactor
[refactoring] questions before implementing my own refactor [message #325639] Mon, 25 February 2008 03:16 Go to next message
nick tan is currently offline nick tanFriend
Messages: 56
Registered: July 2009
Member
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 kinds of
refactors:
1. refactoring starts from java editor
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 configuration files as the
participants?

2. refactoring starts from xml editor
2.1 refactoring attribute value that maps to the java type, how can I
take java refactor as participant?
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
Re: [refactoring] questions before implementing my own refactor [message #325661 is a reply to message #325639] Mon, 25 February 2008 13:29 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

If you don't get an answer here, I would also try the eclipse.tools.jdt
newsgroup. They're the heaviest users of the LTK refactoring support.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Eclipse Help System Bug?
Next Topic:problem in deployed plugin
Goto Forum:
  


Current Time: Thu Jun 27 19:58:54 GMT 2024

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

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

Back to the top