Package com.smartgwt.client.callbacks

# Interface LoadProjectCallback

public interface LoadProjectCallback

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `execute(Project project, Project[] projects, RPCResponse rpcResponse)`
  A `Callback` to evaluate after `RPCManager.loadProject()` completes.

- ## Method Details

  - ### execute

    void execute(Project project, Project[] projects, RPCResponse rpcResponse)
    A `Callback` to evaluate after `RPCManager.loadProject()` completes.

    If `LoadProjectSettings.willHandleError` is set, the callback will fire even if the requested projects could not be retrieved. You can call `RPCManager.getLoadProjectErrorStatus()` or `RPCManager.getLoadProjectErrorMessage()` in this case for more information.

    Parameters:
      `project` - the first project loaded
      `projects` - array of all projects loaded
      `rpcResponse` - server response