Package org.pentaho.reporting.designer.core.editor.structuretree

Examples of org.pentaho.reporting.designer.core.editor.structuretree.ReportQueryNode


      final Object selectedObject = selectedObjects[i];
      if (selectedObject instanceof ReportQueryNode == false)
      {
        continue;
      }
      final ReportQueryNode queryNode = (ReportQueryNode) selectedObject;
      final DataFactory dataFactory = queryNode.getDataFactory();

      if (DataFactoryRegistry.getInstance().isRegistered(dataFactory.getClass().getName()) == false)
      {
        setEnabled(false);
        return;
View Full Code Here


    for (int i = 0; i < selectedElements.length; i++)
    {
      final Object element = selectedElements[i];
      if (element instanceof ReportQueryNode)
      {
        final ReportQueryNode queryNode = (ReportQueryNode) element;
        try
        {
          performEdit(queryNode.getDataFactory(), queryNode.getQueryName());
        }
        catch (ReportDataFactoryException e1)
        {
          UncaughtExceptionsModel.getInstance().addException(e1);
        }
View Full Code Here

    {
      return designerContext.getPopupMenu("popup-Expressions");// NON-NLS
    }
    if (context instanceof ReportQueryNode)
    {
      final ReportQueryNode rqn = (ReportQueryNode) context;
      if (rqn.isAllowEdit())
      {
        return designerContext.getPopupMenu("popup-Query");// NON-NLS
      }
      return designerContext.getPopupMenu("popup-Inherited-Query");// NON-NLS
    }
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.editor.structuretree.ReportQueryNode

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.