object.setStyleName( this.styleName );
Logger.getAnonymousLogger().log( Level.SPAM, "Current style: "+ object.getStyleName(), null );
}
public void resolve(Object source) {
UIObject object = (UIObject) source;
String previousStyle = (String) this.previousStyles.get(source);
if( previousStyle != null ){
GWT.log( "Reverting to style:" + previousStyle, null );
object.setStyleName( previousStyle );
GWT.log( object.toString(), null );
this.previousStyles.remove( source );
}
}