Package mindnotes.client

Source Code of mindnotes.client.MindNotes

package mindnotes.client;

import mindnotes.client.presentation.MindMapEditor;
import mindnotes.client.ui.MindNotesUI;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.RootLayoutPanel;

/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class MindNotes implements EntryPoint {

  /**
   * This is the entry point method.
   */
  public void onModuleLoad() {

    MindNotesUI mindNotesUI = new MindNotesUI();

    final MindMapEditor presenter = new MindMapEditor(
        mindNotesUI.getMindMapView());

    RootLayoutPanel.get().add(mindNotesUI);

    DOM.getElementById("loader").removeFromParent();

    presenter.newMindMap();

  }
}
TOP

Related Classes of mindnotes.client.MindNotes

TOP
Copyright © 2018 www.massapi.com. 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.