Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8694

BPEL editor throws class cast exception when dragging item from toolpalette

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.1.M1
    • 3.2.0.Final
    • bpel
    • None
    • This problem only occurs in eclipse 3.7 with GEF 3.7. The GEF API has deprecated several methods, which caused this error.

      The GEF OrderedLayoutEditPolicy class has changed in version 3.7. This introduces isLayoutHorizontal() which replaces the deprecated isHorizontal() method - this assumes that the layout manager is an OrderedLayout (which is not the case) causing a class cast exception. I have added an override for isLayoutHorizontal() to BPELOrderedLayoutEditPolicy, which calls the deprecated method (for backward compatibility).

      This is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=88884

            bbrodt_jira Robert (Bob) Brodt (Inactive)
            bbrodt_jira Robert (Bob) Brodt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: