public class PivotTableAggregationEdit extends AbstractEditor<PivotTableAggregation> { @WindowParam protected Collection<PivotTableAggregation> existingItems;
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())); } }
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 List<AppPropertyEntity> exported;
@WindowParam protected String screenId; protected WidgetRepository widgetRepository; @WindowParam protected Widget widget; @WindowParam protected Dashboard dashboard; @WindowParam protected DashboardFrame dashboardFrame;
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;
protected LookupField processLookup; @WindowParam(name = "selectedProcDefinition") protected ProcDefinition selectedProcDefinition;
@Inject protected Table<Parameter> parametersTable; @WindowParam(name = DASHBOARD) protected Dashboard dashboard;
protected Metadata metadata; @WindowParam(name = "existingNames") protected List<String> existingNames;
protected CollectionDatasource<User, UUID> usersDs; @WindowParam(required = true) protected Map<User, String> passwords;
protected WidgetRepository widgetRepository; @WindowParam protected Widget widget; @WindowParam protected Dashboard dashboard; @WindowParam protected DashboardFrame dashboardFrame; @WindowParam protected String lookupWindowId;
protected Button cancelBtn; @WindowParam(required = true) protected Set<User> users;
@WindowParam protected String screenId;
@Route("not-found") @UiController(NotFoundScreen.ID) public class NotFoundScreen extends Screen { public static final String ID = "NotFoundScreen"; @WindowParam(name = "requestedRoute", required = true) protected String requestedRoute; @Inject protected UiComponents uiComponents; @Inject protected Messages messages; @Subscribe protected void onInit(InitEvent event) { Window window = getWindow(); Label<String> msgLabel = uiComponents.create(Label.TYPE_STRING); msgLabel.setAlignment(Component.Alignment.TOP_CENTER); msgLabel.addStyleName(HaloTheme.LABEL_H1); msgLabel.setValue(messages.formatMessage(NotFoundScreen.class, "notAssociatedRoute", requestedRoute)); window.add(msgLabel); window.setCaption(messages.formatMessage(NotFoundScreen.class, "tabCaption", requestedRoute)); } }