org.eclipse.mylar.internal.team.subclipse
Class SubclipseTeamRepositoryProvider

java.lang.Object
  extended by org.eclipse.mylar.team.AbstractTeamRepositoryProvider
      extended by org.eclipse.mylar.internal.team.subclipse.SubclipseTeamRepositoryProvider

public class SubclipseTeamRepositoryProvider
extends AbstractTeamRepositoryProvider

Subclipse integration for Mylar.


Constructor Summary
SubclipseTeamRepositoryProvider()
           
 
Method Summary
 void commit(org.eclipse.core.resources.IResource[] resources)
          Asks the team provider to commit a set of resources that may be managed by the team provider.
 org.eclipse.team.internal.core.subscribers.ActiveChangeSetManager getActiveChangeSetManager()
          Return the change set collector that manages the active change set for the participant associated with this capability.
 boolean hasOutgoingChanges(org.eclipse.core.resources.IResource[] resources)
          Determines if the team provider manages at least one of the resources and at least one of the resources has an 'outgoing' state (locally changed).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubclipseTeamRepositoryProvider

public SubclipseTeamRepositoryProvider()
Method Detail

getActiveChangeSetManager

public org.eclipse.team.internal.core.subscribers.ActiveChangeSetManager getActiveChangeSetManager()
Description copied from class: AbstractTeamRepositoryProvider
Return the change set collector that manages the active change set for the participant associated with this capability. A null is returned if active change sets are not supported. The default is to return null. This method must be overridden by subclasses that support active change sets.

Overrides:
getActiveChangeSetManager in class AbstractTeamRepositoryProvider
Returns:
the change set collector that manages the active change set for the participant associated with this capability or null if active change sets are not supported.

hasOutgoingChanges

public boolean hasOutgoingChanges(org.eclipse.core.resources.IResource[] resources)
Description copied from class: AbstractTeamRepositoryProvider
Determines if the team provider manages at least one of the resources and at least one of the resources has an 'outgoing' state (locally changed). If this method returns true, the team provider may be later asked to AbstractTeamRepositoryProvider.commit(org.eclipse.core.resources.IResource[]) them. The set of resources may contain resources from projects that are not managed by your provider or not managed at all.

Overrides:
hasOutgoingChanges in class AbstractTeamRepositoryProvider
Returns:
true if the team provider manages at least one of the resources or false otherwise.

commit

public void commit(org.eclipse.core.resources.IResource[] resources)
Description copied from class: AbstractTeamRepositoryProvider
Asks the team provider to commit a set of resources that may be managed by the team provider. It is up to the team provider to only operate on resources that are being managed by it. The set of resources may contain resources from projects that are not managed by your provider or not managed at all.

Overrides:
commit in class AbstractTeamRepositoryProvider
Parameters:
resources - Set of resources that need to be committed