public class PivotTableAggregationEdit extends AbstractEditor<PivotTableAggregation> { @WindowParam protected Collection<PivotTableAggregation> existingItems;
name = element.getAnnotation(Resource.class).name(); } else if (annotationClass == WindowParam.class) { name = element.getAnnotation(WindowParam.class).name(); required = element.getAnnotation(WindowParam.class).required(); } else if (element.isAnnotationPresent(Autowired.class)) { required = element.getAnnotation(Autowired.class).required();
public class JsonChartController extends AbstractFrame { @WindowParam(required = true) protected String chartJson; @Inject protected CustomChart reportJsonChart; @Override public void init(Map<String, Object> params) { super.init(params); reportJsonChart.setConfiguration(new BasicChart()); reportJsonChart.setNativeJson(chartJson); } /** * Used for default initialization in * WebChart.CubaAmchartsSceneExt#setupDefaults(AbstractChart) */ protected static class BasicChart extends AbstractChart<BasicChart> { } }
protected PivotTable pivotTable; @WindowParam(name = DATA_ITEMS) protected List<DataItem> dataItems; @WindowParam(name = PROPERTIES, required = true) protected Map<String, String> properties; @WindowParam(name = NATIVE_JSON) protected String nativeJson;
protected static final String GENERATION_MODE = "generationMode"; @WindowParam(name = PARAMETER_SELECTED_ENTITIES) protected Collection selectedEntities;
public class ScheduledExecutionBrowser extends AbstractWindow { @Inject protected Table<ScheduledExecution> executionsTable; @Inject protected CollectionDatasource executionsDs; @Inject protected PersistenceManagerService persistenceManager; @WindowParam protected ScheduledTask task; @Override public void init(Map<String, Object> params) { executionsTable.addAction(new RefreshAction(executionsTable)); int maxResults = persistenceManager.getFetchUI(executionsDs.getMetaClass().getName()); executionsDs.setMaxResults(maxResults); setCaption(formatMessage("executionBrowseCaption", task.name())); } }
public class ScriptEditorDialog extends AbstractWindow { @WindowParam protected SourceCodeEditor.Mode mode; @WindowParam protected Suggester suggester; @WindowParam protected String scriptValue; @WindowParam protected boolean helpVisible; @WindowParam protected String helpMsgKey;
protected LookupField<SearchFolder> folderSelect; @WindowParam protected CubaFoldersPane foldersPane; @WindowParam(name = "items") protected Set ids; @WindowParam protected String componentPath; @WindowParam protected String componentId; @WindowParam protected String entityType; @WindowParam protected String entityClass; @WindowParam protected String query;
protected ModelService modelService; @WindowParam(name = "srcModel") protected ProcModel srcModel;
@WindowParam protected String screenId; protected WidgetRepository widgetRepository; @WindowParam protected Widget widget; @WindowParam protected Dashboard dashboard; @WindowParam protected DashboardFrame dashboardFrame;
@WindowParam protected List<AppPropertyEntity> exported;
protected TaggingService taggingService; @WindowParam(required = true) Entity taggable; @WindowParam String persistentAttribute;
protected TextArea analyzeResultBox; @WindowParam(required = true) protected List<LayoutTip> tipsList;
protected HierarchicalDatasource<Group, UUID> groupsDs; @WindowParam(name = "selectedGroup") protected Group selectedGroup;
@Named("uiModelConverter") protected DashboardModelConverter converter; @WindowParam protected DashboardFrame dashboardFrame; @WindowParam protected Dashboard dashboard;
protected LookupField processLookup; @WindowParam(name = "selectedProcDefinition") protected ProcDefinition selectedProcDefinition;
@Inject protected Table<Parameter> parametersTable; @WindowParam(name = DASHBOARD) protected Dashboard dashboard;
@WindowParam(name = "formDefinition", required = true) protected ProcFormDefinition formDefinition; @WindowParam(name = "procInstance", required = true) protected ProcInstance procInstance; @WindowParam(name = "procTask") protected ProcTask procTask;
protected Metadata metadata; @WindowParam(name = "existingNames") protected List<String> existingNames;
protected TimeSource timeSource; @WindowParam protected Object result; @WindowParam protected Throwable exception; @WindowParam protected String methodName; @WindowParam protected String beanName;