Package org.pentaho.reporting.designer.core.editor.format

Examples of org.pentaho.reporting.designer.core.editor.format.ConditionalVisibilityDialog.performEdit()


      dialog = new ConditionalVisibilityDialog();
    }

    final Expression oldExpression = visualElements.get(0).getStyleExpression(ElementStyleKeys.VISIBLE);
    dialog.setReportDesignerContext(getReportDesignerContext());
    final Expression expression = dialog.performEdit(oldExpression);
    if (expression != null)
    {
      visualElements.get(0).setStyleExpression(ElementStyleKeys.VISIBLE, expression.getInstance());
    }
  }
View Full Code Here


      dialog = new ConditionalVisibilityDialog();
    }

    final Expression oldExpression = visualElements[0].getStyleExpression(ElementStyleKeys.VISIBLE);
    dialog.setReportDesignerContext(getReportDesignerContext());
    final Expression expression = dialog.performEdit(oldExpression);
    if (expression != null)
    {
      visualElements[0].setStyleExpression(ElementStyleKeys.VISIBLE, expression.getInstance());
    }
  }
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.