[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] [refactoring] questions before implementing my own refactor
|
- From: Nick Tan <missedone@xxxxxxxxx>
- Date: Mon, 25 Feb 2008 11:16:48 +0800
- Newsgroups: eclipse.platform
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
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