Package org.springframework.ide.eclipse.config.graph

Examples of org.springframework.ide.eclipse.config.graph.AbstractConfigGraphicalEditor


  public void testIntegrationFile() throws Exception {
    enableGefPages(true);
    cEditor = openFileInEditor("src/integration-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    AbstractConfigGraphicalEditor batch = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
    assertNull(batch);

    AbstractConfigGraphicalEditor beans = cEditor.getGraphicalEditorForUri(BeansSchemaConstants.URI);
    assertNull(beans);

    AbstractConfigGraphicalEditor integration = cEditor.getGraphicalEditorForUri(IntegrationSchemaConstants.URI);
    assertNotNull(integration);
    assertEquals(IntegrationSchemaConstants.URI, integration.getNamespaceUri());

    AbstractConfigGraphicalEditor util = cEditor.getGraphicalEditorForUri(UtilSchemaConstants.URI);
    assertNull(util);
  }
View Full Code Here


  public void testScopedFile() throws Exception {
    enableGefPages(true);
    cEditor = openFileInEditor("src/scoped-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    AbstractConfigGraphicalEditor batch = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
    assertNotNull(batch);
    assertEquals(BatchSchemaConstants.URI, batch.getNamespaceUri());

    AbstractConfigGraphicalEditor beans = cEditor.getGraphicalEditorForUri(BeansSchemaConstants.URI);
    assertNull(beans);

    AbstractConfigGraphicalEditor util = cEditor.getGraphicalEditorForUri(UtilSchemaConstants.URI);
    assertNull(util);
  }
View Full Code Here

    cEditor = openFileInEditor("src/batch-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    UIThreadRunnable.syncExec(new VoidResult() {
      public void run() {
        AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
        assertNotNull("Could not load batch-graph page.", page);
        cEditor.setActiveEditor(page);
      }
    });
View Full Code Here

    cEditor = openFileInEditor("src/batch-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    UIThreadRunnable.syncExec(new VoidResult() {
      public void run() {
        AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
        assertNotNull("Could not load batch-graph page.", page);
        cEditor.setActiveEditor(page);
      }
    });
View Full Code Here

    cEditor = openFileInEditor("src/batch-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    UIThreadRunnable.syncExec(new VoidResult() {
      public void run() {
        AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
        assertNotNull("Could not load batch-graph page.", page);
        cEditor.setActiveEditor(page);
      }
    });
View Full Code Here

    cEditor = openFileInEditor("src/batch-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    UIThreadRunnable.syncExec(new VoidResult() {
      public void run() {
        AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
        assertNotNull("Could not load batch-graph page.", page);
        cEditor.setActiveEditor(page);
      }
    });
View Full Code Here

    cEditor = openFileInEditor("src/batch-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    UIThreadRunnable.syncExec(new VoidResult() {
      public void run() {
        AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
        assertNotNull("Could not load batch-graph page.", page);
        cEditor.setActiveEditor(page);
      }
    });
View Full Code Here

    cEditor = openFileInEditor("src/batch-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    UIThreadRunnable.syncExec(new VoidResult() {
      public void run() {
        AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
        assertNotNull("Could not load batch-graph page.", page);
        cEditor.setActiveEditor(page);
      }
    });
View Full Code Here

    cEditor = openFileInEditor("src/batch-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    UIThreadRunnable.syncExec(new VoidResult() {
      public void run() {
        AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
        assertNotNull("Could not load batch-graph page.", page);
        cEditor.setActiveEditor(page);
      }
    });
View Full Code Here

    cEditor = openFileInEditor("src/batch-config.xml");
    assertNotNull("Could not open a configuration editor.", cEditor);

    UIThreadRunnable.syncExec(new VoidResult() {
      public void run() {
        AbstractConfigGraphicalEditor page = cEditor.getGraphicalEditorForUri(BatchSchemaConstants.URI);
        assertNotNull("Could not load batch-graph page.", page);
        cEditor.setActiveEditor(page);
      }
    });
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.config.graph.AbstractConfigGraphicalEditor

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.