move to right and move to down actions

This commit is contained in:
Konstantin Bulenkov
2014-02-24 16:50:35 +01:00
parent 0120c91c6d
commit 479f584cfa
4 changed files with 62 additions and 0 deletions
@@ -0,0 +1,27 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intellij.ide.actions;
import javax.swing.*;
/**
* @author Konstantin Bulenkov
*/
public class MoveTabDownAction extends SplitAction {
protected MoveTabDownAction() {
super(SwingConstants.HORIZONTAL, true);
}
}
@@ -0,0 +1,27 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.intellij.ide.actions;
import javax.swing.*;
/**
* @author Konstantin Bulenkov
*/
public class MoveTabRightAction extends SplitAction {
protected MoveTabRightAction() {
super(SwingConstants.VERTICAL, true);
}
}
@@ -834,6 +834,10 @@ action.SplitVertically.text=Split _Vertically
action.SplitVertically.description=Split editor area into 2 tab groups and move the current tab to the right group
action.SplitHorizontally.text=Split _Horizontally
action.SplitHorizontally.description=Split editor area into 2 tab groups and move the current tab to the bottom group
action.MoveTabRight.text=Move Right
action.MoveTabRight.description=Split editor area into 2 tab groups and move the current tab to the right group and close the left editor
action.MoveTabDown.text=Move Down
action.MoveTabDown.description=Split editor area into 2 tab groups and move the current tab to the bottom group and close the top editor
action.ChangeSplitOrientation.text=Change Splitter O_rientation
action.ChangeSplitOrientation.description=Changes orientation of splitter
action.Unsplit.text=Un_split
@@ -376,6 +376,8 @@
<action id="ReopenClosedTab" class="com.intellij.openapi.fileEditor.impl.ReopenClosedTabAction" />
<action id="SplitVertically" class="com.intellij.ide.actions.SplitVerticallyAction" icon="AllIcons.Actions.SplitVertically"/>
<action id="SplitHorizontally" class="com.intellij.ide.actions.SplitHorizontallyAction" icon="AllIcons.Actions.SplitHorizontally"/>
<action id="MoveTabRight" class="com.intellij.ide.actions.MoveTabRightAction"/>
<action id="MoveTabDown" class="com.intellij.ide.actions.MoveTabDownAction"/>
<action id="ChangeSplitOrientation" class="com.intellij.ide.actions.ChangeSplitterOrientationAction"/>
<action id="Unsplit" class="com.intellij.ide.actions.UnsplitAction"/>
<action id="UnsplitAll" class="com.intellij.ide.actions.UnsplitAllAction"/>
@@ -478,6 +480,8 @@
<separator/>
<reference ref="SplitVertically"/>
<reference ref="SplitHorizontally"/>
<reference ref="MoveTabRight"/>
<reference ref="MoveTabDown"/>
<action id="MoveEditorToOppositeTabGroup" class="com.intellij.openapi.fileEditor.impl.MoveEditorToOppositeTabGroupAction"/>
<action id="OpenEditorInOppositeTabGroup" class="com.intellij.openapi.fileEditor.impl.OpenEditorInOppositeTabGroupAction"/>
<reference ref="ChangeSplitOrientation"/>