org.eclipse.mylar.internal.team.ccvs
Class CvsRepositoryProvider
java.lang.Object
org.eclipse.mylar.team.AbstractTeamRepositoryProvider
org.eclipse.mylar.internal.team.ccvs.CvsRepositoryProvider
public class CvsRepositoryProvider
- extends AbstractTeamRepositoryProvider
CVS integration for Mylar.
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 |
WIZARD_LABEL
private static final java.lang.String WIZARD_LABEL
- See Also:
- Constant Field Values
CvsRepositoryProvider
public CvsRepositoryProvider()
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