|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.wizard.sectionsource.SectionSourceInstance
public class SectionSourceInstance
SectionSource 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
SectionLoaderProperty instances. |
OfficeSection |
getOfficeSection()
Obtains the loaded OfficeSection. |
org.eclipse.core.resources.IProject |
getProject()
Obtains the IProject that is adding the OfficeSection. |
PropertyList |
getPropertyList()
Obtains the PropertyList to source the OfficeSection from
the SectionSource. |
String |
getSectionLocation()
Obtains the location of the OfficeSection. |
String |
getSectionName()
Obtains the name of the OfficeSection. |
String |
getSectionSourceClassName()
Obtains the fully qualified class name of the SectionSource. |
String |
getSectionSourceLabel()
Obtains the label for the SectionSource. |
SectionType |
getSectionType()
Obtains the loaded SectionType. |
void |
loadSectionInstance(SectionInstance sectionInstance)
Loads the particular SectionInstance for this
SectionSourceInstance to configure properties from. |
void |
loadSectionType()
Attempts to load the SectionType. |
boolean |
loadSectionType(CompilerIssues issues)
Attempts to load the SectionType for the
ClassSectionSource. |
void |
notifyPropertiesChanged()
Notifies of a change to the PropertyList. |
void |
setErrorMessage(String message)
Specifies an error message. |
void |
setSectionNameAndLocation(String sectionName,
String sectionLocation)
Specifies the location of the OfficeSection. |
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 setSectionNameAndLocation(String sectionName,
String sectionLocation)
OfficeSection.
sectionName - Name of the OfficeSection.sectionLocation - Location of the OfficeSection.public void loadSectionInstance(SectionInstance sectionInstance)
SectionInstance for this
SectionSourceInstance to configure properties from.
sectionInstance - SectionInstance.public void loadSectionType()
SectionType.
public boolean loadSectionType(CompilerIssues issues)
SectionType for the
ClassSectionSource.
issues - CompilerIssues to be notified of issues in loading.
true if loaded.public String getSectionSourceLabel()
SectionSource.
SectionSource.public String getSectionSourceClassName()
SectionSource.
SectionSource class name.public String getSectionName()
OfficeSection.
OfficeSection.public String getSectionLocation()
OfficeSection.
OfficeSection.public PropertyList getPropertyList()
PropertyList to source the OfficeSection from
the SectionSource.
getPropertyList in interface SectionSourceExtensionContextPropertyList.public SectionType getSectionType()
SectionType.
SectionType or null if issue loading.public OfficeSection getOfficeSection()
OfficeSection.
OfficeSection or null if issue
loading.public void createControls(org.eclipse.swt.widgets.Composite page)
Control instances to populate the
SectionLoaderProperty instances.
page - Composite to add Control instances.context - SectionSourceInstanceContext.public void setTitle(String title)
SectionSourceExtensionContext
setTitle in interface SectionSourceExtensionContexttitle - Title.public void setErrorMessage(String message)
SectionSourceExtensionContext
setErrorMessage in interface SectionSourceExtensionContextmessage - Error message. null indicating no error.public void notifyPropertiesChanged()
SectionSourceExtensionContext
Notifies of a change to the PropertyList.
This allows for to report issues in attempting to source the
SectionType from the SectionSource with the
PropertyList.
notifyPropertiesChanged in interface SectionSourceExtensionContextpublic org.eclipse.core.resources.IProject getProject()
SectionSourceExtensionContextIProject that is adding the OfficeSection.
getProject in interface SectionSourceExtensionContextIProject that is adding the OfficeSection.
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 | |||||||||