Author: vrubezhny
Date: 2008-06-05 08:19:19 -0400 (Thu, 05 Jun 2008)
New Revision: 8577
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/MultiPageContributor.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-2274 There is no any code assist in our XML
Editors.
The fix will restore the CA in XML editors (web.xml, pages.xml)
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/MultiPageContributor.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/MultiPageContributor.java 2008-06-05
11:53:08 UTC (rev 8576)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/texteditors/MultiPageContributor.java 2008-06-05
12:19:19 UTC (rev 8577)
@@ -17,6 +17,7 @@
import org.eclipse.ui.ide.IDEActionFactory;
import org.eclipse.ui.texteditor.ITextEditor;
import org.eclipse.ui.texteditor.ITextEditorActionConstants;
+import org.eclipse.wst.sse.ui.internal.actions.StructuredTextEditorActionConstants;
import org.jboss.tools.common.model.ui.ModelUIPlugin;
import org.jboss.tools.common.text.xml.xpl.ToggleOccurencesMarkUpAction;
@@ -61,6 +62,7 @@
actionBars.setGlobalActionHandler(ActionFactory.PRINT.getId(), getAction(editor,
ITextEditorActionConstants.PRINT));
actionBars.setGlobalActionHandler(ActionFactory.REVERT.getId(), getAction(editor,
ITextEditorActionConstants.REVERT));
actionBars.setGlobalActionHandler(ActionFactory.SAVE.getId(), getAction(editor,
ITextEditorActionConstants.SAVE));
+ actionBars.setGlobalActionHandler(StructuredTextEditorActionConstants.ACTION_NAME_CONTENTASSIST_PROPOSALS,
getAction(editor,
StructuredTextEditorActionConstants.ACTION_NAME_CONTENTASSIST_PROPOSALS));
}
// re-register action on key binding service