Examples of MassElementStyleUndoEntry


Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

  {
    if (operation != null)
    {
      operation.finish();

      final MassElementStyleUndoEntry undoEntry = undoEntryBuilder.finish();
      getRenderContext().getUndo().addChange(Messages.getString("AbstractRenderComponent.ResizeUndoName"), undoEntry);
    }

    operation = null;
    undoEntryBuilder = null;
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

      }
      else
      {
        mop.update(new Point(1, 0), 1);
      }
      final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
      getRenderContext().getUndo().addChange(Messages.getString("AbstractRenderComponent.MoveUndoName"), massElementStyleUndoEntry);
      mop.finish();
    }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

    mop.finish();
  }

  private void registerChanges()
  {
    final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
    undo.addChange(Messages.getString("AlignmentUtilities.Undo"), massElementStyleUndoEntry);
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

    final MoveDragOperation mop = new MoveDragOperation
        (visualElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);
    mop.update(new Point(0, 1), 1);
    mop.finish();

    final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
    getActiveContext().getUndo().addChange(ActionMessages.getString("MoveDownOneAction.UndoName"), massElementStyleUndoEntry);
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

    final MoveDragOperation mop = new MoveDragOperation
        (visualElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);
    mop.update(new Point(0, -1), 1);
    mop.finish();

    final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
    getActiveContext().getUndo().addChange
        (ActionMessages.getString("MoveUpOneAction.UndoName"), massElementStyleUndoEntry);
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

    final MoveDragOperation mop = new MoveDragOperation
        (visualElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);
    mop.update(new Point(0, -5), 1);
    mop.finish();

    final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
    getActiveContext().getUndo().addChange(ActionMessages.getString("MoveUpAction.UndoName"), massElementStyleUndoEntry);
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

    final MoveDragOperation mop = new MoveDragOperation
        (visualElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);
    mop.update(new Point(+5, 0), 1);
    mop.finish();

    final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
    getActiveContext().getUndo().addChange(ActionMessages.getString("MoveRightAction.UndoName"), massElementStyleUndoEntry);
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

    final MoveDragOperation mop = new MoveDragOperation
        (visualElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);
    mop.update(new Point(-5, 0), 1);
    mop.finish();

    final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
    getActiveContext().getUndo().addChange(ActionMessages.getString("MoveLeftAction.UndoName"), massElementStyleUndoEntry);
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

    final MoveDragOperation mop = new MoveDragOperation
        (visualElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);
    mop.update(new Point(-1, 0), 1);
    mop.finish();

    final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
    getActiveContext().getUndo().addChange(ActionMessages.getString("MoveLeftOneAction.UndoName"), massElementStyleUndoEntry);
  }
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.undo.MassElementStyleUndoEntry

    final MassElementStyleUndoEntryBuilder builder = new MassElementStyleUndoEntryBuilder(visualElements);
    final MoveDragOperation mop = new MoveDragOperation
        (visualElements, new Point(), EmptySnapModel.INSTANCE, EmptySnapModel.INSTANCE);
    mop.update(new Point(0, 5), 1);
    mop.finish();
    final MassElementStyleUndoEntry massElementStyleUndoEntry = builder.finish();
    getActiveContext().getUndo().addChange(ActionMessages.getString("MoveDownAction.UndoName"),
        massElementStyleUndoEntry);
  }
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.