Package org.pentaho.reporting.engine.classic.core

Examples of org.pentaho.reporting.engine.classic.core.Element.notifyNodePropertiesChanged()


    for (int i = 0; i < visualElements.length; i++)
    {
      final Element visualElement = visualElements[i];
      undos.add(StyleEditUndoEntry.createConditional(visualElement, TextStyleKeys.FONT, font));
      visualElement.getStyle().setStyleProperty(TextStyleKeys.FONT, font);
      visualElement.notifyNodePropertiesChanged();
    }
    getActiveContext().getUndo().addChange(ActionMessages.getString("ApplyFontFamilyAction.UndoName"),
        new CompoundUndoEntry(undos.toArray(new UndoEntry[undos.size()])));

  }
View Full Code Here


        if (value == null)
        {
          undos.add(new StyleExpressionEditUndoEntry
              (element.getObjectID(), metaData.getStyleKey(), attribute, null));
          element.setStyleExpression(metaData.getStyleKey(), null);
          element.notifyNodePropertiesChanged();
        }
        else
        {
          final Expression expression = value.getInstance();
          undos.add(new StyleExpressionEditUndoEntry
View Full Code Here

        {
          final Expression expression = value.getInstance();
          undos.add(new StyleExpressionEditUndoEntry
              (element.getObjectID(), metaData.getStyleKey(), attribute, expression));
          element.setStyleExpression(metaData.getStyleKey(), expression);
          element.notifyNodePropertiesChanged();
        }
      }
      undo.addChange(Messages.getString("StyleChange"), new CompoundUndoEntry((UndoEntry[]) undos.toArray(new UndoEntry[undos.size()])));

    }
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.