Author: snjeza
Date: 2008-05-13 15:50:13 -0400 (Tue, 13 May 2008)
New Revision: 8066
Modified:
branches/jbosstools-2.1.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPCellEditorProviderImpl.java
branches/jbosstools-2.1.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPDialogCellEditor.java
Log:
JBIDE-2204 Unhandled event loop exception when call CA in Insert Tag wizard
Modified:
branches/jbosstools-2.1.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPCellEditorProviderImpl.java
===================================================================
---
branches/jbosstools-2.1.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPCellEditorProviderImpl.java 2008-05-13
13:48:31 UTC (rev 8065)
+++
branches/jbosstools-2.1.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPCellEditorProviderImpl.java 2008-05-13
19:50:13 UTC (rev 8066)
@@ -18,8 +18,8 @@
public class JSPCellEditorProviderImpl implements ExtendedCellEditorProvider {
public CellEditor createCellEditor(Composite parent, Properties context) {
- //ValueHelper valueHelper = new ValueHelper();
- //context.put("valueHelper", valueHelper);
+ ValueHelper valueHelper = new ValueHelper();
+ context.put("valueHelper", valueHelper);
return new JSPDialogCellEditor(parent, context);
}
Modified:
branches/jbosstools-2.1.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPDialogCellEditor.java
===================================================================
---
branches/jbosstools-2.1.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPDialogCellEditor.java 2008-05-13
13:48:31 UTC (rev 8065)
+++
branches/jbosstools-2.1.x/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/outline/JSPDialogCellEditor.java 2008-05-13
19:50:13 UTC (rev 8066)
@@ -44,10 +44,10 @@
public JSPDialogCellEditor(Composite parent, Properties context) {
super(parent);
this.context = context;
- //valueHelper = (ValueHelper)context.get("valueHelper");
+ ValueHelper valueHelper = (ValueHelper)context.get("valueHelper");
contentAssistentProcessor = new JSPDialogCellEditorContentAssistProcessor();
- //if(valueHelper != null) contentAssistentProcessor.setContext(context);
+ if(valueHelper != null) contentAssistentProcessor.setContext(context);
handler = ContentAssistHandler.createHandlerForText(getTextField(),
ControlContentAssistHelper.createJavaContentAssistant(contentAssistentProcessor));
}