|
||||||||||
| 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.
| Method Summary | ||
|---|---|---|
static net.officefloor.compile.managedobject.ManagedObjectType<?> |
getManagedObjectType(net.officefloor.model.desk.DeskManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
Obtains the ManagedObjectType for the
DeskManagedObjectSourceModel. |
|
static net.officefloor.compile.managedobject.ManagedObjectType<?> |
getManagedObjectType(net.officefloor.model.officefloor.OfficeFloorManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
Obtains the ManagedObjectType for the
OfficeFloorManagedObjectSourceModel. |
|
static net.officefloor.compile.managedobject.ManagedObjectType<?> |
getManagedObjectType(net.officefloor.model.office.OfficeManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
Obtains the ManagedObjectType for the
OfficeManagedObjectSourceModel. |
|
static net.officefloor.compile.managedobject.ManagedObjectType<?> |
getManagedObjectType(net.officefloor.model.section.SectionManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
Obtains the ManagedObjectType for the
SectionManagedObjectSourceModel. |
|
static net.officefloor.compile.managedobject.ManagedObjectType<?> |
getManagedObjectType(String managedObjectSourceClassName,
net.officefloor.compile.properties.PropertyList properties,
net.officefloor.compile.OfficeFloorCompiler compiler,
AbstractOfficeFloorEditor<?,?> editor)
Obtains the ManagedObjectType for the
OfficeManagedObjectSourceModel. |
|
static net.officefloor.compile.spi.office.OfficeSection |
getOfficeSection(net.officefloor.model.office.OfficeSectionModel officeSection,
net.officefloor.compile.OfficeFloorCompiler compiler,
net.officefloor.compile.issues.CompilerIssues issues,
AbstractOfficeFloorEditor<?,?> editor)
Obtains the OfficeSection for the OfficeSectionModel. |
|
static net.officefloor.compile.work.WorkType<?> |
getWorkType(net.officefloor.model.desk.WorkModel workModel,
AbstractOfficeFloorEditor<?,?> editor)
Obtains the WorkType for the WorkModel. |
|
static
|
obtainClass(String className,
Class<S> superType,
ClassLoader classLoader,
AbstractOfficeFloorEditor<?,?> editor)
Obtains the Class by its name. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static net.officefloor.compile.work.WorkType<?> getWorkType(net.officefloor.model.desk.WorkModel workModel,
AbstractOfficeFloorEditor<?,?> editor)
WorkType for the WorkModel.
workModel - WorkModel.editor - AbstractOfficeFloorEditor requiring the
WorkType.
WorkType or null if issue obtaining it.
public static net.officefloor.compile.managedobject.ManagedObjectType<?> getManagedObjectType(net.officefloor.model.officefloor.OfficeFloorManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
OfficeFloorManagedObjectSourceModel.
managedObjectSource - OfficeFloorManagedObjectSourceModel.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static net.officefloor.compile.managedobject.ManagedObjectType<?> getManagedObjectType(net.officefloor.model.office.OfficeManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
OfficeManagedObjectSourceModel.
managedObjectSource - OfficeManagedObjectSourceModel.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static net.officefloor.compile.managedobject.ManagedObjectType<?> getManagedObjectType(net.officefloor.model.section.SectionManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
SectionManagedObjectSourceModel.
managedObjectSource - SectionManagedObjectSourceModel.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static net.officefloor.compile.managedobject.ManagedObjectType<?> getManagedObjectType(net.officefloor.model.desk.DeskManagedObjectSourceModel managedObjectSource,
AbstractOfficeFloorEditor<?,?> editor)
ManagedObjectType for the
DeskManagedObjectSourceModel.
managedObjectSource - DeskManagedObjectSourceModel.editor - AbstractOfficeFloorEditor requiring the
ManagedObjectType.
ManagedObjectType or null if issue obtaining
it.
public static net.officefloor.compile.managedobject.ManagedObjectType<?> getManagedObjectType(String managedObjectSourceClassName,
net.officefloor.compile.properties.PropertyList properties,
net.officefloor.compile.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 net.officefloor.compile.spi.office.OfficeSection getOfficeSection(net.officefloor.model.office.OfficeSectionModel officeSection,
net.officefloor.compile.OfficeFloorCompiler compiler,
net.officefloor.compile.issues.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 | |||||||||