Package org.pentaho.platform.engine.core.solution

Examples of org.pentaho.platform.engine.core.solution.ActionInfo


  }

  public ActionComponent( final String actionString, final String instanceId, final int outputPreference,
      final IPentahoUrlFactory urlFactory, final List messages ) {
    super( urlFactory, messages, null );
    ActionInfo info = ActionInfo.parseActionString( actionString );
    if ( info != null ) {
      solutionName = info.getSolutionName();
      actionPath = info.getPath();
      actionName = info.getActionName();
    }
    setSourcePath( solutionName + File.separator + actionPath );
    this.instanceId = instanceId;
    this.outputPreference = outputPreference;
  }
View Full Code Here


          String parameterName = parameterNode.getName();
          String parameterValue = parameterNode.getText();
          // String type = parameterNode.selectSingleNode( "@type" );
          // if( "xml-data".equalsIgnoreCase( ) )
          if ( "action".equals( parameterName ) ) { //$NON-NLS-1$
            ActionInfo info = ActionInfo.parseActionString( parameterValue );
            solutionName = info.getSolutionName();
            actionPath = info.getPath();
            actionName = info.getActionName();
          } else if ( "component".equals( parameterName ) ) { //$NON-NLS-1$
            component = parameterValue;
          } else {
            parameters.put( parameterName, parameterValue );
          }
View Full Code Here

    this.definitionPath = definitionPath;
    if ( xslName == null ) {
      // use a default XSL
      xslName = "FilterPanelDefault.xsl"; //$NON-NLS-1$
    }
    ActionInfo info = ActionInfo.parseActionString( definitionPath );
    if ( info != null ) {
      setSourcePath( info.getSolutionName() + File.separator + info.getPath() );
    }
    this.xslName = xslName;
    defaultValues = new HashMap();
  }
View Full Code Here

   *          The messages list for any logger messages
   */
  public WidgetGridComponent( final String definitionPath, final IPentahoUrlFactory urlFactory, final List messages ) {
    super( urlFactory, messages, null );
    this.definitionPath = definitionPath;
    ActionInfo info = ActionInfo.parseActionString( definitionPath );
    if ( info != null ) {
      setSourcePath( info.getSolutionName() + File.separator + info.getPath() );
    }
    setXsl( "text/html", "DialWidget.xsl" ); //$NON-NLS-1$ //$NON-NLS-2$   
  }
View Full Code Here

    super( urlFactory, messages, null );
    this.type = type;
    this.definitionPath = definitionPath;
    this.width = width;
    this.height = height;
    ActionInfo info = ActionInfo.parseActionString( definitionPath );
    if ( info != null ) {
      setSourcePath( info.getSolutionName() + File.separator + info.getPath() );
    }
    // Set the XSL file to be used to generate the HTML
    setXsl( "text/html", "DialWidget.xsl" ); //$NON-NLS-1$ //$NON-NLS-2$
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.engine.core.solution.ActionInfo

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.