public class OfficeSourceInstance extends AbstractCompilerIssues implements OfficeSourceExtensionContext
OfficeSource
instance.Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite page)
Creates the
Control instances to populate the
OfficeSourceProperty instances. |
String |
getOfficeLocation()
Obtains the location of the
Office . |
String |
getOfficeName()
Obtains the name of the
Office . |
String |
getOfficeSourceClassName()
Obtains the fully qualified class name of the
OfficeSource . |
String |
getOfficeSourceLabel()
Obtains the label for the
OfficeSource . |
OfficeType |
getOfficeType()
Obtains the loaded
OfficeType . |
org.eclipse.core.resources.IProject |
getProject()
Obtains the
IProject that is adding the Office . |
PropertyList |
getPropertyList()
|
protected void |
handleDefaultIssue(DefaultCompilerIssue issue)
Implement to handle
DefaultCompilerIssue . |
void |
loadOfficeType()
Attempts to load the
OfficeType . |
void |
notifyPropertiesChanged()
Notifies of a change to the
PropertyList . |
void |
setErrorMessage(String message)
Specifies an error message.
|
void |
setOfficeNameAndLocation(String officeName,
String officeLocation)
Specifies the location of the
Office . |
void |
setTitle(String title)
Specifies the title.
|
addIssue, addIssue, captureIssues, createCompilerIssue, handleIssue
public void setOfficeNameAndLocation(String officeName, String officeLocation)
Office
.public void loadOfficeType()
OfficeType
.public String getOfficeSourceLabel()
OfficeSource
.OfficeSource
.public String getOfficeSourceClassName()
OfficeSource
.OfficeSource
class name.public String getOfficeName()
Office
.Office
.public String getOfficeLocation()
Office
.Office
.public PropertyList getPropertyList()
getPropertyList
in interface OfficeSourceExtensionContext
PropertyList
.public OfficeType getOfficeType()
OfficeType
.OfficeType
or null
if issue loading.public void createControls(org.eclipse.swt.widgets.Composite page)
Control
instances to populate the
OfficeSourceProperty
instances.page
- Composite
to add Control
instances.public void setTitle(String title)
OfficeSourceExtensionContext
setTitle
in interface OfficeSourceExtensionContext
title
- Title.public void setErrorMessage(String message)
OfficeSourceExtensionContext
setErrorMessage
in interface OfficeSourceExtensionContext
message
- Error message. null
indicating no error.public void notifyPropertiesChanged()
OfficeSourceExtensionContext
Notifies of a change to the PropertyList
.
This allows for to report issues in attempting to source the
OfficeType
from the OfficeSource
with the
PropertyList
.
notifyPropertiesChanged
in interface OfficeSourceExtensionContext
public org.eclipse.core.resources.IProject getProject()
OfficeSourceExtensionContext
IProject
that is adding the Office
.getProject
in interface OfficeSourceExtensionContext
IProject
that is adding the Office
.protected void handleDefaultIssue(DefaultCompilerIssue issue)
AbstractCompilerIssues
DefaultCompilerIssue
.handleDefaultIssue
in class AbstractCompilerIssues
issue
- DefaultCompilerIssue
.Copyright © 2005–2016. All rights reserved.