Package net.officefloor.gef.ide
Class AbstractIdeTestApplication<R extends Model,RE extends java.lang.Enum<RE>,O>
- java.lang.Object
-
- javafx.application.Application
-
- net.officefloor.gef.ide.AbstractIdeTestApplication<R,RE,O>
-
- Direct Known Subclasses:
ActivityIdeTestApplication,SectionIdeTestApplication,WoofIdeTestApplication
public abstract class AbstractIdeTestApplication<R extends Model,RE extends java.lang.Enum<RE>,O> extends javafx.application.ApplicationAbstract IDE EditorApplication.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AbstractIdeTestApplication()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AbstractAdaptedIdeEditor<R,RE,O>createEditor(EnvironmentBridge envBridge)Creates theAbstractAdaptedIdeEditor.protected abstract java.lang.StringgetConfigurationFileName()Obtains path to theWritableConfigurationItem.protected abstract java.lang.StringgetReplaceConfigurationFileName()Obtains path to theWritableConfigurationItemto replace rootModel.protected <P> voidregister(java.lang.Class<P> prototypeType, java.util.function.Consumer<P> decorator)Registers a prototype decorator.voidstart(javafx.stage.Stage stage)
-
-
-
Method Detail
-
createEditor
protected abstract AbstractAdaptedIdeEditor<R,RE,O> createEditor(EnvironmentBridge envBridge)
Creates theAbstractAdaptedIdeEditor.- Parameters:
envBridge-EnvironmentBridge.- Returns:
AbstractAdaptedIdeEditor.
-
getConfigurationFileName
protected abstract java.lang.String getConfigurationFileName()
Obtains path to theWritableConfigurationItem.- Returns:
- Path to the
WritableConfigurationItem.
-
getReplaceConfigurationFileName
protected abstract java.lang.String getReplaceConfigurationFileName()
Obtains path to theWritableConfigurationItemto replace rootModel.- Returns:
- Path to the
WritableConfigurationItemto replace rootModel.
-
register
protected <P> void register(java.lang.Class<P> prototypeType, java.util.function.Consumer<P> decorator)Registers a prototype decorator.- Type Parameters:
P- Prototype type.- Parameters:
prototypeType- PrototypeClass.decorator- Prototype decorator.
-
start
public void start(javafx.stage.Stage stage) throws java.lang.Exception- Specified by:
startin classjavafx.application.Application- Throws:
java.lang.Exception
-
-