public class AdministratorSourceInstance extends AbstractCompilerIssues implements AdministratorSourceExtensionContext
AdministratorSource
instance.Modifier and Type | Method and Description |
---|---|
void |
createControls(org.eclipse.swt.widgets.Composite page)
Creates the
Control instances to populate the
AdministratorSourceProperty instances. |
String |
getAdministratorName()
Obtains the name of the
OfficeAdministrator . |
AdministratorScope |
getAdministratorScope()
Obtains the
AdministratorScope for the
OfficeAdministrator . |
String |
getAdministratorSourceClassName()
Obtains fully qualified class name of the
AdministratorSource . |
String |
getAdministratorSourceLabel()
Obtains the label for the
AdministratorSource . |
AdministratorType<?,?> |
getAdministratorType()
Obtains the loaded
AdministratorType . |
org.eclipse.core.resources.IProject |
getProject()
Obtains the
IProject that is adding the Administrator . |
PropertyList |
getPropertyList()
|
protected void |
handleDefaultIssue(DefaultCompilerIssue issue)
Implement to handle
DefaultCompilerIssue . |
void |
loadAdministratorType()
Attempts to load the
AdministratorType . |
void |
notifyPropertiesChanged()
Notifies of a change to the
PropertyList . |
void |
setAdministratorNameAndScope(String administratorName,
AdministratorScope administratorScope)
Specifies the name and
AdministratorScope of the
OfficeAdministrator . |
void |
setErrorMessage(String message)
Specifies an error message.
|
void |
setTitle(String title)
Specifies the title.
|
addIssue, addIssue, captureIssues, createCompilerIssue, handleIssue
public void setAdministratorNameAndScope(String administratorName, AdministratorScope administratorScope)
AdministratorScope
of the
OfficeAdministrator
.administratorName
- Name of the OfficeAdministrator
.administratorScope
- AdministratorScope
.public void loadAdministratorType()
AdministratorType
.public String getAdministratorSourceLabel()
AdministratorSource
.AdministratorSource
.public String getAdministratorSourceClassName()
AdministratorSource
.AdministratorSource
class name.public String getAdministratorName()
OfficeAdministrator
.OfficeAdministrator
.public PropertyList getPropertyList()
getPropertyList
in interface AdministratorSourceExtensionContext
PropertyList
.public AdministratorScope getAdministratorScope()
AdministratorScope
for the
OfficeAdministrator
.AdministratorScope
for the OfficeAdministrator
.public AdministratorType<?,?> getAdministratorType()
AdministratorType
.AdministratorType
or null
if issue
loading.public void createControls(org.eclipse.swt.widgets.Composite page)
Control
instances to populate the
AdministratorSourceProperty
instances.page
- Composite
to add Control
instances.public void setTitle(String title)
AdministratorSourceExtensionContext
setTitle
in interface AdministratorSourceExtensionContext
title
- Title.public void setErrorMessage(String message)
AdministratorSourceExtensionContext
setErrorMessage
in interface AdministratorSourceExtensionContext
message
- Error message. null
indicating no error.public void notifyPropertiesChanged()
AdministratorSourceExtensionContext
Notifies of a change to the PropertyList
.
This allows for to report issues in attempting to source the
AdministratorType
from the AdministratorSource
with the
PropertyList
.
notifyPropertiesChanged
in interface AdministratorSourceExtensionContext
public org.eclipse.core.resources.IProject getProject()
AdministratorSourceExtensionContext
IProject
that is adding the Administrator
.getProject
in interface AdministratorSourceExtensionContext
IProject
that is adding the Administrator
.protected void handleDefaultIssue(DefaultCompilerIssue issue)
AbstractCompilerIssues
DefaultCompilerIssue
.handleDefaultIssue
in class AbstractCompilerIssues
issue
- DefaultCompilerIssue
.Copyright © 2005–2016. All rights reserved.