Examples of canReparent()


Examples of com.google.gdt.eclipse.designer.gwtext.model.layout.ImplicitLayoutCreationSupport.canReparent()

      assertEquals(
          "implicit-layout: com.gwtext.client.widgets.layout.RowLayout",
          creationSupport.toString());
      // validation
      assertFalse(creationSupport.canReorder());
      assertFalse(creationSupport.canReparent());
      // no clipboard
      assertNull(creationSupport.getImplicitClipboard());
    }
    // check variable
    {
View Full Code Here

Examples of com.google.gdt.eclipse.designer.gwtext.model.layout.VirtualLayoutDataCreationSupport.canReparent()

    assertEquals(
        "virtual-layout_data: com.gwtext.client.widgets.layout.RowLayoutData",
        creationSupport.toString());
    // validation
    assertFalse(creationSupport.canReorder());
    assertFalse(creationSupport.canReparent());
    // no implicit clipboard
    assertNull(creationSupport.getImplicitClipboard());
    // delete, nothing changed
    {
      String expectedSource = m_lastEditor.getSource();
View Full Code Here

Examples of com.google.gdt.eclipse.designer.model.widgets.panels.RootLayoutPanelCreationSupport.canReparent()

      RootLayoutPanelCreationSupport creationSupport =
          (RootLayoutPanelCreationSupport) frame.getCreationSupport();
      assertEquals("RootLayoutPanel.get()", m_lastEditor.getSource(creationSupport.getNode()));
      assertFalse(creationSupport.canDelete());
      assertFalse(creationSupport.canReorder());
      assertFalse(creationSupport.canReparent());
    }
    // default bounds
    assertEquals(new Rectangle(0, 0, 450, 300), frame.getBounds());
    // set new size
    {
View Full Code Here

Examples of com.google.gdt.eclipse.designer.model.widgets.panels.RootPanelCreationSupport.canReparent()

      RootPanelCreationSupport creationSupport =
          (RootPanelCreationSupport) frame.getCreationSupport();
      assertEquals("RootPanel.get()", m_lastEditor.getSource(creationSupport.getNode()));
      assertTrue(creationSupport.canDelete());
      assertFalse(creationSupport.canReorder());
      assertFalse(creationSupport.canReparent());
    }
    // default bounds
    {
      assertEquals(new Rectangle(0, 0, 450, 300), frame.getBounds());
      assertEquals(new Rectangle(0, 0, 450, 300), frame.getModelBounds());
View Full Code Here

Examples of org.eclipse.wb.internal.core.model.creation.CreationSupport.canReparent()

        "}");
    // permissions
    {
      CreationSupport creationSupport = newImage.getCreationSupport();
      assertTrue(creationSupport.canReorder());
      assertTrue(creationSupport.canReparent());
      assertTrue(creationSupport.canDelete());
    }
    // assert that "image" is bound to AST
    {
      ASTNode node = getNode("image = ");
View Full Code Here

Examples of org.eclipse.wb.internal.core.model.creation.CreationSupport.canReparent()

    ImageInfo image = (ImageInfo) frame.getChildrenWidgets().get(0);
    //
    CreationSupport creationSupport = image.getCreationSupport();
    // permissions
    assertTrue(creationSupport.canReorder());
    assertTrue(creationSupport.canReparent());
    // delete
    assertTrue(creationSupport.canDelete());
    image.delete();
    assertEditor(
        "public class Test implements EntryPoint {",
View Full Code Here
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.