if ( customWindowStates.size() > 0 )
{
Iterator iter = customWindowStates.iterator();
while ( iter.hasNext() )
{
CustomWindowState customState = (CustomWindowState)iter.next();
if ( !list.contains(customState.getCustomState()) && JetspeedActions.getExtendedWindowStates().contains(customState.getMappedState()) )
{
list.add(customState.getCustomState());
supportedCustomStates.put(customState.getMappedState(),customState.getCustomState());
mappedCustomStates.put(customState.getCustomState(),customState.getMappedState());
}
}
}
supportedWindowStates = Collections.unmodifiableCollection(list);
}