public class PropBtnPart extends Object implements IBufferedPartFactory
| Modifier and Type | Field and Description |
|---|---|
static PropBtnPart |
INSTANCE |
| Constructor and Description |
|---|
PropBtnPart() |
| Modifier and Type | Method and Description |
|---|---|
Object |
decodeKey(String rurl,
IExtendedParameterInfo info)
Decode the parameters for this button thingy.
|
void |
generate(PartResponse pr,
DomApplication da,
Object key,
IResourceDependencyList rdl)
Generate the button class.
|
public static final PropBtnPart INSTANCE
@Nonnull public Object decodeKey(@Nonnull String rurl, @Nonnull IExtendedParameterInfo info) throws Exception
decodeKey in interface IBufferedPartFactoryExceptionto.etc.domui.server.parts.IBufferedPartFactory#decodeKey(java.lang.String, to.etc.domui.server.IParameterInfo)public void generate(@Nonnull PartResponse pr, @Nonnull DomApplication da, @Nonnull Object key, @Nonnull IResourceDependencyList rdl) throws Exception
generate in interface IBufferedPartFactoryda - The Application on behalf of which this resource is generated.key - The key, as specified by decodeKey.rdl - When running in development mode, each file resource used should be added
to this list. The buffer code will use that list to check whether a source
for this thing has changed; if so it will be re-generated. This causes runtime
editability for parameter files of any buffered thingydoo.Exceptionto.etc.domui.server.parts.IBufferedPartFactory#generate(java.io.OutputStream, to.etc.domui.server.DomApplication, java.lang.Object)Copyright © 2017 etc.to. All rights reserved.