);
}
options = new Hashtable( count );
for( int i = 0; i < count; i++ )
{
final Setting setting = (Setting) items.elementAt( i );
boolean active = true;
if( setting.getOnlyIf() != null )
{
active = ViewFactory.flags.contains( setting.getOnlyIf() );
}
else if( setting.getUnless() != null )
{
active = !ViewFactory.flags.contains( setting.getUnless() );
}
if( active )
{
final Option option = new Option();
option.index = i;
option.key = setting.getKey();
option.defaultValue = setting.isDefaultValue();
option.title = setting.getTitle();
final String text = ResourceManager.getResource(
option.title + "." +
getSetting( option.key, option.defaultValue )
);
int index;