diff options
author | nitind | 2005-01-30 06:19:41 +0000 |
---|---|---|
committer | nitind | 2005-01-30 06:19:41 +0000 |
commit | 2aac9575567d83e5187cacf8c5252437d9b38073 (patch) | |
tree | 920bc9bf2fd6998f646646dc9e402531c65536a8 /bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/StructuredTextEditorCSS.java | |
parent | 0b2ed52b136b34e6ee928979e01357d36d3e9656 (diff) | |
download | webtools.sourceediting-2aac9575567d83e5187cacf8c5252437d9b38073.tar.gz webtools.sourceediting-2aac9575567d83e5187cacf8c5252437d9b38073.tar.xz webtools.sourceediting-2aac9575567d83e5187cacf8c5252437d9b38073.zip |
This commit was manufactured by cvs2svn to create tag 'v20050202_0140'.v20050202_0140
Diffstat (limited to 'bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/StructuredTextEditorCSS.java')
-rw-r--r-- | bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/StructuredTextEditorCSS.java | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/StructuredTextEditorCSS.java b/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/StructuredTextEditorCSS.java deleted file mode 100644 index b111b0213f..0000000000 --- a/bundles/org.eclipse.wst.css.ui/src/org/eclipse/wst/css/ui/StructuredTextEditorCSS.java +++ /dev/null @@ -1,55 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2001, 2004 IBM Corporation and others. All rights reserved. - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this - * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: IBM Corporation - initial API and implementation - ****************************************************************************/ -package org.eclipse.wst.css.ui; - -import org.eclipse.jface.action.Action; -import org.eclipse.wst.css.ui.edit.ui.CleanupActionCSS; -import org.eclipse.wst.css.ui.internal.editor.IHelpContextIds; -import org.eclipse.wst.css.ui.internal.selection.StructureSelectEnclosingCSSAction; -import org.eclipse.wst.css.ui.internal.selection.StructureSelectNextCSSAction; -import org.eclipse.wst.css.ui.internal.selection.StructureSelectPreviousCSSAction; -import org.eclipse.wst.sse.ui.StructuredTextEditor; -import org.eclipse.wst.sse.ui.edit.util.ActionDefinitionIds; -import org.eclipse.wst.sse.ui.edit.util.StructuredTextEditorActionConstants; -import org.eclipse.wst.sse.ui.internal.SSEUIPlugin; -import org.eclipse.wst.sse.ui.internal.selection.SelectionHistory; -import org.eclipse.wst.sse.ui.internal.selection.StructureSelectHistoryAction; - -public class StructuredTextEditorCSS extends StructuredTextEditor { - protected void createActions() { - super.createActions(); - - Action action = new CleanupActionCSS(SSEUIPlugin.getDefault().getResourceBundle(), StructuredTextEditorActionConstants.ACTION_NAME_CLEANUP_DOCUMENT + DOT, this); - action.setActionDefinitionId(ActionDefinitionIds.CLEANUP_DOCUMENT); - setAction(StructuredTextEditorActionConstants.ACTION_NAME_CLEANUP_DOCUMENT, action); - - SelectionHistory selectionHistory = new SelectionHistory(this); - action = new StructureSelectEnclosingCSSAction(this, selectionHistory); - action.setActionDefinitionId(ActionDefinitionIds.STRUCTURE_SELECT_ENCLOSING); - setAction(StructuredTextEditorActionConstants.ACTION_NAME_STRUCTURE_SELECT_ENCLOSING, action); - - action = new StructureSelectNextCSSAction(this, selectionHistory); - action.setActionDefinitionId(ActionDefinitionIds.STRUCTURE_SELECT_NEXT); - setAction(StructuredTextEditorActionConstants.ACTION_NAME_STRUCTURE_SELECT_NEXT, action); - - action = new StructureSelectPreviousCSSAction(this, selectionHistory); - action.setActionDefinitionId(ActionDefinitionIds.STRUCTURE_SELECT_PREVIOUS); - setAction(StructuredTextEditorActionConstants.ACTION_NAME_STRUCTURE_SELECT_PREVIOUS, action); - - action = new StructureSelectHistoryAction(this, selectionHistory); - action.setActionDefinitionId(ActionDefinitionIds.STRUCTURE_SELECT_HISTORY); - setAction(StructuredTextEditorActionConstants.ACTION_NAME_STRUCTURE_SELECT_HISTORY, action); - selectionHistory.setHistoryAction((StructureSelectHistoryAction) action); - } - - protected void initializeEditor() { - super.initializeEditor(); - setHelpContextId(IHelpContextIds.CSS_SOURCEVIEW_HELPID); - } -}
\ No newline at end of file |