Examples of notifyNodePropertiesChanged()


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

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

        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

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

        {
          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

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

          (ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.SUBJECT,
              oldMetaData.getBundleAttribute(ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.SUBJECT));
      metaData.setBundleAttribute
          (ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.TITLE,
              oldMetaData.getBundleAttribute(ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.TITLE));
      report.notifyNodePropertiesChanged();
    }

    public void redo(final ReportDocumentContext renderContext)
    {
      final MasterReport report = renderContext.getContextRoot();
View Full Code Here

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

          (ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.SUBJECT,
              newMetaData.getBundleAttribute(ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.SUBJECT));
      metaData.setBundleAttribute
          (ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.TITLE,
              newMetaData.getBundleAttribute(ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.TITLE));
      report.notifyNodePropertiesChanged();
    }

    public UndoEntry merge(final UndoEntry newEntry)
    {
      return null;
View Full Code Here

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

          (ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.SUBJECT,
              oldMetaData.getBundleAttribute(ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.SUBJECT));
      metaData.setBundleAttribute
          (ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.TITLE,
              oldMetaData.getBundleAttribute(ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.TITLE));
      report.notifyNodePropertiesChanged();
    }

    public void redo(final ReportRenderContext renderContext)
    {
      final MasterReport report = renderContext.getMasterReportElement();
View Full Code Here

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

          (ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.SUBJECT,
              newMetaData.getBundleAttribute(ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.SUBJECT));
      metaData.setBundleAttribute
          (ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.TITLE,
              newMetaData.getBundleAttribute(ODFMetaAttributeNames.DublinCore.NAMESPACE, ODFMetaAttributeNames.DublinCore.TITLE));
      report.notifyNodePropertiesChanged();
    }

    public UndoEntry merge(final UndoEntry newEntry)
    {
      return null;
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.