Package org.aperteworkflow.editor.ui.property

Examples of org.aperteworkflow.editor.ui.property.PropertiesPanel


      for (PermissionDefinition perm : widgetItem.getPermissions()) {
                permissionDefinitions.add(perm);
      }
    }

        widgetPropertiesPanel = new PropertiesPanel();
        widgetPropertiesPanel.init(widgetItem.getClassInfo());
        widgetPropertiesPanel.refreshForm(false, properties);
  }
View Full Code Here


    } else {
            TabSheet ts = new TabSheet();
            ts.setWidth("100%");
            if (widget.hasProperties()) {
                if (reloadProperties) {
                    PropertiesPanel propertiesPanel = new PropertiesPanel();
                    propertiesPanel.init(widget.getWidgetItem().getClassInfo());
                    propertiesPanel.refreshForm(false, widget.getProperties());
                    widget.setWidgetPropertiesPanel(propertiesPanel);
                }
                ts.addTab(widget.getWidgetPropertiesPanel(), messages.getMessage("form.properties"));
            }
            if (widget.hasPermissions()) {
View Full Code Here

    vll.setWidth(100, Sizeable.UNITS_PERCENTAGE);
        vll.addComponent(new Label(messages.getMessage("jse.instructions"), Label.CONTENT_XHTML));
    vll.setSpacing(true);

    if (stepType != null) {
            propertiesPanel = new PropertiesPanel();

            Class<?> stepClass = getStepClass(stepType);
        propertiesPanel.init(stepClass);
        propertiesPanel.refreshForm(false, getLoadedJsonData(jsonConfig));
View Full Code Here

        // perform validation of all the widget definitions
        Collection<?> itemIds = stepTreeContainer.getItemIds();
        for (Object itemId : itemIds) {
            WidgetItemInStep widgetInStep = (WidgetItemInStep) itemId;

            PropertiesPanel propertiesPanel = widgetInStep.getWidgetPropertiesPanel();
            if (propertiesPanel != null) {
                widgetInStep.getWidgetPropertiesPanel().ensureForm();

                PropertiesForm propertiesForm = propertiesPanel.getPropertiesForm();
                if (!propertiesForm.isValid()) {
                    I18NSource messages = I18NSource.ThreadUtil.getThreadI18nSource();
                    VaadinUtility.validationNotification(
                            application,
                            messages,
View Full Code Here

TOP

Related Classes of org.aperteworkflow.editor.ui.property.PropertiesPanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.