public class TeamSourceInstance extends AbstractCompilerIssues implements TeamSourceExtensionContext
TeamSource
instance.Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite page)
Creates the
Control instances to populate the
TeamSourceProperty instances. |
org.eclipse.core.resources.IProject |
getProject()
Obtains the
IProject that is adding the Team . |
PropertyList |
getPropertyList()
|
String |
getTeamName()
Obtains the name of the
OfficeTeam . |
String |
getTeamSourceClassName()
Obtains the fully qualified class name of the
TeamSource . |
String |
getTeamSourceLabel()
Obtains the label for the
TeamSource . |
TeamType |
getTeamType()
Obtains the loaded
TeamType . |
protected void |
handleDefaultIssue(DefaultCompilerIssue issue)
Implement to handle
DefaultCompilerIssue . |
void |
loadTeamType()
Attempts to load the
TeamType . |
void |
notifyPropertiesChanged()
Notifies of a change to the
PropertyList . |
void |
setErrorMessage(String message)
Specifies an error message.
|
void |
setTeamName(String teamName)
Specifies the location of the
OfficeTeam . |
void |
setTitle(String title)
Specifies the title.
|
addIssue, addIssue, captureIssues, createCompilerIssue, handleIssue
public void setTeamName(String teamName)
OfficeTeam
.teamName
- Name of the OfficeTeam
.public void loadTeamType()
TeamType
.public String getTeamSourceLabel()
TeamSource
.TeamSource
.public String getTeamSourceClassName()
TeamSource
.TeamSource
class name.public String getTeamName()
OfficeTeam
.OfficeTeam
.public PropertyList getPropertyList()
getPropertyList
in interface TeamSourceExtensionContext
PropertyList
.public TeamType getTeamType()
TeamType
.TeamType
or null
if issue loading.public void createControls(org.eclipse.swt.widgets.Composite page)
Control
instances to populate the
TeamSourceProperty
instances.page
- Composite
to add Control
instances.public void setTitle(String title)
TeamSourceExtensionContext
setTitle
in interface TeamSourceExtensionContext
title
- Title.public void setErrorMessage(String message)
TeamSourceExtensionContext
setErrorMessage
in interface TeamSourceExtensionContext
message
- Error message. null
indicating no error.public void notifyPropertiesChanged()
TeamSourceExtensionContext
Notifies of a change to the PropertyList
.
This allows for to report issues in attempting to source the
TeamType
from the TeamSource
with the
PropertyList
.
notifyPropertiesChanged
in interface TeamSourceExtensionContext
public org.eclipse.core.resources.IProject getProject()
TeamSourceExtensionContext
IProject
that is adding the Team
.getProject
in interface TeamSourceExtensionContext
IProject
that is adding the Team
.protected void handleDefaultIssue(DefaultCompilerIssue issue)
AbstractCompilerIssues
DefaultCompilerIssue
.handleDefaultIssue
in class AbstractCompilerIssues
issue
- DefaultCompilerIssue
.Copyright © 2005–2016. All rights reserved.