this.attributeOid2AtdMap = new TreeMap();
ConnectionManager cm = BrowserCorePlugin.getDefault().getConnectionManager();
IConnection[] connections = cm.getConnections();
for ( int i = 0; i < connections.length; i++ )
{
Schema schema = connections[i].getSchema();
if ( schema != null )
{
createAttributeMaps( schema );
}
}
createAttributeMaps( Schema.DEFAULT_SCHEMA );
this.attributeTypesAndOids = new String[this.attributeTypes2AtdMap.size() + this.attributeOid2AtdMap.size()];
System.arraycopy( this.attributeTypes2AtdMap.keySet().toArray(), 0, this.attributeTypesAndOids, 0,
this.attributeTypes2AtdMap.size() );
System.arraycopy( this.attributeOid2AtdMap.keySet().toArray(), 0, this.attributeTypesAndOids,
this.attributeTypes2AtdMap.size(), this.attributeOid2AtdMap.size() );
// init available syntaxes
this.syntaxOid2LsdMap = new TreeMap();
this.syntaxDesc2LsdMap = new TreeMap();
for ( int i = 0; i < connections.length; i++ )
{
Schema schema = connections[i].getSchema();
if ( schema != null )
{
createSyntaxMaps( schema );
}
}