本文整理了Java中com.haulmont.cuba.gui.WindowParam.<init>()
方法的一些代码示例,展示了WindowParam.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WindowParam.<init>()
方法的具体详情如下:
包路径:com.haulmont.cuba.gui.WindowParam
类名称:WindowParam
方法名:<init>
暂无
代码示例来源:origin: com.haulmont.reports/reports-gui
public class PivotTableAggregationEdit extends AbstractEditor<PivotTableAggregation> {
@WindowParam
protected Collection<PivotTableAggregation> existingItems;
代码示例来源:origin: com.haulmont.charts/charts-web
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> {
}
}
代码示例来源:origin: com.haulmont.charts/charts-web
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;
代码示例来源:origin: com.haulmont.addon.admintools/cuba-at-gui
protected static final String GENERATION_MODE = "generationMode";
@WindowParam(name = PARAMETER_SELECTED_ENTITIES)
protected Collection selectedEntities;
代码示例来源:origin: com.haulmont.cuba/cuba-gui
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()));
}
}
代码示例来源:origin: com.haulmont.cuba/cuba-web
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;
代码示例来源:origin: com.haulmont.bpm/bpm-gui
protected ModelService modelService;
@WindowParam(name = "srcModel")
protected ProcModel srcModel;
代码示例来源:origin: com.haulmont.cuba/cuba-gui
@WindowParam
protected List<AppPropertyEntity> exported;
代码示例来源:origin: com.haulmont.addon.dashboard/dashboard-web
@WindowParam
protected String screenId;
protected WidgetRepository widgetRepository;
@WindowParam
protected Widget widget;
@WindowParam
protected Dashboard dashboard;
@WindowParam
protected DashboardFrame dashboardFrame;
代码示例来源:origin: de.diedavids.cuba.taggable/taggable-web
protected TaggingService taggingService;
@WindowParam(required = true)
Entity taggable;
@WindowParam
String persistentAttribute;
代码示例来源:origin: com.haulmont.cuba/cuba-gui
protected TextArea analyzeResultBox;
@WindowParam(required = true)
protected List<LayoutTip> tipsList;
代码示例来源:origin: com.haulmont.cuba/cuba-gui
protected HierarchicalDatasource<Group, UUID> groupsDs;
@WindowParam(name = "selectedGroup")
protected Group selectedGroup;
代码示例来源:origin: com.haulmont.bpm/bpm-gui
protected LookupField processLookup;
@WindowParam(name = "selectedProcDefinition")
protected ProcDefinition selectedProcDefinition;
代码示例来源:origin: com.haulmont.addon.dashboard/dashboard-web
@Inject
protected Table<Parameter> parametersTable;
@WindowParam(name = DASHBOARD)
protected Dashboard dashboard;
代码示例来源:origin: com.haulmont.cuba/cuba-gui
protected Metadata metadata;
@WindowParam(name = "existingNames")
protected List<String> existingNames;
代码示例来源:origin: com.haulmont.cuba/cuba-gui
protected CollectionDatasource<User, UUID> usersDs;
@WindowParam(required = true)
protected Map<User, String> passwords;
代码示例来源:origin: com.haulmont.addon.dashboard/dashboard-web
protected WidgetRepository widgetRepository;
@WindowParam
protected Widget widget;
@WindowParam
protected Dashboard dashboard;
@WindowParam
protected DashboardFrame dashboardFrame;
@WindowParam
protected String lookupWindowId;
代码示例来源:origin: com.haulmont.cuba/cuba-gui
protected Button cancelBtn;
@WindowParam(required = true)
protected Set<User> users;
代码示例来源:origin: com.haulmont.addon.dashboard/dashboard-web
@WindowParam
protected String screenId;
代码示例来源:origin: com.haulmont.cuba/cuba-web
@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));
}
}
内容来源于网络,如有侵权,请联系作者删除!