cca53a47a358e80a42da31e528e757a44ec56169
Files Diff
- Added: 18
- Removed: 7
- Renamed: 0
- Modified: 51
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type editorPartStackPresenter : EditorPartStack to editorMultiPartStackPresenter : EditorMultiPartStackPresenter in method public ProjectPerspective(view PerspectiveViewImpl, editorMultiPartStackPresenter EditorMultiPartStackPresenter, stackPresenterFactory PartStackPresenterFactory, partViewFactory PartStackViewFactory, controllerFactory WorkBenchControllerFactory, projectExplorerPart ProjectExplorerPart, notificationManager NotificationManager, eventBus EventBus) in class org.eclipse.che.ide.workspace.perspectives.project.ProjectPerspective | From | To | |
Change Parameter Type editor : EditorPartPresenter to tab : EditorTab in method public closeEditor(tab EditorTab) : void in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Rename Class | 1 | ||
Rename Class org.eclipse.che.ide.actions.CloseActiveEditor renamed to org.eclipse.che.ide.actions.CloseActiveEditorAction | From | To | |
Move Class | 5 | ||
Move Class org.eclipse.che.ide.editor.EditorSwitchAction moved to org.eclipse.che.ide.part.editor.actions.EditorSwitchAction | From | To | |
Move Class org.eclipse.che.ide.editor.SwitchPreviousEditorAction moved to org.eclipse.che.ide.part.editor.actions.SwitchPreviousEditorAction | From | To | |
Move Class org.eclipse.che.ide.api.event.FileEventHandler moved to org.eclipse.che.ide.api.event.FileEvent.FileEventHandler | From | To | |
Move Class org.eclipse.che.ide.part.widgets.editortab.EditorTab moved to org.eclipse.che.ide.api.parts.EditorTab | From | To | |
Move Class org.eclipse.che.ide.editor.SwitchNextEditorAction moved to org.eclipse.che.ide.part.editor.actions.SwitchNextEditorAction | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [icon : SVGResource, title : String] to relatedEditorPart : EditorPartPresenter in method public EditorTabWidget(relatedEditorPart EditorPartPresenter, resources PartStackUIResources, editorTabContextMenu EditorTabContextMenuFactory, eventBus EventBus, fileTypeRegistry FileTypeRegistry) in class org.eclipse.che.ide.part.widgets.editortab.EditorTabWidget | From | To | |
Change Variable Type | 2 | ||
Change Variable Type part : PartPresenter to editorPart : EditorPartPresenter in method public addPart(part PartPresenter) : void in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Change Variable Type openedEditor : EditorPartPresenter to partPresenter : PartPresenter in method private doOpen(file VirtualFile, callback OpenEditorCallback, constraints Constraints) : void in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Extract Variable | 3 | ||
Extract Variable activeTabWidget : Widget in method private ensureActiveTabVisible() : void from class org.eclipse.che.ide.part.editor.EditorPartStackView | From | To | |
Extract Variable currentWidget : Widget in method private ensureActiveTabVisible() : void from class org.eclipse.che.ide.part.editor.EditorPartStackView | From | To | |
Extract Variable resource : Resource in method private onResourceUpdated(delta ResourceDelta) : void from class org.eclipse.che.ide.api.editor.texteditor.TextEditorPresenter | From | To | |
Extract Method | 1 | ||
Extract Method private doClose(editor EditorPartPresenter) : void extracted from protected closeEditorPart(editor EditorPartPresenter) : void in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Rename Method | 1 | ||
Rename Method protected closeEditorPart(editor EditorPartPresenter) : void renamed to public closeEditor(tab EditorTab) : void in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Pull Up Method | 1 | ||
Pull Up Method private isPinned(e ActionEvent) : boolean from class org.eclipse.che.ide.part.editor.actions.PinEditorTabAction to protected getEditorTab(e ActionEvent) : EditorTab from class org.eclipse.che.ide.part.editor.actions.EditorAbstractAction | From | To | |
Rename Variable | 2 | ||
Rename Variable openedEditor : EditorPartPresenter to partPresenter : PartPresenter in method private doOpen(file VirtualFile, callback OpenEditorCallback, constraints Constraints) : void in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Rename Variable part : PartPresenter to editorPart : EditorPartPresenter in method public addPart(part PartPresenter) : void in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to EditorTab in method protected getEditorTab(e ActionEvent) : EditorTab in class org.eclipse.che.ide.part.editor.actions.EditorAbstractAction | From | To | |
Rename Attribute | 2 | ||
Rename Attribute closeActiveEditor : CloseActiveEditor to closeActiveEditorAction : CloseActiveEditorAction in class org.eclipse.che.ide.core.StandardComponentInitializer | From | To | |
Rename Attribute myRelativeToActionId : String to relativeId : String in class org.eclipse.che.ide.api.constraints.Constraints | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type partsOrder : LinkedList<PartPresenter> to partsOrder : LinkedList<EditorPartPresenter> in class org.eclipse.che.ide.part.editor.EditorPartStackPresenter | From | To | |
Change Attribute Type closeActiveEditor : CloseActiveEditor to closeActiveEditorAction : CloseActiveEditorAction in class org.eclipse.che.ide.core.StandardComponentInitializer | From | To | |
Extract And Move Method | 5 | ||
Extract And Move Method public createOpenFileEvent(file VirtualFile) : FileEvent extracted from public actionPerformed(e ActionEvent) : void in class org.eclipse.che.ide.actions.EditFileAction & moved to class org.eclipse.che.ide.api.event.FileEvent | From | To | |
Extract And Move Method public createOpenFileEvent(file VirtualFile) : FileEvent extracted from public actionPerformed() : void in class org.eclipse.che.ide.resources.tree.FileNode & moved to class org.eclipse.che.ide.api.event.FileEvent | From | To | |
Extract And Move Method public createOpenFileEvent(file VirtualFile) : FileEvent extracted from public actionPerformed() : void in class org.eclipse.che.ide.ext.java.client.tree.library.JarFileNode & moved to class org.eclipse.che.ide.api.event.FileEvent | From | To | |
Extract And Move Method public createOpenFileEvent(file VirtualFile) : FileEvent extracted from public actionPerformed(e ActionEvent) : void in class org.eclipse.che.ide.part.editor.recent.RecentFileAction & moved to class org.eclipse.che.ide.api.event.FileEvent | From | To | |
Extract And Move Method public createOpenFileEvent(file VirtualFile) : FileEvent extracted from public actionPerformed(event ActionEvent) : void in class org.eclipse.che.ide.actions.OpenFileAction & moved to class org.eclipse.che.ide.api.event.FileEvent | From | To | |
Rename Parameter | 6 | ||
Rename Parameter e : ActionEvent to event : ActionEvent in method public actionPerformed(event ActionEvent) : void in class org.eclipse.che.ide.part.editor.actions.CloseAllAction | 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.ReopenClosedFileAction | 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.CloseOtherAction | From | To | |
Rename Parameter editor : EditorPartPresenter to tab : EditorTab in method public closeEditor(tab EditorTab) : void in class org.eclipse.che.ide.editor.EditorAgentImpl | From | To | |
Rename Parameter relativeToActionId : String to relativeId : String in method public Constraints(anchor Anchor, relativeId String) in class org.eclipse.che.ide.api.constraints.Constraints | From | To | |
Rename Parameter editorPartStackPresenter : EditorPartStack to editorMultiPartStackPresenter : EditorMultiPartStackPresenter in method public ProjectPerspective(view PerspectiveViewImpl, editorMultiPartStackPresenter EditorMultiPartStackPresenter, stackPresenterFactory PartStackPresenterFactory, partViewFactory PartStackViewFactory, controllerFactory WorkBenchControllerFactory, projectExplorerPart ProjectExplorerPart, notificationManager NotificationManager, eventBus EventBus) in class org.eclipse.che.ide.workspace.perspectives.project.ProjectPerspective | From | To |