Package org.pentaho.reporting.designer.core.util.undo

Examples of org.pentaho.reporting.designer.core.util.undo.CompoundUndoEntry.redo()


          undos.add(new DataSourceEditUndoEntry(i, dataFactoryWrapper.getOriginalDataFactory(), dataFactoryWrapper.getEditedDataFactory()));
        }
      }

      final CompoundUndoEntry undoEntry = new CompoundUndoEntry(undos.toArray(new UndoEntry[undos.size()]));
      undoEntry.redo(activeContext);
      activeContext.getUndo().addChange(ActionMessages.getString("EditParametersAction.MasterReport.Text"), undoEntry);
    }
  }
}
View Full Code Here


            LegacyChartElementModule.NAMESPACE, LegacyChartElementModule.SECONDARY_DATA_COLLECTOR_FUNCTION_ATTRIBUTE,
            editResult.getOriginalSecondaryDataSource(), editResult.getSecondaryDataSource()));

        final CompoundUndoEntry ue = new CompoundUndoEntry(undoEntries.toArray(new UndoEntry[undoEntries.size()]));
        activeContext.getUndo().addChange(Messages.getInstance().getString("EditLegacyChartAction.Undo"), ue);
        ue.redo(context.getActiveContext());
      }
    }
    catch (CloneNotSupportedException e1)
    {
      UncaughtExceptionsModel.getInstance().addException(e1);
View Full Code Here

          undos.add(new DataSourceEditUndoEntry(i, dataFactoryWrapper.getOriginalDataFactory(), dataFactoryWrapper.getEditedDataFactory()));
        }
      }

      final CompoundUndoEntry undoEntry = new CompoundUndoEntry(undos.toArray(new UndoEntry[undos.size()]));
      undoEntry.redo(activeContext);
      activeContext.getUndo().addChange(ActionMessages.getString("EditParametersAction.MasterReport.Text"), undoEntry);
    }
  }
}
View Full Code Here

            LegacyChartElementModule.NAMESPACE, LegacyChartElementModule.SECONDARY_DATA_COLLECTOR_FUNCTION_ATTRIBUTE,
            editResult.getOriginalSecondaryDataSource(), editResult.getSecondaryDataSource()));

        final CompoundUndoEntry ue = new CompoundUndoEntry(undoEntries.toArray(new UndoEntry[undoEntries.size()]));
        activeContext.getUndo().addChange(ue);
        ue.redo(context.getActiveContext());
      }
    }
    catch (CloneNotSupportedException e1)
    {
      UncaughtExceptionsModel.getInstance().addException(e1);
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.