|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.wizard.managedobjectsource.ManagedObjectSourceInstance
public class ManagedObjectSourceInstance
ManagedObjectSource 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
ManagedObjectLoaderProperty instances. |
ClassLoader |
getClassLoader()
Obtains the ClassLoader for adding the
ManagedObjectSource. |
String |
getManagedObjectSourceClassName()
Obtains the fully qualified class name of the ManagedObjectSource
. |
String |
getManagedObjectSourceLabel()
Obtains the label for the ManagedObjectSource. |
ManagedObjectType<?> |
getManagedObjectType()
Obtains the loaded ManagedObjectType. |
org.eclipse.core.resources.IProject |
getProject()
Obtains the IProject that is adding the
ManagedObjectSource. |
PropertyList |
getPropertyList()
Obtains the PropertyList to source the ManagedObject from
the ManagedObjectSource. |
String |
getSuggestedManagedObjectName()
Obtains the suggested name for the ManagedObject. |
void |
loadManagedObjectType()
Attempts to load the ManagedObjectType. |
void |
notifyPropertiesChanged()
Notifies of a change to the PropertyList. |
void |
setErrorMessage(String message)
Specifies an error message. |
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 loadManagedObjectType()
ManagedObjectType.
public String getManagedObjectSourceLabel()
ManagedObjectSource.
ManagedObjectSource.public String getManagedObjectSourceClassName()
ManagedObjectSource
.
ManagedObjectSource class name.public PropertyList getPropertyList()
PropertyList to source the ManagedObject from
the ManagedObjectSource.
getPropertyList in interface ManagedObjectSourceExtensionContextPropertyList.public ManagedObjectType<?> getManagedObjectType()
ManagedObjectType.
ManagedObjectType or null if issue
loading.public String getSuggestedManagedObjectName()
ManagedObject.
ManagedObject.public void createControls(org.eclipse.swt.widgets.Composite page)
Control instances to populate the
ManagedObjectLoaderProperty instances.
page - Composite to add Control instances.context - ManagedObjectSourceInstanceContext.public void setTitle(String title)
ManagedObjectSourceExtensionContext
setTitle in interface ManagedObjectSourceExtensionContexttitle - Title.public void setErrorMessage(String message)
ManagedObjectSourceExtensionContext
setErrorMessage in interface ManagedObjectSourceExtensionContextmessage - Error message. null indicating no error.public void notifyPropertiesChanged()
ManagedObjectSourceExtensionContext
Notifies of a change to the PropertyList.
This allows for to report issues in attempting to source the
ManagedObjectType from the ManagedObjectSource with the
PropertyList.
notifyPropertiesChanged in interface ManagedObjectSourceExtensionContextpublic org.eclipse.core.resources.IProject getProject()
ManagedObjectSourceExtensionContextIProject that is adding the
ManagedObjectSource.
getProject in interface ManagedObjectSourceExtensionContextIProject that is adding the ManagedObjectSource.public ClassLoader getClassLoader()
ManagedObjectSourceExtensionContextClassLoader for adding the
ManagedObjectSource.
getClassLoader in interface ManagedObjectSourceExtensionContextClassLoader for adding the ManagedObjectSource.
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 | |||||||||