io.github.factoryfx.copperbridge.EngineIdProviderFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of copperBridge Show documentation
Show all versions of copperBridge Show documentation
factoryfx dependency injection framework
The newest version!
package io.github.factoryfx.copperbridge;
import io.github.factoryfx.factory.attribute.types.StringAttribute;
import io.github.factoryfx.factory.FactoryBase;
import org.copperengine.core.EngineIdProvider;
public class EngineIdProviderFactory> extends FactoryBase {
public final StringAttribute idPrefix = new StringAttribute().labelText("id prefix");
public EngineIdProviderFactory() {
configLifeCycle().setCreator(() -> idPrefix::get);
}
}