Workaround for overriding buildRule? [message #331054] |
Fri, 22 August 2008 08:58 |
Eclipse User |
|
|
|
Originally posted by: rondoll.gmail.com
Hello,
I have extended org.eclipse.core.resources.team.TeamHook and supplied my own
org.eclipse.core.resources.IResourceRuleFactory which returns null for all
its methods. The problem is that even though
org.eclipse.core.resources.IResourceRuleFactory.buildRule returns null, it
does not matter to Eclipse, since that is the only method that cannot be
overridden as is seen in org.eclipse.core.internal.resources.Rules:
/**
* Obtains the scheduling rule from the appropriate factory for a build
operation.
*/
public ISchedulingRule buildRule() {
//team hook currently cannot change this rule
return root;
}
Is there a workaround for this problem? I would like to have buildRule
return null, or for Eclipse to ignore buildRule alltogether.
Best regards
Ricky
|
|
|
Powered by
FUDForum. Page generated in 0.04493 seconds