031527b8156738df9a69f44a8bd5da0c06e89f66
Files Diff
- Added: 12
- Removed: 6
- Renamed: 0
- Modified: 29
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type editorPart : EditorPartPresenter to editorPartStack : EditorPartStack in method public getOpenedEditorsFor(editorPartStack EditorPartStack) : List<EditorPartPresenter> in class org.eclipse.che.ide.api.editor.EditorAgent | From | To | |
Change Parameter Type editorPart : EditorPartPresenter to editorPartStack : EditorPartStack in method public getOpenedEditorsFor(editorPartStack EditorPartStack) : List<EditorPartPresenter> in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Move And Rename Class | 4 | ||
Move And Rename Class org.eclipse.che.ide.part.widgets.listtab.ListButtonWidget.ListButtonWidgetUiBinder moved and renamed to org.eclipse.che.ide.part.widgets.panemenu.PaneMenuTabItemWidget.PaneMenuTabItemWidgetUiBinder | From | To | |
Move And Rename Class org.eclipse.che.ide.part.widgets.listtab.ListItem moved and renamed to org.eclipse.che.ide.part.widgets.panemenu.EditorPaneMenuItem | From | To | |
Move And Rename Class org.eclipse.che.ide.part.widgets.listtab.ListItemWidget.ListItemWidgetUiBinder moved and renamed to org.eclipse.che.ide.part.widgets.panemenu.EditorPaneMenuWidget.EditorPaneMenuWidgetUiBinder | From | To | |
Move And Rename Class org.eclipse.che.ide.part.widgets.listtab.ListButton moved and renamed to org.eclipse.che.ide.part.widgets.panemenu.EditorPaneMenu | From | To | |
Extract Variable | 6 | ||
Extract Variable editorTab : EditorTab in method public actionPerformed(e ActionEvent) : void from class org.eclipse.che.ide.part.editor.actions.CloseAction | From | To | |
Extract Variable file : VirtualFile in method public actionPerformed(event ActionEvent) : void from class org.eclipse.che.ide.part.editor.actions.SplitHorizontallyAction | From | To | |
Extract Variable tabId : String in method public actionPerformed(event ActionEvent) : void from class org.eclipse.che.ide.part.editor.actions.SplitHorizontallyAction | From | To | |
Extract Variable file : VirtualFile in method public actionPerformed(event ActionEvent) : void from class org.eclipse.che.ide.part.editor.actions.SplitVerticallyAction | From | To | |
Extract Variable tabId : String in method public actionPerformed(event ActionEvent) : void from class org.eclipse.che.ide.part.editor.actions.SplitVerticallyAction | From | To | |
Extract Variable activePart : PartPresenter in method public onActivePartChanged(event ActivePartChangedEvent) : void from class org.eclipse.che.ide.part.editor.multipart.EditorMultiPartStackPresenter | From | To | |
Split Parameter | 1 | ||
Split Parameter eventBus : EventBus to [editorPaneMenuItemFactory : EditorPaneMenuItemFactory, closeAllTabsPaneAction : CloseAllTabsPaneAction] in method public EditorPartStackPresenter(view EditorPartStackView, partsComparator PartsComparator, editorPaneMenuItemFactory EditorPaneMenuItemFactory, presentationFactory PresentationFactory, eventBus EventBus, tabItemFactory TabItemFactory, partStackEventHandler PartStackEventHandler, editorPaneMenu EditorPaneMenu, actionManager ActionManager, closePaneAction ClosePaneAction, closeAllTabsPaneAction CloseAllTabsPaneAction) in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Change Variable Type | 2 | ||
Change Variable Type entry : Entry<ListItem,TabItem> to entry : Entry<EditorPaneMenuItem,TabItem> in method private getPaneMenuItemByTab(tabItem TabItem) : EditorPaneMenuItem in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Change Variable Type listItem : ListItem to editorPaneMenuItem : EditorPaneMenuItem in method public onTabClose(tab TabItem) : void in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Extract Method | 2 | ||
Extract Method private removeHandlers() : void extracted from public removePart(part PartPresenter) : void in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Extract Method private removePartStack(editorPartStack EditorPartStack) : void extracted from public removePart(part PartPresenter) : void in class org.eclipse.che.ide.part.editor.multipart.EditorMultiPartStackPresenter | From | To | |
Rename Method | 3 | ||
Rename Method public getOpenedEditorsBasedOn(editorPart EditorPartPresenter) : List<EditorPartPresenter> renamed to public getOpenedEditorsFor(editorPartStack EditorPartStack) : List<EditorPartPresenter> in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Rename Method private getListItemByTab(tabItem TabItem) : ListItem renamed to private getPaneMenuItemByTab(tabItem TabItem) : EditorPaneMenuItem in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Rename Method public getOpenedEditorsBasedOn(editorPart EditorPartPresenter) : List<EditorPartPresenter> renamed to public getOpenedEditorsFor(editorPartStack EditorPartStack) : List<EditorPartPresenter> in class org.eclipse.che.ide.api.editor.EditorAgent | From | To | |
Rename Variable | 1 | ||
Rename Variable listItem : ListItem to editorPaneMenuItem : EditorPaneMenuItem in method public onTabClose(tab TabItem) : void in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Inline Method | 1 | ||
Inline Method private doClose(editor EditorPartPresenter) : void inlined to private closeEditor(tab EditorTab) : void in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Change Return Type | 1 | ||
Change Return Type ListItem to EditorPaneMenuItem in method private getPaneMenuItemByTab(tabItem TabItem) : EditorPaneMenuItem in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute editorPartStack : EditorPartStack to activeEditorPartStack : EditorPartStack in method public setFocus(focused boolean) : void in class org.eclipse.che.ide.part.editor.multipart.EditorMultiPartStackPresenter | From | To | |
Replace Variable With Attribute editorPartStack : EditorPartStack to activeEditorPartStack : EditorPartStack in method public addPart(part PartPresenter) : void in class org.eclipse.che.ide.part.editor.multipart.EditorMultiPartStackPresenter | From | To | |
Rename Attribute | 2 | ||
Rename Attribute listButton : ListButton to editorPaneMenu : EditorPaneMenu in class org.eclipse.che.ide.part.editor.EditorPartStackPresenterTest | From | To | |
Rename Attribute listButton : ListButton to editorPaneMenu : EditorPaneMenu in class org.eclipse.che.ide.part.editor.EditorPartStackView | From | To | |
Change Attribute Type | 5 | ||
Change Attribute Type listButton : ListButton to editorPaneMenu : EditorPaneMenu in class org.eclipse.che.ide.part.editor.EditorPartStackView | From | To | |
Change Attribute Type itemCaptor : ArgumentCaptor<ListItem> to itemCaptor : ArgumentCaptor<EditorPaneMenuItem> in class org.eclipse.che.ide.part.editor.EditorPartStackPresenterTest | From | To | |
Change Attribute Type items : Map<ListItem,TabItem> to items : Map<EditorPaneMenuItem,TabItem> in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Change Attribute Type editorMultiPartStack : EditorMultiPartStackPresenter to editorMultiPartStack : EditorMultiPartStack in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Change Attribute Type listButton : ListButton to editorPaneMenu : EditorPaneMenu in class org.eclipse.che.ide.part.editor.EditorPartStackPresenterTest | From | To | |
Rename Parameter | 4 | ||
Rename Parameter e : ActionEvent to event : ActionEvent in method public actionPerformed(event ActionEvent) : void in class org.eclipse.che.ide.part.editor.actions.SplitHorizontallyAction | From | To | |
Rename Parameter editorPart : EditorPartPresenter to editorPartStack : EditorPartStack in method public getOpenedEditorsFor(editorPartStack EditorPartStack) : List<EditorPartPresenter> in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Rename Parameter e : ActionEvent to event : ActionEvent in method public actionPerformed(event ActionEvent) : void in class org.eclipse.che.ide.part.editor.actions.SplitVerticallyAction | From | To | |
Rename Parameter editorPart : EditorPartPresenter to editorPartStack : EditorPartStack in method public getOpenedEditorsFor(editorPartStack EditorPartStack) : List<EditorPartPresenter> in class org.eclipse.che.ide.api.editor.EditorAgent | From | To |