[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] org.eclipse.core.internal.resources.ResourceException: The resource tree is
|
Hi! I Obtain the exception reported at the title of this post while I am trying to rename a file of my own plugin.
I regitered the event. I registered the listener:...
public boolean resourceListener(){
IWorkspace workspace = ResourcesPlugin.getWorkspace();
IResourceChangeListener listener = new IResourceChangeListener() {
public void resourceChanged(IResourceChangeEvent event) {
fResource = oldfile;
}
};
workspace.addResourceChangeListener(listener);
return true;
}
...before the called of createChange method in my class that extends RenameParticipants...
What I am wronging...? Please help me , I tryed to see what eclipse is doing while is renaiming a file and I payd attention but nothing changed in its bevaviour, the exception is stille present...
Thanks.