mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 04:15:35 +02:00
Bug Fixing
This commit is contained in:
parent
1d7a1efcd3
commit
8cdd74a59e
3 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
|||
2004-06-24 Hoda Amer
|
||||
Changing Refactoring name collision from Error to FatalError
|
||||
|
||||
2004-06-25 Chris Wiebe
|
||||
Fix for PR# 49849: [New Class Wizard] Able to add a new C++ Class with the same name (at same location) from New C++ Class Wizard
|
||||
|
||||
|
|
|
@ -664,12 +664,12 @@ public class RenameElementProcessor extends RenameProcessor implements IReferenc
|
|||
if(localSiblings){
|
||||
String msg= RefactoringCoreMessages.getFormattedString("RenameTypeRefactoring.member_type_exists", //$NON-NLS-1$
|
||||
new String[]{fNewElementName, fCElement.getParent().getElementName()});
|
||||
result.addError(msg);
|
||||
result.addFatalError(msg);
|
||||
|
||||
}else {
|
||||
String msg= RefactoringCoreMessages.getFormattedString("RenameTypeRefactoring.global_member_type_exists", //$NON-NLS-1$
|
||||
new String[]{fNewElementName, fCElement.getParent().getElementName()});
|
||||
result.addError(msg);
|
||||
result.addFatalError(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,7 +103,7 @@ public class LinkToFileGroup extends StringButtonDialogField {
|
|||
* @see DialogField#getNumberOfControls
|
||||
*/
|
||||
public int getNumberOfControls() {
|
||||
return 5;
|
||||
return 4;
|
||||
}
|
||||
|
||||
public Button getLinkCheckButtonControl(Composite parent){
|
||||
|
|
Loading…
Add table
Reference in a new issue