b8937fa11bb6ecfb064a8e94d3605be8d828e48d
Files Diff
- Added: 2
- Removed: 1
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public addFieldBinding(field IProperty<T>, preference IProjectPreference<T>) : void renamed to public bindToProjectPref(field IProperty<T>, preference IProjectPreference<T>) : void in class melnorme.lang.ide.ui.preferences.ProjectAndPreferencesBlock | From | To | |
Rename Method public bindToPreference(pref IGlobalPreference<T>, field IProperty<T>) : void renamed to public bindToPreference2(field IProperty<T>, pref IGlobalPreference<T>) : void in class melnorme.lang.ide.ui.preferences.common.AbstractPreferencesEditorsPrefPage | From | To | |
Pull Up Method | 1 | ||
Pull Up Method protected createContents(parent Composite) : Control from class melnorme.lang.ide.ui.preferences.LangRootPreferencePage to protected createContents(parent Composite) : Control from class melnorme.lang.ide.ui.preferences.AbstractPreferencesBlockPrefPage | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public getPrefId() : String moved from class melnorme.lang.ide.ui.text.coloring.StylingPreferences.SimpleTextStylingPref to class melnorme.lang.ide.ui.text.coloring.TokenRegistry & inlined to protected doGetToken(id String, stylingPref IFieldView<TextStyling>) : Token | From | To | |
Change Parameter Type | 10 | ||
Change Parameter Type stylingPref : ITextStylingPref to stylingPref : ThemedTextStylingPreference in method public getToken(stylingPref ThemedTextStylingPreference) : IToken in class melnorme.lang.ide.ui.text.coloring.TokenRegistry | From | To | |
Change Parameter Type stylingPref : ITextStylingPref to stylingPref : IFieldView<TextStyling> in method protected createTextAttribute(stylingPref IFieldView<TextStyling>) : TextAttribute in class melnorme.lang.ide.ui.text.coloring.TokenRegistry | From | To | |
Change Parameter Type pref : ITextStylingPref to pref : ThemedTextStylingPreference in method protected put(pref ThemedTextStylingPreference) : void in class melnorme.lang.ide.ui.text.coloring.StylingPreferences | From | To | |
Change Parameter Type validationSources : Iterable<IValidationSource> to validationSources : Iterable<? extends IValidationSource> in method public getHighestStatus(validationSources Iterable<? extends IValidationSource>) : IStatusMessage in class melnorme.lang.tooling.data.IValidationSource | From | To | |
Change Parameter Type stylingPref : ITextStylingPref to stylingPref : IFieldView<TextStyling> in method protected updateToken(token Token, stylingPref IFieldView<TextStyling>) : void in class melnorme.lang.ide.ui.text.coloring.TokenRegistry | From | To | |
Change Parameter Type stylingPref : ITextStylingPref to stylingPref : IFieldView<TextStyling> in method protected doGetToken(id String, stylingPref IFieldView<TextStyling>) : Token in class melnorme.lang.ide.ui.text.coloring.TokenRegistry | From | To | |
Change Parameter Type coloringItem : ITextStylingPref to coloringItem : ThemedTextStylingPreference in method public SingleTokenScanner(tokenStore TokenRegistry, coloringItem ThemedTextStylingPreference) in class melnorme.lang.ide.ui.text.coloring.SingleTokenScanner | From | To | |
Change Parameter Type stylingPref : ITextStylingPref to stylingPref : ThemedTextStylingPreference in method public getToken(stylingPref ThemedTextStylingPreference) : IToken in class melnorme.lang.ide.ui.text.AbstractLangScanner | From | To | |
Change Parameter Type pref : ITextStylingPref to pref : IPreferenceIdentifier in method public get(pref IPreferenceIdentifier) : IFieldView<TextStyling> in class melnorme.lang.ide.ui.text.coloring.StylingPreferences | From | To | |
Change Parameter Type pref : ITextStylingPref to pref : IPreferenceIdentifier in method public get(pref IPreferenceIdentifier) : SimpleTextStylingPref in class melnorme.lang.ide.ui.text.coloring.StylingPreferences.OverlayStylingPreferences | From | To | |
Change Return Type | 3 | ||
Change Return Type ITextStylingPref to IFieldView<TextStyling> in method public get(key String) : IFieldView<TextStyling> in class melnorme.lang.ide.ui.text.coloring.StylingPreferences | From | To | |
Change Return Type DomainField<T> to IFieldView<T> in method public asField() : IFieldView<T> in class melnorme.lang.ide.core.utils.prefs.PreferenceHelper | From | To | |
Change Return Type ITextStylingPref to IFieldView<TextStyling> in method public get(pref IPreferenceIdentifier) : IFieldView<TextStyling> in class melnorme.lang.ide.ui.text.coloring.StylingPreferences | From | To | |
Move Attribute | 2 | ||
Move Attribute protected stylingPrefs : StylingPreferences from class melnorme.lang.ide.ui.text.AbstractLangScanner to protected stylingPrefs : StylingPreferences from class melnorme.lang.ide.ui.text.AbstractSimpleLangSourceViewerConfiguration | From | To | |
Move Attribute protected stylingPrefs : StylingPreferences from class melnorme.lang.ide.ui.text.AbstractLangScanner to protected stylingPrefs : StylingPreferences from class melnorme.lang.ide.ui.text.coloring.TokenRegistry | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class melnorme.lang.ide.ui.text.coloring.ITextStylingPref moved and renamed to melnorme.lang.ide.core.utils.prefs.IPreferenceIdentifier | From | To | |
Extract Superclass | 1 | ||
Extract Superclass melnorme.lang.ide.ui.preferences.AbstractPreferencesBlockPrefPage from classes [melnorme.lang.ide.ui.preferences.LangRootPreferencePage] | From | To | |
Rename Attribute | 2 | ||
Rename Attribute buildOptionsToChange2 : HashMap2<String,BuildTargetData> to buildOptionsToChange : HashMap2<String,BuildTargetData> in class melnorme.lang.ide.ui.preferences.LangProjectBuildConfigurationComponent | From | To | |
Rename Attribute tokenStore : TokenRegistry to tokenRegistry : TokenRegistry in class melnorme.lang.ide.ui.text.AbstractLangScanner | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type temporaryPref : SimpleTextStylingPref to temporaryPref : IDomainField<TextStyling> in class melnorme.lang.ide.ui.text.coloring.AbstractSourceColoringConfigurationBlock.SourceColoringElement | From | To | |
Change Attribute Type stylingPrefsMap : HashMap2<String,ITextStylingPref> to stylingPrefsMap : HashMap2<String,IFieldView<TextStyling>> in class melnorme.lang.ide.ui.text.coloring.StylingPreferences | From | To | |
Extract Method | 1 | ||
Extract Method public getValue() : T extracted from public get() : T in class melnorme.lang.ide.core.utils.prefs.IGlobalPreference | From | To | |
Rename Parameter | 1 | ||
Rename Parameter tokenStore : TokenRegistry to tokenRegistry : TokenRegistry in method public AbstractLangScanner(tokenRegistry TokenRegistry) in class melnorme.lang.ide.ui.text.AbstractLangScanner | From | To |