Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Workaround for overriding buildRule?
Workaround for overriding buildRule? [message #331054] Fri, 22 August 2008 08:58
Eclipse UserFriend
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
Previous Topic:Jars and finding the source
Next Topic:Enabling or disabling command handler based on selection
Goto Forum:
  


Current Time: Sat Jul 27 16:11:25 GMT 2024

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

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

Back to the top