Examples of addGuidLine()


Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

  public void redo(final ReportDocumentContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
    final Band band = (Band) ModelUtility.findElementById(abstractReportDefinition, id);
    final LinealModel linealModel = ModelUtility.getVerticalLinealModel(band);
    linealModel.addGuidLine(guideLine);
  }

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

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

  public void undo(final ReportDocumentContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
    final Band band = (Band) ModelUtility.findElementById(abstractReportDefinition, id);
    final LinealModel linealModel = ModelUtility.getVerticalLinealModel(band);
    linealModel.addGuidLine(guideLine);
  }

  public void redo(final ReportDocumentContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

      final double position = Math.min(width, Math.max((double) 0, scaledPosition));
      final GuideLine guideLine = new GuideLine(position, e.getButton() == MouseEvent.BUTTON1);

      final UndoManager undo = getRenderContext().getUndo();
      undo.addChange(Messages.getString("LinealComponent.AddGuideUndoName"), new AddHorizontalGuidelinesUndoEntry(guideLine));
      linealModel.addGuidLine(guideLine);
    }

    public void mousePressed(final MouseEvent e)
    {
      if (e.getButton() == MouseEvent.BUTTON1)
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

      final GuideLine guideLine = new GuideLine(position, e.getButton() == MouseEvent.BUTTON1);

      final UndoManager undo = getRenderContext().getUndo();
      undo.addChange(Messages.getString("LinealComponent.AddGuideUndoName"),
          new AddVerticalGuidelineUndoEntry(guideLine, getInstanceID()));
      linealModel.addGuidLine(guideLine);
    }

    public void mousePressed(final MouseEvent e)
    {
      final int padding = (int) getPadding();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

  public void undo(final ReportDocumentContext renderContext)
  {
    final AbstractReportDefinition abstractReportDefinition = renderContext.getReportDefinition();
    final LinealModel linealModel = ModelUtility.getHorizontalLinealModel(abstractReportDefinition);
    linealModel.addGuidLine(guideLine);
  }

  public void redo(final ReportDocumentContext renderContext)
  {
    final AbstractReportDefinition abstractReportDefinition = renderContext.getReportDefinition();
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

  public void redo(final ReportDocumentContext renderContext)
  {
    final AbstractReportDefinition abstractReportDefinition = renderContext.getReportDefinition();
    final LinealModel linealModel = ModelUtility.getHorizontalLinealModel(abstractReportDefinition);
    linealModel.addGuidLine(guideLine);
  }

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

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

  public void redo(final ReportRenderContext renderContext)
  {
    final AbstractReportDefinition abstractReportDefinition = renderContext.getReportDefinition();
    final LinealModel linealModel = ModelUtility.getHorizontalLinealModel(abstractReportDefinition);
    linealModel.addGuidLine(guideLine);
  }

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

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

      final double position = Math.min(width, Math.max((double) 0, scaledPosition));
      final GuideLine guideLine = new GuideLine(position, e.getButton() == MouseEvent.BUTTON1);

      final UndoManager undo = getRenderContext().getUndo();
      undo.addChange(new AddHorizontalGuidelinesUndoEntry(guideLine));
      linealModel.addGuidLine(guideLine);
    }

    public void mousePressed(final MouseEvent e)
    {
      if (e.getButton() == MouseEvent.BUTTON1)
View Full Code Here

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

  public void redo(final ReportRenderContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
    final Band band = (Band) ModelUtility.findElementById(abstractReportDefinition, id);
    final LinealModel linealModel = ModelUtility.getVerticalLinealModel(band);
    linealModel.addGuidLine(guideLine);
  }

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

Examples of org.pentaho.reporting.designer.core.model.lineal.LinealModel.addGuidLine()

  public void undo(final ReportRenderContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
    final Band band = (Band) ModelUtility.findElementById(abstractReportDefinition, id);
    final LinealModel linealModel = ModelUtility.getVerticalLinealModel(band);
    linealModel.addGuidLine(guideLine);
  }

  public void redo(final ReportRenderContext context)
  {
    final AbstractReportDefinition abstractReportDefinition = context.getReportDefinition();
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.