Author: estherbin
Date: 2008-08-26 10:18:36 -0400 (Tue, 26 Aug 2008)
New Revision: 9905
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java
Log:
Move configuration for el substitution to the another bundle.
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java 2008-08-26
14:18:04 UTC (rev 9904)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPTextEditor.java 2008-08-26
14:18:36 UTC (rev 9905)
@@ -95,7 +95,6 @@
import org.jboss.tools.common.model.filesystems.impl.FileAnyImpl;
import org.jboss.tools.common.model.filesystems.impl.FolderImpl;
import org.jboss.tools.common.model.plugin.ModelPlugin;
-import org.jboss.tools.common.model.ui.dnd.DnDUtil;
import org.jboss.tools.common.model.ui.dnd.ModelTransfer;
import org.jboss.tools.common.model.ui.editor.IModelObjectEditorInput;
import org.jboss.tools.common.model.ui.editors.dnd.DropCommandFactory;
@@ -135,8 +134,6 @@
import org.w3c.dom.Node;
import org.w3c.dom.Text;
-import com.sun.org.apache.xpath.internal.operations.Minus;
-
/**
* @author Jeremy
*
@@ -865,14 +862,13 @@
}
public void drop(DropTargetEvent event) {
- int offset = getPosition(event.x, event.y);
+ int offset = getPosition(event.x, event.y);
selectAndReveal(offset, 0);
- DnDUtil.fireDnDEvent(dropContext,JSPTextEditor.this,event);
-
- }
+ dropContext.runDropCommand(JSPTextEditor.this, event);
+ }
- public void dropAccept(DropTargetEvent event) {
- }
+ public void dropAccept(DropTargetEvent event) {
+ }
}
Show replies by date