com.haulmont.cuba.gui.WindowParam.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(5.5k)|赞(0)|评价(0)|浏览(127)

本文整理了Java中com.haulmont.cuba.gui.WindowParam.<init>()方法的一些代码示例,展示了WindowParam.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WindowParam.<init>()方法的具体详情如下:
包路径:com.haulmont.cuba.gui.WindowParam
类名称:WindowParam
方法名:<init>

WindowParam.<init>介绍

暂无

代码示例

代码示例来源:origin: com.haulmont.reports/reports-gui

  1. public class PivotTableAggregationEdit extends AbstractEditor<PivotTableAggregation> {
  2. @WindowParam
  3. protected Collection<PivotTableAggregation> existingItems;

代码示例来源:origin: com.haulmont.charts/charts-web

  1. public class JsonChartController extends AbstractFrame {
  2. @WindowParam(required = true)
  3. protected String chartJson;
  4. @Inject
  5. protected CustomChart reportJsonChart;
  6. @Override
  7. public void init(Map<String, Object> params) {
  8. super.init(params);
  9. reportJsonChart.setConfiguration(new BasicChart());
  10. reportJsonChart.setNativeJson(chartJson);
  11. }
  12. /**
  13. * Used for default initialization in
  14. * WebChart.CubaAmchartsSceneExt#setupDefaults(AbstractChart)
  15. */
  16. protected static class BasicChart extends AbstractChart<BasicChart> {
  17. }
  18. }

代码示例来源:origin: com.haulmont.charts/charts-web

  1. protected PivotTable pivotTable;
  2. @WindowParam(name = DATA_ITEMS)
  3. protected List<DataItem> dataItems;
  4. @WindowParam(name = PROPERTIES, required = true)
  5. protected Map<String, String> properties;
  6. @WindowParam(name = NATIVE_JSON)
  7. protected String nativeJson;

代码示例来源:origin: com.haulmont.addon.admintools/cuba-at-gui

  1. protected static final String GENERATION_MODE = "generationMode";
  2. @WindowParam(name = PARAMETER_SELECTED_ENTITIES)
  3. protected Collection selectedEntities;

代码示例来源:origin: com.haulmont.cuba/cuba-gui

  1. public class ScheduledExecutionBrowser extends AbstractWindow {
  2. @Inject
  3. protected Table<ScheduledExecution> executionsTable;
  4. @Inject
  5. protected CollectionDatasource executionsDs;
  6. @Inject
  7. protected PersistenceManagerService persistenceManager;
  8. @WindowParam
  9. protected ScheduledTask task;
  10. @Override
  11. public void init(Map<String, Object> params) {
  12. executionsTable.addAction(new RefreshAction(executionsTable));
  13. int maxResults = persistenceManager.getFetchUI(executionsDs.getMetaClass().getName());
  14. executionsDs.setMaxResults(maxResults);
  15. setCaption(formatMessage("executionBrowseCaption", task.name()));
  16. }
  17. }

代码示例来源:origin: com.haulmont.cuba/cuba-web

  1. protected LookupField<SearchFolder> folderSelect;
  2. @WindowParam
  3. protected CubaFoldersPane foldersPane;
  4. @WindowParam(name = "items")
  5. protected Set ids;
  6. @WindowParam
  7. protected String componentPath;
  8. @WindowParam
  9. protected String componentId;
  10. @WindowParam
  11. protected String entityType;
  12. @WindowParam
  13. protected String entityClass;
  14. @WindowParam
  15. protected String query;

代码示例来源:origin: com.haulmont.bpm/bpm-gui

  1. protected ModelService modelService;
  2. @WindowParam(name = "srcModel")
  3. protected ProcModel srcModel;

代码示例来源:origin: com.haulmont.cuba/cuba-gui

  1. @WindowParam
  2. protected List<AppPropertyEntity> exported;

代码示例来源:origin: com.haulmont.addon.dashboard/dashboard-web

  1. @WindowParam
  2. protected String screenId;
  3. protected WidgetRepository widgetRepository;
  4. @WindowParam
  5. protected Widget widget;
  6. @WindowParam
  7. protected Dashboard dashboard;
  8. @WindowParam
  9. protected DashboardFrame dashboardFrame;

代码示例来源:origin: de.diedavids.cuba.taggable/taggable-web

  1. protected TaggingService taggingService;
  2. @WindowParam(required = true)
  3. Entity taggable;
  4. @WindowParam
  5. String persistentAttribute;

代码示例来源:origin: com.haulmont.cuba/cuba-gui

  1. protected TextArea analyzeResultBox;
  2. @WindowParam(required = true)
  3. protected List<LayoutTip> tipsList;

代码示例来源:origin: com.haulmont.cuba/cuba-gui

  1. protected HierarchicalDatasource<Group, UUID> groupsDs;
  2. @WindowParam(name = "selectedGroup")
  3. protected Group selectedGroup;

代码示例来源:origin: com.haulmont.bpm/bpm-gui

  1. protected LookupField processLookup;
  2. @WindowParam(name = "selectedProcDefinition")
  3. protected ProcDefinition selectedProcDefinition;

代码示例来源:origin: com.haulmont.addon.dashboard/dashboard-web

  1. @Inject
  2. protected Table<Parameter> parametersTable;
  3. @WindowParam(name = DASHBOARD)
  4. protected Dashboard dashboard;

代码示例来源:origin: com.haulmont.cuba/cuba-gui

  1. protected Metadata metadata;
  2. @WindowParam(name = "existingNames")
  3. protected List<String> existingNames;

代码示例来源:origin: com.haulmont.cuba/cuba-gui

  1. protected CollectionDatasource<User, UUID> usersDs;
  2. @WindowParam(required = true)
  3. protected Map<User, String> passwords;

代码示例来源:origin: com.haulmont.addon.dashboard/dashboard-web

  1. protected WidgetRepository widgetRepository;
  2. @WindowParam
  3. protected Widget widget;
  4. @WindowParam
  5. protected Dashboard dashboard;
  6. @WindowParam
  7. protected DashboardFrame dashboardFrame;
  8. @WindowParam
  9. protected String lookupWindowId;

代码示例来源:origin: com.haulmont.cuba/cuba-gui

  1. protected Button cancelBtn;
  2. @WindowParam(required = true)
  3. protected Set<User> users;

代码示例来源:origin: com.haulmont.addon.dashboard/dashboard-web

  1. @WindowParam
  2. protected String screenId;

代码示例来源:origin: com.haulmont.cuba/cuba-web

  1. @Route("not-found")
  2. @UiController(NotFoundScreen.ID)
  3. public class NotFoundScreen extends Screen {
  4. public static final String ID = "NotFoundScreen";
  5. @WindowParam(name = "requestedRoute", required = true)
  6. protected String requestedRoute;
  7. @Inject
  8. protected UiComponents uiComponents;
  9. @Inject
  10. protected Messages messages;
  11. @Subscribe
  12. protected void onInit(InitEvent event) {
  13. Window window = getWindow();
  14. Label<String> msgLabel = uiComponents.create(Label.TYPE_STRING);
  15. msgLabel.setAlignment(Component.Alignment.TOP_CENTER);
  16. msgLabel.addStyleName(HaloTheme.LABEL_H1);
  17. msgLabel.setValue(messages.formatMessage(NotFoundScreen.class, "notAssociatedRoute", requestedRoute));
  18. window.add(msgLabel);
  19. window.setCaption(messages.formatMessage(NotFoundScreen.class, "tabCaption", requestedRoute));
  20. }
  21. }

相关文章

WindowParam类方法