org.eclipse.emf.emfstore.client
Interface ESWorkspaceProvider

All Known Implementing Classes:
ESWorkspaceProviderImpl

public interface ESWorkspaceProvider

Central access point to receive the current workspace.

Author:
emueller, wesendon

Field Summary
static ESWorkspaceProvider INSTANCE
          Singleton instance of the workspace provider.
 
Method Summary
 ESWorkspace getWorkspace()
          Returns the current workspace.
 void setSessionProvider(ESAbstractSessionProvider sessionProvider)
          Allows the user to set the ESAbstractSessionProvider to use.
 

Field Detail

INSTANCE

static final ESWorkspaceProvider INSTANCE
Singleton instance of the workspace provider.

Method Detail

getWorkspace

ESWorkspace getWorkspace()
Returns the current workspace.

Returns:
current workspace.

setSessionProvider

void setSessionProvider(ESAbstractSessionProvider sessionProvider)
Allows the user to set the ESAbstractSessionProvider to use.

Parameters:
sessionProvider - the ESAbstractSessionProvider to use


Copyright © 2015. All Rights Reserved.