|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.officefloor.eclipse.util.ModelUtil
public class ModelUtil
Utility class for working with the Model instances.
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static WorkType<?> getWorkType(WorkModel workModel,
AbstractOfficeFloorEditor<?,?> editor)
WorkType for the WorkModel.
workModel - WorkModel.editor - AbstractOfficeFloorEditor requiring the
WorkType.
WorkType or null if issue obtaining it.
public static ManagedObjectType<?> getManagedObjectType(OfficeFloorManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
OfficeFloorManagedObjectSourceModel.
managedObjectSource - OfficeFloorManagedObjectSourceModel.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static ManagedObjectType<?> getManagedObjectType(OfficeManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
OfficeManagedObjectSourceModel.
managedObjectSource - OfficeManagedObjectSourceModel.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static ManagedObjectType<?> getManagedObjectType(SectionManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
SectionManagedObjectSourceModel.
managedObjectSource - SectionManagedObjectSourceModel.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static ManagedObjectType<?> getManagedObjectType(DeskManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
DeskManagedObjectSourceModel.
managedObjectSource - DeskManagedObjectSourceModel.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static ManagedObjectType<?> getManagedObjectType(String managedObjectSourceClassName,
PropertyList properties,
OfficeFloorCompiler compiler,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
OfficeManagedObjectSourceModel.
managedObjectSourceClassName - Class name of the ManagedObjectSource.properties - PropertyList.compiler - OfficeFloorCompiler.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static OfficeSection getOfficeSection(OfficeSectionModel officeSection,
OfficeFloorCompiler compiler,
CompilerIssues issues,
AbstractOfficeFloorEditor<?,?> editor)
OfficeSection for the OfficeSectionModel.
officeSection - OfficeSectionModel.compiler - OfficeFloorCompiler.issues - CompilerIssues.editor - AbstractOfficeFloorEditor.
OfficeSection or null if failed to load.
public static <S> Class<S> obtainClass(String className,
Class<S> superType,
ClassLoader classLoader,
AbstractOfficeFloorEditor<?,?> editor)
Class by its name.
className - Fully qualified name of the class.superType - Type that the class must be a sub type.classLoader - ClassLoader.editor - AbstractOfficeFloorEditor to report issues and obtain
the IProject.
Class or null if could not obtain.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||