<!--

    Copyright (c) 2012-2015 Codenvy, S.A.
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html

    Contributors:
      Codenvy, S.A. - initial API and implementation

-->

###################################################
###
### Che IDE Extension Talking to Server Example
###
###################################################

WHAT:     Creates a new IDE clickable action that prints server resposne as IDE notification popup.
DOCS:     https://eclipse-che.readme.io/docs/developing-extensions#ide-extension-example
SOURCE:   http://github.com/che-samples/che-ide-extension.git   BRANCH: client-server
PRE-REQS: Java 1.8, Maven, Git, and a clone of Che's assembly repo @ http://github.com/codenvy/che.

STEPS:    1. git clone http://github.com/che-samples/che-ide-extension
          2. cd che-ide-extension
          3. git checkout client-server
          4. mvn clean install
          5. Add new extension as dependency to /che/assembly-ide-war/pom.xml
          6. Add new extension as GWT inheritance to /che/assembly-ide-war/src/main/resources/org/eclipse/che/ide/IDE.gwt.xml
          7. Optional: Add new extension as a dependency to /che/pom.xml
          8. Create new IDE with your extension: `mvn -Denforcer.skip=true clean install` in /che/assembly-ide-war module
          9. Create new Che assembly with new IDE: `mvn clean install` in /che/assembly-main module
          10. In /che/assembly-main/target/eclipse-che-{version}/bin, run `che run` to launch new Che assembly.
          11. Create a workspace in Che.
          12. In the IDE, there will be a new menu with your action.