Package | Description |
---|---|
griffon.core.mvc |
MVC Group management.
|
org.codehaus.griffon.runtime.core.mvc |
MVC group implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.groovy |
Core implementation [INTERNAL USE].
|
org.codehaus.griffon.runtime.groovy.mvc |
MVC group implementation [INTERNAL USE].
|
Modifier and Type | Method and Description |
---|---|
MVCGroupConfiguration |
MVCGroupManager.cloneMVCGroupConfiguration(java.lang.String mvcType,
java.util.Map<java.lang.String,java.lang.Object> config)
Clones an existing MVCGroupConfiguration, optionally overriding additional config values.
|
MVCGroupConfiguration |
MVCGroupConfigurationFactory.create(java.lang.String mvcType,
java.util.Map<java.lang.String,java.lang.String> members,
java.util.Map<java.lang.String,java.lang.Object> config) |
MVCGroupConfiguration |
MVCGroupManager.findConfiguration(java.lang.String mvcType) |
MVCGroupConfiguration |
MVCGroup.getConfiguration()
Returns the configuration of this group.
|
MVCGroupConfiguration |
MVCGroupManager.newMVCGroupConfiguration(java.lang.String mvcType,
java.util.Map<java.lang.String,java.lang.String> members,
java.util.Map<java.lang.String,java.lang.Object> config)
Creates an MVCConfiguration instance with the given arguments.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,MVCGroupConfiguration> |
MVCGroupManager.getConfigurations() |
Modifier and Type | Method and Description |
---|---|
void |
MVCGroupManager.addConfiguration(MVCGroupConfiguration configuration) |
MVCGroup |
MVCGroupFactory.create(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> members,
MVCGroup parentGroup) |
MVCGroup |
MVCGroupManager.newMVCGroup(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> members,
MVCGroup parentGroup)
Creates a new MVCGroup instance.
|
void |
MVCGroupManager.removeConfiguration(MVCGroupConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
void |
MVCGroupManager.initialize(java.util.Map<java.lang.String,MVCGroupConfiguration> configurations)
Initializes this manager with the group configurations provided by the application and addons.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMVCGroupConfiguration
Base implementation of the
MVCGroupConfiguration interface |
class |
DefaultMVCGroupConfiguration
Default implementation of the
MVCGroupConfiguration interface |
Modifier and Type | Field and Description |
---|---|
protected MVCGroupConfiguration |
AbstractMVCGroup.configuration |
Modifier and Type | Method and Description |
---|---|
MVCGroupConfiguration |
AbstractMVCGroupManager.cloneMVCGroupConfiguration(java.lang.String mvcType,
java.util.Map<java.lang.String,java.lang.Object> config) |
MVCGroupConfiguration |
DefaultMVCGroupConfigurationFactory.create(java.lang.String mvcType,
java.util.Map<java.lang.String,java.lang.String> members,
java.util.Map<java.lang.String,java.lang.Object> config) |
MVCGroupConfiguration |
AbstractMVCGroupManager.findConfiguration(java.lang.String mvcType) |
MVCGroupConfiguration |
AbstractMVCGroup.getConfiguration() |
MVCGroupConfiguration |
DelegatingMVCGroup.getConfiguration() |
MVCGroupConfiguration |
AbstractMVCGroupManager.newMVCGroupConfiguration(java.lang.String mvcType,
java.util.Map<java.lang.String,java.lang.String> members,
java.util.Map<java.lang.String,java.lang.Object> config) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,MVCGroupConfiguration> |
AbstractMVCGroupManager.getConfigurations() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMVCGroupManager.addConfiguration(MVCGroupConfiguration configuration) |
protected void |
DefaultMVCGroupManager.checkIdIsUnique(java.lang.String mvcId,
MVCGroupConfiguration configuration) |
protected java.util.Map<java.lang.String,java.lang.Object> |
DefaultMVCGroupManager.copyAndConfigureArguments(java.util.Map<java.lang.String,java.lang.Object> args,
MVCGroupConfiguration configuration,
java.lang.String mvcId) |
MVCGroup |
DefaultMVCGroupFactory.create(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> members,
MVCGroup parentGroup) |
protected java.util.List<? extends GriffonMvcArtifact> |
AbstractMVCGroupManager.createMVC(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> args) |
protected abstract MVCGroup |
AbstractMVCGroupManager.createMVCGroup(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> args) |
protected MVCGroup |
DefaultMVCGroupManager.createMVCGroup(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> args) |
protected boolean |
DefaultMVCGroupManager.isConfigFlagEnabled(MVCGroupConfiguration configuration,
java.lang.String key) |
MVCGroup |
AbstractMVCGroupManager.newMVCGroup(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> members,
MVCGroup parentGroup) |
void |
AbstractMVCGroupManager.removeConfiguration(MVCGroupConfiguration configuration) |
protected java.lang.String |
DefaultMVCGroupManager.resolveMvcId(MVCGroupConfiguration configuration,
java.lang.String mvcId) |
protected <M extends GriffonModel,V extends GriffonView,C extends GriffonController> |
AbstractMVCGroupManager.withMVCGroup(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> args,
MVCFunction<M,V,C> handler) |
protected void |
AbstractMVCGroupManager.withMVCGroup(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> args,
MVCGroupFunction handler) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractMVCGroupManager.doInitialize(java.util.Map<java.lang.String,MVCGroupConfiguration> configurations) |
protected void |
DefaultMVCGroupManager.doInitialize(java.util.Map<java.lang.String,MVCGroupConfiguration> configurations) |
void |
AbstractMVCGroupManager.initialize(java.util.Map<java.lang.String,MVCGroupConfiguration> configurations) |
Constructor and Description |
---|
AbstractMVCGroup(MVCGroupManager mvcGroupManager,
MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> members,
MVCGroup parentGroup) |
DefaultMVCGroup(MVCGroupManager mvcGroupManager,
MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> members,
MVCGroup parentGroup) |
Modifier and Type | Method and Description |
---|---|
void |
GroovyAddon.onInitializeMVCGroup(MVCGroupConfiguration configuration,
MVCGroup group) |
Modifier and Type | Method and Description |
---|---|
MVCGroup |
GroovyAwareMVCGroupFactory.create(MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> members,
MVCGroup parentGroup) |
Constructor and Description |
---|
GroovyAwareMVCGroup(MVCGroupManager mvcGroupManager,
MVCGroupConfiguration configuration,
java.lang.String mvcId,
java.util.Map<java.lang.String,java.lang.Object> members,
MVCGroup parentGroup) |