|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.wizard.officesource.OfficeSourceInstance
public class OfficeSourceInstance
OfficeSource 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
OfficeLoaderProperty 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()
Obtains the PropertyList to source the Office from the
OfficeSource. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setOfficeNameAndLocation(String officeName,
String officeLocation)
Office.
officeName - Name of the Office.officeLocation - Location of the 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()
PropertyList to source the Office from the
OfficeSource.
getPropertyList in interface OfficeSourceExtensionContextPropertyList.public OfficeType getOfficeType()
OfficeType.
OfficeType or null if issue loading.public void createControls(org.eclipse.swt.widgets.Composite page)
Control instances to populate the
OfficeLoaderProperty instances.
page - Composite to add Control instances.context - OfficeSourceInstanceContext.public void setTitle(String title)
OfficeSourceExtensionContext
setTitle in interface OfficeSourceExtensionContexttitle - Title.public void setErrorMessage(String message)
OfficeSourceExtensionContext
setErrorMessage in interface OfficeSourceExtensionContextmessage - 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 OfficeSourceExtensionContextpublic org.eclipse.core.resources.IProject getProject()
OfficeSourceExtensionContextIProject that is adding the Office.
getProject in interface OfficeSourceExtensionContextIProject that is adding the Office.
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 | |||||||||