Package org.eclipse.wb.internal.core.model.property.editor.presentation

Examples of org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation


    String signature =
        MessageFormat.format(
            "onClick({0},{1})",
            "org.eclipse.wb.internal.core.model.property.table.PropertyTable",
            "org.eclipse.wb.internal.core.model.property.Property");
    PropertyEditorPresentation compoundPresentation = propertyEditor.getPresentation();
    List<PropertyEditorPresentation> presentations =
        (List<PropertyEditorPresentation>) ReflectionUtils.getFieldObject(
            compoundPresentation,
            "m_presentations");
    PropertyEditorPresentation presentation = presentations.get(1);
    ReflectionUtils.invokeMethod(presentation, signature, propertyTable, property);
  }
View Full Code Here


    callPaint(property);
    assertEquals(getSource(".style {", "  color: red;", "}"), getFileContent(styleFile));
    // animate dialog
    new UiContext().executeAndCheck(new UIRunnable() {
      public void run(UiContext context) throws Exception {
        PropertyEditorPresentation presentation = property.getEditor().getPresentation();
        ReflectionUtils.invokeMethod(
            presentation,
            "onClick(org.eclipse.wb.internal.core.model.property.table.PropertyTable,"
                + "org.eclipse.wb.internal.core.model.property.Property)",
            null,
View Full Code Here

TOP

Related Classes of org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation

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.