INTEGRATION: CWS docking4 (1.35.8); FILE MERGED

2004/11/02 15:29:37 ssa 1.35.8.2: RESYNC: (1.35-1.36); FILE MERGED
2004/09/30 11:07:11 fs 1.35.8.1: #i33338# SupportedFeatures now also know which ::com::sun::frame::CommandGroup they belong to
This commit is contained in:
Oliver Bolte 2004-11-16 13:33:02 +00:00
parent c9a6baa64a
commit 24125dfd09

View file

@ -2,9 +2,9 @@
*
* $RCSfile: RelationController.cxx,v $
*
* $Revision: 1.36 $
* $Revision: 1.37 $
*
* last change: $Author: pjunck $ $Date: 2004-10-22 12:07:47 $
* last change: $Author: obo $ $Date: 2004-11-16 14:33:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -427,11 +427,11 @@ short ORelationController::saveModified()
return nSaved;
}
// -----------------------------------------------------------------------------
void ORelationController::AddSupportedFeatures()
void ORelationController::describeSupportedFeatures()
{
OJoinController::AddSupportedFeatures();
m_aSupportedFeatures[ ::rtl::OUString::createFromAscii(".uno:DBAddRelation")] = SID_RELATION_ADD_RELATION;
m_aSupportedFeatures[ ::rtl::OUString::createFromAscii(".uno:DBAddTable")] = ID_BROWSER_ADDTABLE;
OJoinController::describeSupportedFeatures();
implDescribeSupportedFeature( ".uno:DBAddRelation", SID_RELATION_ADD_RELATION, CommandGroup::EDIT );
implDescribeSupportedFeature( ".uno:DBAddTable", ID_BROWSER_ADDTABLE, CommandGroup::EDIT );
}
// -----------------------------------------------------------------------------
void ORelationController::loadData()