* to identify the view to show: If the path contains
* "StandaloneEditor.html" then the StandaloneGuidedEditorManager is used to
* render the view. If not, the default view is shown.
*/
private void createMain() {
EventBus eventBus = new SimpleEventBus();
ClientFactory clientFactory = new ClientFactoryImpl(eventBus);
appController = new AppController(clientFactory,eventBus);
if (Window.Location.getPath().contains("StandaloneEditor.html")) {
RootLayoutPanel.get().add(new StandaloneEditorManager(clientFactory, eventBus).getBaseLayout());