Package com.google.gdt.eclipse.designer.gxt.actions

Examples of com.google.gdt.eclipse.designer.gxt.actions.ConfigureExtGwtOperation


   */
  @Override
  protected void configureModule(ModuleDescription moduleDescription) throws Exception {
    super.configureModule(moduleDescription);
    m_testProject.addExternalJar(ExtGwtTests.GXT_LOCATION + "/gxt.jar");
    new ConfigureExtGwtOperation(moduleDescription, ExtGwtTests.GXT_LOCATION).run(null);
    // don't use "strict" mode
    {
      String html = getFileContent("war/Module.html");
      html = StringUtils.remove(html, "<!doctype html>");
      setFileContent("war/Module.html", html);
View Full Code Here


      assertFalse(file, GxtPropertyTester.PROPERTY_IS_CONFIGURED);
    }
    // configure
    {
      m_testProject.addExternalJar(ExtGwtTests.GXT_LOCATION + "/gxt.jar");
      new ConfigureExtGwtOperation(moduleDescription, ExtGwtTests.GXT_LOCATION).run(null);
    }
    // true: for source file in module
    {
      assertTrue(file, GxtPropertyTester.PROPERTY_IS_CONFIGURED);
    }
View Full Code Here

    ModuleDescription moduleDescription = getTestModuleDescription();
    IFile moduleFile = getTestModuleFile();
    String originalModule = getFileContent(moduleFile);
    // configure, but restore module
    m_testProject.addExternalJar(ExtGwtTests.GXT_LOCATION + "/gxt.jar");
    new ConfigureExtGwtOperation(moduleDescription, ExtGwtTests.GXT_LOCATION).run(null);
    setFileContent(moduleFile, originalModule);
    // ...so not configured
    {
      IFile file = getFileSrc("/test/client/Module.java");
      assertFalse(file, GxtPropertyTester.PROPERTY_IS_CONFIGURED);
View Full Code Here

  ////////////////////////////////////////////////////////////////////////////
  @DisposeProjectAfter
  public void test_0() throws Exception {
    IFile moduleFile = getFileSrc("test/Module.gwt.xml");
    ModuleDescription moduleDescription = Utils.getExactModule(moduleFile);
    new ConfigureExtGwtOperation(moduleDescription, ExtGwtTests.GXT_LOCATION).run(null);
    waitForAutoBuild();
    // gxt.jar should be added
    assertTrue(ProjectUtils.hasType(
        m_testProject.getJavaProject(),
        "com.extjs.gxt.ui.client.widget.Component"));
View Full Code Here

    }
  }

  @Override
  protected void configureModule(ModuleDescription moduleDescription) throws Exception {
    new ConfigureExtGwtOperation(moduleDescription, ExtGwtTests.GXT_LOCATION).run(null);
    // don't use "strict" mode
    {
      String html = getFileContent("war/Module.html");
      html = StringUtils.remove(html, "<!doctype html>");
      setFileContent("war/Module.html", html);
View Full Code Here

  //
  ////////////////////////////////////////////////////////////////////////////
  @Override
  protected void configureModule(ModuleDescription moduleDescription) throws Exception {
    m_testProject.addExternalJar(ExtGwtTests.GXT_LOCATION + "/gxt.jar");
    new ConfigureExtGwtOperation(moduleDescription, ExtGwtTests.GXT_LOCATION).run(null);
  }
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.gxt.actions.ConfigureExtGwtOperation

Copyright © 2018 www.massapicom. 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.