[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8694) BPEL editor throws class cast exception when dragging item from toolpalette
Pavol Srna (JIRA)
jira-events at lists.jboss.org
Mon May 2 09:26:18 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-8694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599400#comment-12599400 ]
Pavol Srna commented on JBIDE-8694:
-----------------------------------
Verified on jbt-3.2_stable_branch.2011-05-01_18-40-06-H793.
> BPEL editor throws class cast exception when dragging item from toolpalette
> ---------------------------------------------------------------------------
>
> Key: JBIDE-8694
> URL: https://issues.jboss.org/browse/JBIDE-8694
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: bpel
> Affects Versions: 3.2.0.Final
> Reporter: Robert (Bob) Brodt
> Assignee: Robert (Bob) Brodt
> Fix For: 3.2.1.M1
>
>
> 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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list