Examples of XulGroupDefinition


Examples of org.pentaho.reporting.engine.classic.wizard.ui.xul.util.XulGroupDefinition

        final GroupDefinition xulGroup = new DefaultGroupDefinition();
        xulGroup.setField(group.getFieldName());
        FieldWrapper wrapper = new FieldWrapper(xulGroup, schema);
        groups.add(wrapper);
        final DefaultGroupDefinition definition = (DefaultGroupDefinition) wrapper.getFieldDefinition();
        new XulGroupDefinition(definition, schema);

      }
      setGroupFields(groups);
    }
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.wizard.ui.xul.util.XulGroupDefinition

    else if (activeTree.getId().equals(FORMAT_GROUPS_LIST_ID))
    { // We need to update the bindings for the groups list
      if (getGroupFields().size() > 0) {
        activeField = getGroupFields().get(selectedIndices[0]);
        final DefaultGroupDefinition definition = (DefaultGroupDefinition) activeField.getFieldDefinition();
        final XulGroupDefinition groupDef = new XulGroupDefinition(definition, getEditorModel().getDataSchema().getDataSchema());
        activeXulWrapper = groupDef;
 
        // Set the bindings on this group definition
        fieldAndGroupBindings.add(getBindingFactory().createBinding(groupDef, GROUP_TOTALS_LABEL_PROPERTY_NAME, FORMAT_GROUP_TOTALS_LABEL_TB_ID, VALUE_PROPERTY_NAME));
        fieldAndGroupBindings.add(getBindingFactory().createBinding(groupDef, DISPLAY_NAME_PROPERTY_NAME, FORMAT_GROUP_DISPLAY_NAME_TB_ID, VALUE_PROPERTY_NAME));
        final ElementAlignment alignment = groupDef.getTotalsHorizontalAlignment();
     
      /*
       * This element was commented to turn off the Group Summary Alignment.  Uncomment this to turn this
       * feature back on when the engine supports it.
       */
 
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.wizard.ui.xul.util.XulGroupDefinition

    else if (activeTree.getId().equals(FORMAT_GROUPS_LIST_ID))
    { // We need to update the bindings for the groups list
      if (getGroupFields().size() > 0) {
        activeField = getGroupFields().get(selectedIndices[0]);
        final DefaultGroupDefinition definition = (DefaultGroupDefinition) activeField.getFieldDefinition();
        final XulGroupDefinition groupDef = new XulGroupDefinition(definition, getEditorModel().getDataSchema().getDataSchema());
        activeXulWrapper = groupDef;
 
        // Set the bindings on this group definition
        fieldAndGroupBindings.add(getBindingFactory().createBinding(groupDef, GROUP_TOTALS_LABEL_PROPERTY_NAME, FORMAT_GROUP_TOTALS_LABEL_TB_ID, VALUE_PROPERTY_NAME));
        fieldAndGroupBindings.add(getBindingFactory().createBinding(groupDef, DISPLAY_NAME_PROPERTY_NAME, FORMAT_GROUP_DISPLAY_NAME_TB_ID, VALUE_PROPERTY_NAME));
        final ElementAlignment alignment = groupDef.getTotalsHorizontalAlignment();
     
      /*
       * This element was commented to turn off the Group Summary Alignment.  Uncomment this to turn this
       * feature back on when the engine supports it.
       */
 
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.wizard.ui.xul.util.XulGroupDefinition

        final GroupDefinition xulGroup = new DefaultGroupDefinition();
        xulGroup.setField(group.getFieldName());
        FieldWrapper wrapper = new FieldWrapper(xulGroup, schema);
        groups.add(wrapper);
        final DefaultGroupDefinition definition = (DefaultGroupDefinition) wrapper.getFieldDefinition();
        new XulGroupDefinition(definition, schema);

      }
      setGroupFields(groups);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.