Changeset 934 for trunk


Ignore:
Timestamp:
10/18/12 16:32:30 (12 years ago)
Author:
fglaser
Message:
  • changed <componentNameChange ... /> to <componentTitleChange/...> in Log files to improve naming consistency
  • the source type (attribute titleSource) of the title change is now encoded as a number to make the parsing procedure easier
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-jfcmonitor/src/main/java/de/ugoe/cs/autoquest/jfcmonitor/JFCTitleChangeListener.java

    r928 r934  
    8686                                int oldTitleSource = jfcComponent.getTitleSource(); 
    8787                                Object newTitle = evt.getNewValue(); 
    88                                 // We only print the name change message if the new title is as 
     88                                // We only print the title change message if the new title is as 
    8989                                // least as informative as the initial title 
    9090                                if ((!CHECK_HIERARCHY || oldTitleSource <= titleSource)) { 
    9191                                        StringBuilder builder = new StringBuilder(); 
    92                                         builder.append("<componentNameChange hash=\""); 
     92                                        builder.append("<componentTitleChange hash=\""); 
    9393                                        builder.append(Integer.toHexString(component.hashCode())); 
    94                                         builder.append("\" newName=\"" + newTitle); 
    95                                         builder.append("\" source=\"" + propertyName); 
     94                                        builder.append("\" newTitle=\"" + newTitle); 
     95                                        builder.append("\" titleSource=\"" + titleSource); 
    9696                                        builder.append("\" />" + StringTools.ENDLINE); 
    9797                                        outputWriter.write(builder.toString()); 
Note: See TracChangeset for help on using the changeset viewer.