|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.wizard.governancesource.GovernanceSourceInstance
public class GovernanceSourceInstance
GovernanceSource instance.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface net.officefloor.compile.issues.CompilerIssues |
|---|
CompilerIssues.LocationType |
| Method Summary | |
|---|---|
void |
addIssue(CompilerIssues.LocationType locationType,
String location,
OfficeFloorIssues.AssetType assetType,
String assetName,
String issueDescription)
|
void |
addIssue(CompilerIssues.LocationType locationType,
String location,
OfficeFloorIssues.AssetType assetType,
String assetName,
String issueDescription,
Throwable cause)
|
void |
createControls(org.eclipse.swt.widgets.Composite page)
Creates the Control instances to populate the
GovernanceSource Property instances. |
String |
getGovernanceName()
Obtains the name of the Governance. |
String |
getGovernanceSourceClassName()
Obtains the fully qualified class name of the GovernanceSource. |
String |
getGovernanceSourceLabel()
Obtains the label for the GovernanceSource. |
GovernanceType<?,?> |
getGovernanceType()
Obtains the loaded GovernanceType. |
org.eclipse.core.resources.IProject |
getProject()
Obtains the IProject that is adding the Governance. |
PropertyList |
getPropertyList()
Obtains the PropertyList to source the Governance from
the GovernanceSource. |
void |
loadGovernanceInstance(GovernanceInstance governanceInstance)
Loads the particular GovernanceInstance for this
GovernanceSourceInstance to configure properties from. |
void |
loadGovernanceType()
Attempts to load the GovernanceType. |
void |
notifyPropertiesChanged()
Notifies of a change to the PropertyList. |
void |
setErrorMessage(String message)
Specifies an error message. |
void |
setGovernanceName(String governanceName)
Specifies the name of the Governance. |
void |
setTitle(String title)
Specifies the title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setGovernanceName(String governanceName)
Governance.
governanceName - Name of the Governance.public void loadGovernanceInstance(GovernanceInstance governanceInstance)
GovernanceInstance for this
GovernanceSourceInstance to configure properties from.
governanceInstance - GovernanceInstance.public void loadGovernanceType()
GovernanceType.
public String getGovernanceSourceLabel()
GovernanceSource.
GovernanceSource.public String getGovernanceSourceClassName()
GovernanceSource.
GovernanceSource class name.public String getGovernanceName()
Governance.
Governance.public PropertyList getPropertyList()
PropertyList to source the Governance from
the GovernanceSource.
getPropertyList in interface GovernanceSourceExtensionContextPropertyList.public GovernanceType<?,?> getGovernanceType()
GovernanceType.
GovernanceType or null if issue
loading.public void createControls(org.eclipse.swt.widgets.Composite page)
Control instances to populate the
GovernanceSource Property instances.
page - Composite to add Control instances.context - GovernanceSourceInstanceContext.public void setTitle(String title)
GovernanceSourceExtensionContext
setTitle in interface GovernanceSourceExtensionContexttitle - Title.public void setErrorMessage(String message)
GovernanceSourceExtensionContext
setErrorMessage in interface GovernanceSourceExtensionContextmessage - Error message. null indicating no error.public void notifyPropertiesChanged()
GovernanceSourceExtensionContext
Notifies of a change to the PropertyList.
This allows for to report issues in attempting to source the
GovernanceType from the GovernanceSource with the
PropertyList.
notifyPropertiesChanged in interface GovernanceSourceExtensionContextpublic org.eclipse.core.resources.IProject getProject()
GovernanceSourceExtensionContextIProject that is adding the Governance.
getProject in interface GovernanceSourceExtensionContextIProject that is adding the Governance.
public void addIssue(CompilerIssues.LocationType locationType,
String location,
OfficeFloorIssues.AssetType assetType,
String assetName,
String issueDescription)
addIssue in interface CompilerIssues
public void addIssue(CompilerIssues.LocationType locationType,
String location,
OfficeFloorIssues.AssetType assetType,
String assetName,
String issueDescription,
Throwable cause)
addIssue in interface CompilerIssues
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||