Class BaseButtonCompiler<S extends GroupItem,B extends AbstractButton>
- java.lang.Object
-
- net.n2oapp.framework.config.metadata.compile.toolbar.BaseButtonCompiler<S,B>
-
- All Implemented Interfaces:
SourceClassAware,SourceCompiler<B,S,CompileContext<?,?>>,BaseSourceCompiler<B,S,CompileContext<?,?>>
- Direct Known Subclasses:
PerformButtonCompiler,SubmenuCompiler
public abstract class BaseButtonCompiler<S extends GroupItem,B extends AbstractButton> extends java.lang.Object implements BaseSourceCompiler<B,S,CompileContext<?,?>>
Компиляция ToolbarItem
-
-
Constructor Summary
Constructors Constructor Description BaseButtonCompiler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcompileConditionsAndDependencies(MenuItem button, AbstractMenuItem source, CompileContext<?,?> context, CompileProcessor p)Компиляция условий и зависимостей между полем и кнопкойprotected voidinitItem(MenuItem button, AbstractMenuItem source, IndexScope idx, CompileContext<?,?> context, CompileProcessor p)protected java.lang.StringinitWidgetId(AbstractMenuItem source, CompileContext<?,?> context, CompileProcessor p)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.n2oapp.framework.api.metadata.aware.SourceClassAware
getSourceClass
-
Methods inherited from interface net.n2oapp.framework.api.metadata.compile.SourceCompiler
compile
-
-
-
-
Method Detail
-
initItem
protected void initItem(MenuItem button, AbstractMenuItem source, IndexScope idx, CompileContext<?,?> context, CompileProcessor p)
-
initWidgetId
protected java.lang.String initWidgetId(AbstractMenuItem source, CompileContext<?,?> context, CompileProcessor p)
-
compileConditionsAndDependencies
protected void compileConditionsAndDependencies(MenuItem button, AbstractMenuItem source, CompileContext<?,?> context, CompileProcessor p)
Компиляция условий и зависимостей между полем и кнопкой- Parameters:
button- клиентская модель кнопкиsource- исходная модель поля
-
-