|
From: Christopher W. <caw...@us...> - 2006-03-28 23:14:50
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17533 Modified Files: plugin.xml Log Message: always refer to same place for ruby file extensions and filenames. Add perspective shortcuts to the Ruby perspective to open debug/browsing. add new open action (F3). Index: plugin.xml =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/plugin.xml,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** plugin.xml 25 Mar 2006 19:37:45 -0000 1.76 --- plugin.xml 28 Mar 2006 23:14:45 -0000 1.77 *************** *** 54,57 **** --- 54,60 ---- </page> </extension> + <!-- =========================================================================== --> + <!-- Ruby Perspective --> + <!-- =========================================================================== --> <extension point="org.eclipse.ui.perspectives"> *************** *** 63,66 **** --- 66,110 ---- </perspective> </extension> + <extension point="org.eclipse.ui.perspectiveExtensions"> + <perspectiveExtension + targetID="org.rubypeople.rdt.ui.RubyBrowsingPerspective"> + <perspectiveShortcut + id="org.rubypeople.rdt.ui.PerspectiveRuby"> + </perspectiveShortcut> + </perspectiveExtension> + <perspectiveExtension + targetID="org.eclipse.debug.ui.DebugPerspective"> + <perspectiveShortcut + id="org.rubypeople.rdt.ui.PerspectiveRuby"> + </perspectiveShortcut> + </perspectiveExtension> + <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective"> + <perspectiveShortcut id="org.rubypeople.rdt.ui.PerspectiveRuby" /> + </perspectiveExtension> + <perspectiveExtension targetID="org.rubypeople.rdt.ui.PerspectiveRuby"> + <newWizardShortcut id="org.rubypeople.rdt.ui.wizards.NewWizardProjectCreation"/> + <newWizardShortcut id="org.eclipse.ui.wizards.new.folder"/> + <newWizardShortcut id="org.eclipse.ui.wizards.new.file"/> + <viewShortcut id="org.eclipse.ui.views.ContentOutline"/> + <viewShortcut id="org.rubypeople.rdt.ui.ViewRubyResources"/> + <viewShortcut id="org.eclipse.ui.console.ConsoleView"/> + <viewShortcut id="org.eclipse.ui.views.ProblemView"/> + <viewShortcut id="org.eclipse.ui.views.TaskList"/> + <viewShortcut id="org.rubypeople.rdt.ui.views.RIView"/> + <perspectiveShortcut + id="org.rubypeople.rdt.ui.RubyBrowsingPerspective"> + </perspectiveShortcut> + <perspectiveShortcut + id="org.eclipse.debug.ui.DebugPerspective"> + </perspectiveShortcut> + <perspectiveShortcut + id="org.rubypeople.rdt.ui.PerspectiveRuby"> + </perspectiveShortcut> + <perspectiveShortcut id="org.eclipse.ui.resourcePerspective" /> + </perspectiveExtension> + <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective"> + <perspectiveShortcut id="org.rubypeople.rdt.ui.PerspectiveRuby" /> + </perspectiveExtension> + </extension> <!-- =========================================================================== --> <!-- Ruby Browsing --> *************** *** 90,94 **** </perspectiveExtension> <perspectiveExtension ! targetID="org.rubypeople.rdt.ui.RubyPerspective"> <perspectiveShortcut id="org.rubypeople.rdt.ui.RubyBrowsingPerspective"> --- 134,138 ---- </perspectiveExtension> <perspectiveExtension ! targetID="org.rubypeople.rdt.ui.PerspectiveRuby"> <perspectiveShortcut id="org.rubypeople.rdt.ui.RubyBrowsingPerspective"> *************** *** 98,102 **** targetID="org.rubypeople.rdt.ui.RubyBrowsingPerspective"> <perspectiveShortcut ! id="org.rubypeople.rdt.ui.RubyPerspective"> </perspectiveShortcut> </perspectiveExtension> --- 142,146 ---- targetID="org.rubypeople.rdt.ui.RubyBrowsingPerspective"> <perspectiveShortcut ! id="org.rubypeople.rdt.ui.PerspectiveRuby"> </perspectiveShortcut> </perspectiveExtension> *************** *** 225,248 **** </view> </extension> - <extension point="org.eclipse.ui.perspectiveExtensions"> - <perspectiveExtension targetID="org.eclipse.ui.resourcePerspective"> - <perspectiveShortcut id="org.rubypeople.rdt.ui.PerspectiveRuby" /> - </perspectiveExtension> - <perspectiveExtension targetID="org.rubypeople.rdt.ui.PerspectiveRuby"> - <newWizardShortcut id="org.rubypeople.rdt.ui.wizards.NewWizardProjectCreation"/> - <newWizardShortcut id="org.eclipse.ui.wizards.new.folder"/> - <newWizardShortcut id="org.eclipse.ui.wizards.new.file"/> - <viewShortcut id="org.eclipse.ui.views.ContentOutline"/> - <viewShortcut id="org.rubypeople.rdt.ui.ViewRubyResources"/> - <viewShortcut id="org.eclipse.ui.console.ConsoleView"/> - <viewShortcut id="org.eclipse.ui.views.ProblemView"/> - <viewShortcut id="org.eclipse.ui.views.TaskList"/> - <viewShortcut id="org.rubypeople.rdt.ui.views.RIView"/> - <perspectiveShortcut id="org.eclipse.ui.resourcePerspective" /> - </perspectiveExtension> - <perspectiveExtension targetID="org.eclipse.jdt.ui.JavaPerspective"> - <perspectiveShortcut id="org.rubypeople.rdt.ui.PerspectiveRuby" /> - </perspectiveExtension> - </extension> <extension point="org.eclipse.ui.editors"> <editor --- 269,272 ---- *************** *** 308,316 **** platform="carbon"> </key> ! <key sequence="M1+M2+P" contextId="org.rubypeople.rdt.ui.rubyEditorScope" commandId="org.rubypeople.rdt.ui.edit.text.ruby.goto.matching.bracket" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> </extension> <extension point="org.eclipse.ui.commands"> --- 332,345 ---- platform="carbon"> </key> ! <key sequence="M1+M2+P" contextId="org.rubypeople.rdt.ui.rubyEditorScope" commandId="org.rubypeople.rdt.ui.edit.text.ruby.goto.matching.bracket" schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> + + <key + sequence="F3" + commandId="org.rubypeople.rdt.ui.edit.text.ruby.open.editor" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"/> </extension> <extension point="org.eclipse.ui.commands"> *************** *** 468,471 **** --- 497,516 ---- </action> </actionSet> + <actionSet + label="%OpenActionSet.label" + description="%OpenActionSet.description" + visible="false" + id="org.rubypeople.rdt.ui.A_OpenActionSet"> + + <action + definitionId="org.rubypeople.rdt.ui.edit.text.ruby.open.editor" + label="%OpenAction.label" + tooltip="%OpenAction.tooltip" + retarget="true" + menubarPath="navigate/open.ext" + allowLabelUpdate="true" + id="org.rubypeople.rdt.ui.actions.Open"> + </action> + </actionSet> </extension> *************** *** 490,493 **** --- 535,559 ---- </part> </actionSetPartAssociation> + <actionSetPartAssociation + targetID="org.rubypeople.rdt.ui.A_OpenActionSet"> + <part + id="org.eclipse.search.SearchResultView"> + </part> + <part + id="org.rubypeople.rdt.ui.ViewRubyResources"> + </part> + <part + id="org.rubypeople.rdt.ui.EditorRubyFile"> + </part> + <part + id="org.rubypeople.rdt.ui.ProjectsView"> + </part> + <part + id="org.rubypeople.rdt.ui.TypesView"> + </part> + <part + id="org.rubypeople.rdt.ui.MembersView"> + </part> + </actionSetPartAssociation> </extension> *************** *** 623,628 **** class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyDocumentSetupParticipant" contentTypeId="org.rubypeople.rdt.core.rubySource" ! extensions="rb,rbw" ! fileNames="Rakefile"> </participant> </extension> --- 689,694 ---- class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyDocumentSetupParticipant" contentTypeId="org.rubypeople.rdt.core.rubySource" ! extensions="%EditorRubyFile.extension" ! fileNames="%EditorRubyFile.filenames"> </participant> </extension> *************** *** 634,639 **** class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyDocumentFactory" contentTypeId="org.rubypeople.rdt.core.rubySource" ! extensions="rb,rbw" ! fileNames="Rakefile"> </factory> </extension> --- 700,705 ---- class="org.rubypeople.rdt.internal.ui.rubyeditor.RubyDocumentFactory" contentTypeId="org.rubypeople.rdt.core.rubySource" ! extensions="%EditorRubyFile.extension" ! fileNames="%EditorRubyFile.filenames"> </factory> </extension> |