woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor plugin.xml,1.4,1.5

[email protected]
Newsgroups gmane.comp.web.webobjects.woproject.cvs
Message-ID <[email protected]>
Update of /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31105

Modified Files:
	plugin.xml 
Log Message:
reenable componenteditor menu i.e switch to html with command alt 2

Index: plugin.xml
===================================================================
RCS file: /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor/plugin.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- plugin.xml	30 Dec 2005 15:44:12 -0000	1.4
+++ plugin.xml	26 Jan 2006 08:13:36 -0000	1.5
@@ -64,6 +64,12 @@
                 id="org.objectstyle.wolips.componenteditor.editors.towod">
         </command>
         <command
+                name="Switch to Preview"
+                description="Switch to Preview"
+                categoryId="org.objectstyle.wolips.componenteditor.componenteditor"
+                id="org.objectstyle.wolips.componenteditor.editors.topreview">
+        </command>
+        <command
                 name="Switch to Api Editor"
                 description="Switch to Api Editor"
                 categoryId="org.objectstyle.wolips.componenteditor.componenteditor"
@@ -73,162 +79,71 @@
     <extension point="org.eclipse.ui.bindings">
 		<key
         		commandId="org.objectstyle.wolips.componenteditor.editors.tojava"
-        		contextId="org.eclipse.ui.textEditorScope"
+        		contextId="org.eclipse.ui.contexts.window"
         		schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
         		sequence="M1+M3+1"/>
 		<key
         		commandId="org.objectstyle.wolips.componenteditor.editors.tohtml"
-        		contextId="org.eclipse.ui.textEditorScope"
+        		contextId="org.eclipse.ui.contexts.window"
         		schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
         		sequence="M1+M3+2"/>
 		<key
         		commandId="org.objectstyle.wolips.componenteditor.editors.towod"
-        		contextId="org.eclipse.ui.textEditorScope"
+        		contextId="org.eclipse.ui.contexts.window"
         		schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
         		sequence="M1+M3+3"/>
 		<key
-        		commandId="org.objectstyle.wolips.componenteditor.editors.toapi"
-        		contextId="org.eclipse.ui.textEditorScope"
+        		commandId="org.objectstyle.wolips.componenteditor.editors.topreview"
+        		contextId="org.eclipse.ui.contexts.window"
         		schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
         		sequence="M1+M3+4"/>
+		<key
+        		commandId="org.objectstyle.wolips.componenteditor.editors.toapi"
+        		contextId="org.eclipse.ui.contexts.window"
+        		schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+        		sequence="M1+M3+5"/>
 	</extension>
 	
 	<extension point = "org.eclipse.ui.editorActions">
       <editorContribution 
-         id="org.objectstyle.wolips.componenteditor.componenteditor.javacontribution" 
-         targetID="org.eclipse.jdt.ui.CompilationUnitEditor">        
-           <menu id="ComponentEditorJava"
-			label="&amp;Component Editor" 
-             path="edit/additions">
- 				<separator name="group1"/>
- 				<separator name="group2"/>
-		  </menu>
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToApiEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.toapi"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromjavatoapi"
-               label="Switch to Api Editor"
-               menubarPath="edit/ComponentEditorJava/group1"/>
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToWodEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.towod"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromjavatowod"
-               label="Switch to Wod Editor"
-               menubarPath="edit/ComponentEditorJava/group1"/>
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToHtmlEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.tohtml"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromjavatohtml"
-               label="Switch to Html Editor"
-               menubarPath="edit/ComponentEditorJava/group1"/> 
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToJavaEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.tojava"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromjavatojava"
-               label="Switch to Java Editor"
-               menubarPath="edit/ComponentEditorJava/group1"/>
-      </editorContribution>
-      <editorContribution 
-         id="org.objectstyle.wolips.componenteditor.componenteditor.htmlcontribution" 
-         targetID="org.objectstyle.wolips.wodclipse.html.HtmlEditor">        
-           <menu id="ComponentEditorHtml"
-			label="&amp;Component Editor" 
-             path="edit/additions">
- 				<separator name="group1"/>
- 				<separator name="group2"/>
-		  </menu>
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToApiEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.toapi"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromhtmltoapi"
-               label="Switch to Api Editor"
-               menubarPath="edit/ComponentEditorHtml/group1"/>
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToWodEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.towod"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromhtmltowod"
-               label="Switch to Wod Editor"
-               menubarPath="edit/ComponentEditorHtml/group1"/>
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToHtmlEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.tohtml"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromhtmltohtml"
-               label="Switch to HTML Editor"
-               menubarPath="edit/ComponentEditorHtml/group1"/>
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToJavaEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.tojava"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromhtmltojava"
-               label="Switch to Java Editor"
-               menubarPath="edit/ComponentEditorHtml/group1"/>
-      </editorContribution>
-      <editorContribution 
-         id="org.objectstyle.wolips.componenteditor.componenteditor.wodcontribution" 
-         targetID="org.objectstyle.wolips.wodclipse.wod.WodEditor">        
-           <menu id="ComponentEditorWod"
+         id="org.objectstyle.wolips.componenteditor.editorActionsContribution" 
+         targetID="org.objectstyle.wolips.wodclipse.mpe.ComponentEditor">        
+           <menu id="org.objectstyle.wolips.componenteditor.navigateMenuContribution"
 			label="&amp;Component Editor" 
