Class PerformButtonCompiler
java.lang.Object
net.n2oapp.framework.config.metadata.compile.toolbar.BaseButtonCompiler<N2oButton,PerformButton>
net.n2oapp.framework.config.metadata.compile.toolbar.PerformButtonCompiler
- All Implemented Interfaces:
MetadataEnvironmentAware,SourceClassAware,SourceCompiler<PerformButton,,N2oButton, CompileContext<?, ?>> BaseSourceCompiler<PerformButton,N2oButton, CompileContext<?, ?>>
@Component
public class PerformButtonCompiler
extends BaseButtonCompiler<N2oButton,PerformButton>
implements MetadataEnvironmentAware
Компиляция кнопки
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile(N2oButton source, CompileContext<?, ?> context, CompileProcessor p) protected voidcompileDependencies(N2oButton source, PerformButton button, CompileProcessor p) Компиляция условий и зависимостей кнопкиprotected voidinitDefaults(N2oButton source, CompileProcessor p) voidsetEnvironment(MetadataEnvironment environment) Methods inherited from class net.n2oapp.framework.config.metadata.compile.toolbar.BaseButtonCompiler
compileBase, compileCondition
-
Field Details
-
buttonGeneratorFactory
-
-
Constructor Details
-
PerformButtonCompiler
public PerformButtonCompiler()
-
-
Method Details
-
getSourceClass
- Specified by:
getSourceClassin interfaceSourceClassAware
-
setEnvironment
- Specified by:
setEnvironmentin interfaceMetadataEnvironmentAware
-
compile
- Specified by:
compilein interfaceSourceCompiler<PerformButton,N2oButton, CompileContext<?, ?>>
-
initDefaults
- Overrides:
initDefaultsin classBaseButtonCompiler<N2oButton,PerformButton>
-
compileDependencies
Компиляция условий и зависимостей кнопки- Parameters:
source- Исходная модель кнопкиbutton- Клиентская модель кнопкиp- Процессор сборки метаданных
-