Package org.pentaho.reporting.designer.core

Examples of org.pentaho.reporting.designer.core.ReportDesignerDocumentContext


  {
    if (designerContext == null)
    {
      return null;
    }
    ReportDesignerDocumentContext documentContext = designerContext.getActiveContext();
    if (documentContext instanceof ReportRenderContext)
    {
      return (ReportRenderContext) documentContext;
    }
    return null;
View Full Code Here


    ReportDesignerView view = context.getView();
    if (selectedElement == null || selectedElement instanceof MasterReport// This check assumes that we've click on a report band see JIRA PRD-1076
    {
      return view.getPopupMenu("popup-ReportDefinition"); // NON-NLS
    }
    final ReportDesignerDocumentContext activeContext = context.getActiveContext();
    if (activeContext instanceof ReportRenderContext)
    {
      ReportRenderContext doc = (ReportRenderContext) activeContext;
      if (selectedElement == doc.getReportDefinition())
      {
View Full Code Here

  {
    if (reportDesignerContext == null)
    {
      return null;
    }
    ReportDesignerDocumentContext activeContext = reportDesignerContext.getActiveContext();
    if (activeContext instanceof ReportDocumentContext)
    {
      return (ReportDocumentContext) activeContext;
    }
    return null;
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.ReportDesignerDocumentContext

Copyright © 2018 www.massapicom. 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.