-             path="edit/additions">
+             path="navigate/additions">
  				<separator name="group1"/>
  				<separator name="group2"/>
 		  </menu>
          <action
                class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToApiEditorActionDelegate"
                definitionId="org.objectstyle.wolips.componenteditor.editors.toapi"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromwodtoapi"
+               id="org.objectstyle.wolips.componenteditor.editors.switchtoapi"
                label="Switch to Api Editor"
-               menubarPath="edit/ComponentEditorWod/group1"/> 
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToWodEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.towod"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromwodtowod"
-               label="Switch to Wod Editor"
-               menubarPath="edit/ComponentEditorWod/group1"/> 
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToHtmlEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.tohtml"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromwodtohtml"
-               label="Switch to Html Editor"
-               menubarPath="edit/ComponentEditorWod/group1"/> 
-         <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToJavaEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.tojava"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromwodtojava"
-               label="Switch to Java Editor"
-               menubarPath="edit/ComponentEditorWod/group1"/>
-      </editorContribution>
- 	  <editorContribution 
-         id="org.objectstyle.wolips.componenteditor.componenteditor.apicontribution" 
-         targetID="org.objectstyle.wolips.wodclipse.api.ApiEditor">        
-           <menu id="ComponentEditorApi"
-			label="&amp;Component Editor" 
-             path="edit/additions">
- 				<separator name="group1"/>
- 				<separator name="group2"/>
-		  </menu>
+               menubarPath="navigate/org.objectstyle.wolips.componenteditor.navigateMenuContribution/group1"/>
          <action
-               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToApiEditorActionDelegate"
-               definitionId="org.objectstyle.wolips.componenteditor.editors.toapi"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromapitoapi"
-               label="Switch to Api Editor"
-               menubarPath="edit/ComponentEditorApi/group1"/> 
+               class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToPreviewActionDelegate"
+               definitionId="org.objectstyle.wolips.componenteditor.editors.topreview"
+               id="org.objectstyle.wolips.componenteditor.editors.switchtopreview"
+               label="Switch to Preview"
+               menubarPath="navigate/org.objectstyle.wolips.componenteditor.navigateMenuContribution/group1"/>
          <action
                class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToWodEditorActionDelegate"
                definitionId="org.objectstyle.wolips.componenteditor.editors.towod"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromapitowod"
+               id="org.objectstyle.wolips.componenteditor.editors.switchtowod"
                label="Switch to Wod Editor"
-               menubarPath="edit/ComponentEditorApi/group1"/> 
+               menubarPath="navigate/org.objectstyle.wolips.componenteditor.navigateMenuContribution/group1"/>
          <action
                class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToHtmlEditorActionDelegate"
                definitionId="org.objectstyle.wolips.componenteditor.editors.tohtml"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromapitohtml"
+               id="org.objectstyle.wolips.componenteditor.editors.switchtohtml"
                label="Switch to Html Editor"
-               menubarPath="edit/ComponentEditorApi/group1"/> 
+               menubarPath="navigate/org.objectstyle.wolips.componenteditor.navigateMenuContribution/group1"/>
          <action
                class="org.objectstyle.wolips.componenteditor.editormenu.SwitchToJavaEditorActionDelegate"
                definitionId="org.objectstyle.wolips.componenteditor.editors.tojava"
-               id="org.objectstyle.wolips.componenteditor.editors.switchfromapitojava"
+               id="org.objectstyle.wolips.componenteditor.editors.switchtojava"
                label="Switch to Java Editor"
-               menubarPath="edit/ComponentEditorApi/group1"/>
-      </editorContribution>
- 	</extension>
+               menubarPath="navigate/org.objectstyle.wolips.componenteditor.navigateMenuContribution/group1"/>
+		</editorContribution>
+	</extension>
 </plugin>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.