5fa3e6c7e088c67c9889910dc788df474b409ab3
Files Diff
- Added: 10
- Removed: 4
- Renamed: 0
- Modified: 23
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type processFile : IPath to programFileLocation : Location in method public EclipseProcessLauncher(programFileLocation Location, workingDir IPath, processArgs String[], environment Map<String,String>, appendEnvironment boolean, processType String) in class melnorme.lang.ide.launching.EclipseProcessLauncher | From | To | |
| Move Method | 2 | ||
| Move Method protected evaluateStringVars(expression String) : String from class melnorme.lang.ide.launching.LangLaunchConfigurationDelegate to protected evaluateStringVars(expression String) : String from class melnorme.lang.ide.launching.LangLaunchConfigurationDelegate.LangLaunchConfigurationValidator | From | To | |
| Move Method protected getVariableManager() : IStringVariableManager from class melnorme.lang.ide.launching.LangLaunchConfigurationDelegate to protected getVariableManager() : IStringVariableManager from class melnorme.lang.ide.launching.LangLaunchConfigurationDelegate.LangLaunchConfigurationValidator | From | To | |
| Pull Up Attribute | 4 | ||
| Pull Up Attribute public ATTR_PROGRAM_PATH : String from class melnorme.lang.ide.core.LaunchConstants_Actual to public ATTR_PROGRAM_PATH : String from class melnorme.lang.ide.launching.LaunchConstants_Default | From | To | |
| Pull Up Attribute public ATTR_PROGRAM_ARGUMENTS : String from class melnorme.lang.ide.core.LaunchConstants_Actual to public ATTR_PROGRAM_ARGUMENTS : String from class melnorme.lang.ide.launching.LaunchConstants_Default | From | To | |
| Pull Up Attribute public ATTR_WORKING_DIRECTORY : String from class melnorme.lang.ide.core.LaunchConstants_Actual to public ATTR_WORKING_DIRECTORY : String from class melnorme.lang.ide.launching.LaunchConstants_Default | From | To | |
| Pull Up Attribute public ATTR_PROJECT_NAME : String from class melnorme.lang.ide.core.LaunchConstants_Actual to public ATTR_PROJECT_NAME : String from class melnorme.lang.ide.launching.LaunchConstants_Default | From | To | |
| Move Attribute | 1 | ||
| Move Attribute public LAUNCH_CONFIG_ID : String from class melnorme.lang.ide.core.LaunchConstants_Actual to public LAUNCH_CONFIG_ID : String from class com.googlecode.goclipse.ui.launch.GoLaunchShortcut | From | To | |
| Extract Class | 1 | ||
| Extract Class melnorme.lang.tooling.data.AbstractValidator2 from class melnorme.lang.ide.launching.ProcessLaunchInfoValidator | From | To | |
| Move Class | 3 | ||
| Move Class melnorme.lang.ide.launching.LaunchMessages moved to melnorme.lang.ide.core.launch.LaunchMessages | From | To | |
| Move Class melnorme.lang.ide.launching.ProcessLaunchInfoValidator moved to melnorme.lang.ide.core.launch.ProcessLaunchInfoValidator | From | To | |
| Move Class melnorme.lang.ide.launching.ProcessLaunchInfo moved to melnorme.lang.ide.core.launch.ProcessLaunchInfo | From | To | |
| Inline Variable | 1 | ||
| Inline Variable args : String in method protected getProgramArguments() : String[] from class melnorme.lang.ide.launching.ProcessLaunchInfoValidator | From | To | |
| Extract Method | 1 | ||
| Extract Method protected validateLocation(location Location, locKind LocationKind) : void extracted from protected validateLocation(location Location) : Location in class melnorme.lang.tooling.data.PathValidator | From | To | |
| Rename Method | 6 | ||
| Rename Method protected createProgramPathField_2() : ProjectRelativePathField renamed to protected createProgramPathField() : ProjectRelativePathField in class melnorme.lang.ide.ui.launch.MainLaunchConfigurationTab | From | To | |
| Rename Method protected getProgramPathName() : String renamed to protected getProgramPathString() : String in class melnorme.lang.ide.ui.launch.MainLaunchConfigurationTab | From | To | |
| Rename Method protected getValidateProcessLaunchInfo() : ProcessLaunchInfo renamed to public getValidatedProcessLaunchInfo() : ProcessLaunchInfo in class melnorme.lang.ide.core.launch.ProcessLaunchInfoValidator | From | To | |
| Rename Method protected getValidatedProgramFile() : IFile renamed to protected getValidatedProgramFileLocation() : Location in class melnorme.lang.ide.ui.launch.MainLaunchConfigurationTab | From | To | |
| Rename Method public eloc(location IPath) : Location renamed to public loc(location IPath) : Location in class melnorme.lang.ide.core.utils.ResourceUtils | From | To | |
| Rename Method protected createProgramPathField_2() : ProjectRelativePathField renamed to protected createProgramPathField() : ProjectRelativePathField in class com.googlecode.goclipse.ui.launch.GoLaunchConfigurationTab | From | To | |
| Pull Up Method | 9 | ||
| Pull Up Method protected doCreateTopLevelControl(parent Composite) : Composite from class melnorme.lang.ide.ui.fields.ProjectRelativePathField to protected doCreateTopLevelControl(parent Composite) : Composite from class melnorme.util.swt.components.fields.EnablementButtonTextField | From | To | |
| Pull Up Method protected getProject() : IProject from class melnorme.lang.ide.launching.ProcessLaunchInfoValidator to public getProject() : IProject from class melnorme.lang.ide.core.launch.ProjectBuildExecutableFileValidator | From | To | |
| Pull Up Method public abstract getProject_Attribute() : String from class melnorme.lang.ide.launching.ProcessLaunchInfoValidator to protected abstract getProject_Attribute() : String from class melnorme.lang.ide.core.launch.ProjectBuildExecutableFileValidator | From | To | |
| Pull Up Method public getPreferredLayoutColumns() : int from class melnorme.lang.ide.ui.fields.ProjectRelativePathField to public getPreferredLayoutColumns() : int from class melnorme.util.swt.components.fields.EnablementButtonTextField | From | To | |
| Pull Up Method protected createTopLevelLayout() : GridLayoutFactory from class melnorme.lang.ide.ui.dialogs.LangProjectWizardFirstPage.LocationGroup to protected createTopLevelLayout() : GridLayoutFactory from class melnorme.util.swt.components.fields.EnablementButtonTextField | From | To | |
| Pull Up Method public abstract getExecutablePath_Attribute() : String from class melnorme.lang.ide.launching.ProcessLaunchInfoValidator to protected abstract getExecutablePath_Attribute() : String from class melnorme.lang.ide.core.launch.ProjectBuildExecutableFileValidator | From | To | |
| Pull Up Method protected createContents_Label(parent Composite) : void from class melnorme.lang.ide.ui.fields.ProjectRelativePathField to protected createContents_Label(parent Composite) : void from class melnorme.util.swt.components.fields.EnablementButtonTextField | From | To | |
| Pull Up Method protected createTopLevelLayout() : GridLayoutFactory from class melnorme.lang.ide.ui.fields.ProjectRelativePathField to protected createTopLevelLayout() : GridLayoutFactory from class melnorme.util.swt.components.fields.EnablementButtonTextField | From | To | |
| Pull Up Method public updateComponentFromInput() : void from class melnorme.lang.ide.ui.dialogs.LangProjectWizardFirstPage.LocationGroup to public updateComponentFromInput() : void from class melnorme.util.swt.components.fields.EnablementButtonTextField | From | To | |
| Change Return Type | 1 | ||
| Change Return Type IFile to Location in method protected getValidatedProgramFileLocation() : Location in class melnorme.lang.ide.ui.launch.MainLaunchConfigurationTab | From | To | |
| Extract Superclass | 2 | ||
| Extract Superclass melnorme.util.swt.components.fields.EnablementButtonTextField from classes [melnorme.lang.ide.ui.dialogs.LangProjectWizardFirstPage.LocationGroup, melnorme.lang.ide.ui.fields.ProjectRelativePathField] | From | To | |
| Extract Superclass melnorme.lang.ide.core.launch.ProjectBuildExecutableFileValidator from classes [melnorme.lang.ide.core.launch.ProcessLaunchInfoValidator] | From | To | |
| Rename Attribute | 5 | ||
| Rename Attribute processFile : IPath to programFileLocation : Location in class melnorme.lang.ide.launching.EclipseProcessLauncher | From | To | |
| Rename Attribute mainTab_ProgramPath_searchButton_message : String to ProgramPathDialog_message : String in class melnorme.lang.ide.ui.LangUIMessages | From | To | |
| Rename Attribute mainTab_ProgramPath_searchButton_title : String to ProgramPathDialog_title : String in class melnorme.lang.ide.ui.LangUIMessages | From | To | |
| Rename Attribute ProgramPathField_title : String to LaunchTab_ProgramPathField_useDefault : String in class melnorme.lang.ide.ui.LangUIMessages | From | To | |
| Rename Attribute programPath : IPath to programFileLocation : Location in class melnorme.lang.ide.core.launch.ProcessLaunchInfo | From | To | |
| Extract Interface | 1 | ||
| Extract Interface melnorme.lang.ide.launching.LaunchConstants_Default from classes [melnorme.lang.ide.core.LaunchConstants_Actual] | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type processFile : IPath to programFileLocation : Location in class melnorme.lang.ide.launching.EclipseProcessLauncher | From | To | |
| Change Attribute Type programPath : IPath to programFileLocation : Location in class melnorme.lang.ide.core.launch.ProcessLaunchInfo | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter processFile : IPath to programFileLocation : Location in method public EclipseProcessLauncher(programFileLocation Location, workingDir IPath, processArgs String[], environment Map<String,String>, appendEnvironment boolean, processType String) in class melnorme.lang.ide.launching.EclipseProcessLauncher | From | To |