|
Initialises the various operations and other components of the Attribute gallery with the exception of the gallery and its embedded gagdets, which are initialised with the other galleries in sginit.cpp.
- Author:
- Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
- Date:
- 09/7/99
- Returns:
- TRUE if successful.
Definition at line 1161 of file ngsetop.cpp. 01162 {
01163
01164
01165
01166
01167
01168
01169
01170
01171
01172
01173
01174
01175
01176
01177
01178
01179
01180
01181
01182
01183
01184
01185
01186
01187
01188
01189
01190
01191
01192
01193
01194
01195
01196 return OpSelectSet::RegisterOpDescriptor(
01197 0,
01198 _R(IDS_NAMEOP_SELECT_SET),
01199 CC_RUNTIME_CLASS(OpSelectSet),
01200 OPTOKEN_SELECT_SET,
01201 0,
01202 0,
01203 _R(IDBBL_NAMEOP_SELECT_SET),
01204 0,
01205 0,
01206 SYSTEMBAR_ILLEGAL,
01207 FALSE,
01208 FALSE,
01209 TRUE,
01210 0,
01211 0,
01212 GREY_WHEN_NO_CURRENT_DOC | DONT_GREY_WHEN_SELECT_INSIDE)
01213
01214 && OpSelectUnionSets::RegisterOpDescriptor(
01215 0,
01216 _R(IDS_NAMEOP_SELECT_UNION_SETS),
01217 CC_RUNTIME_CLASS(OpSelectUnionSets),
01218 OPTOKEN_SELECT_UNION_SETS,
01219 OpSelectUnionSets::GetState,
01220 0,
01221 _R(IDBBL_NAMEOP_SELECT_UNION_SETS))
01222
01223 && OpSelectIntersectSets::RegisterOpDescriptor(
01224 0,
01225 _R(IDS_NAMEOP_SELECT_INTERSECT_SETS),
01226 CC_RUNTIME_CLASS(OpSelectIntersectSets),
01227 OPTOKEN_SELECT_INTERSECT_SETS,
01228 OpSelectIntersectSets::GetState,
01229 0,
01230 _R(IDBBL_NAMEOP_SELECT_INTERSECT_SETS))
01231
01232 && OpApplyNamesToSel::RegisterOpDescriptor(
01233 0,
01234 _R(IDS_NAMEOP_APPLY_NAMES_TO_SEL),
01235 CC_RUNTIME_CLASS(OpApplyNamesToSel),
01236 OPTOKEN_APPLY_NAMES_TO_SEL,
01237 OpApplyNamesToSel::GetState,
01238 0,
01239 _R(IDBBL_NAMEOP_APPLY_NAMES_TO_SEL))
01240
01241 && OpApplyNamesToSel::RegisterOpDescriptor(
01242 0,
01243 _R(IDS_NAMEOP_APPLY_NAME_TO_SEL),
01244 CC_RUNTIME_CLASS(OpApplyNamesToSel),
01245 OPTOKEN_APPLY_NAME_TO_SEL,
01246 0,
01247 _R(IDBBL_NAMEOP_APPLY_NAME_TO_SEL),
01248 0,
01249 0,
01250 0,
01251 SYSTEMBAR_ILLEGAL,
01252 FALSE,
01253 FALSE,
01254 FALSE,
01255 0,
01256 GREY_WHEN_NO_SELECTION | DONT_GREY_WHEN_SELECT_INSIDE)
01257
01258 && OpApplyNamesToOne::RegisterOpDescriptor(
01259 0,
01260 _R(IDS_NAMEOP_APPLY_NAMES_TO_ONE),
01261 CC_RUNTIME_CLASS(OpApplyNamesToOne),
01262 OPTOKEN_APPLY_NAMES_TO_ONE,
01263 OpApplyNamesToOne::GetState,
01264 0,
01265 _R(IDBBL_NAMEOP_APPLY_NAMES_TO_ONE))
01266
01267 && OpApplyNameToNone::RegisterOpDescriptor(
01268 0,
01269 _R(IDS_NAMEOP_APPLY_NAME_TO_NONE),
01270 CC_RUNTIME_CLASS(OpApplyNameToNone),
01271 OPTOKEN_APPLY_NAME_TO_NONE,
01272 0,
01273 _R(IDBBL_NAMEOP_APPLY_NAME_TO_NONE),
01274 0,
01275 0,
01276 0,
01277 SYSTEMBAR_ILLEGAL,
01278 FALSE,
01279 FALSE,
01280 FALSE,
01281 0,
01282 GREY_WHEN_NO_CURRENT_DOC | DONT_GREY_WHEN_SELECT_INSIDE)
01283
01284 && OpDeleteNamesFromAll::RegisterOpDescriptor(
01285 0,
01286 _R(IDS_NAMEOP_DELETE_NAMES_FROM_ALL),
01287 CC_RUNTIME_CLASS(OpDeleteNamesFromAll),
01288 OPTOKEN_DELETE_NAMES_FROM_ALL,
01289 OpApplyNamesToOne::GetState,
01290 0,
01291 _R(IDBBL_NAMEOP_DELETE_NAMES_FROM_ALL))
01292
01293 && OpRenameAll::RegisterOpDescriptor(
01294 0,
01295 _R(IDS_NAMEOP_RENAME_ALL),
01296 CC_RUNTIME_CLASS(OpRenameAll),
01297 OPTOKEN_RENAME_ALL,
01298 OpApplyNamesToOne::GetState,
01299 0,
01300 _R(IDBBL_NAMEOP_RENAME_ALL))
01301
01302 && OpRemoveNamesFromSel::RegisterOpDescriptor(
01303 0,
01304 _R(IDS_NAMEOP_REMOVE_NAMES_FROM_SEL),
01305 CC_RUNTIME_CLASS(OpRemoveNamesFromSel),
01306 OPTOKEN_REMOVE_NAMES_FROM_SEL,
01307 OpApplyNamesToSel::GetState,
01308 0,
01309 _R(IDBBL_NAMEOP_REMOVE_NAMES_FROM_SEL))
01310
01311 && OpRedefineNamesAsSel::RegisterOpDescriptor(
01312 0,
01313 _R(IDS_NAMEOP_REDEFINE_NAMES_AS_SEL),
01314 CC_RUNTIME_CLASS(OpRedefineNamesAsSel),
01315 OPTOKEN_REDEFINE_NAMES_AS_SEL,
01316 OpApplyNamesToSel::GetState,
01317 0,
01318 _R(IDBBL_NAMEOP_REDEFINE_NAMES_AS_SEL))
01319
01320 && OpExportSets::RegisterOpDescriptor(
01321 0,
01322 _R(IDS_NAMEOP_EXPORT_SETS),
01323 CC_RUNTIME_CLASS(OpExportSets),
01324 OPTOKEN_EXPORT_SETS,
01325 OpExportSets::GetState,
01326 0,
01327 _R(IDBBL_NAMEOP_EXPORT_SETS))
01328
01329 && OpChangeSetProperty::RegisterOpDescriptor(
01330 0,
01331 _R(IDS_NAMEOP_CHANGE_SET_PROPERTY),
01332 CC_RUNTIME_CLASS(OpChangeSetProperty),
01333 OPTOKEN_CHANGE_SET_PROPERTY,
01334 0,
01335 _R(IDBBL_NAMEOP_CHANGE_SET_PROPERTY),
01336 0,
01337 0,
01338 0,
01339 SYSTEMBAR_ILLEGAL,
01340 FALSE,
01341 FALSE,
01342 FALSE,
01343 0,
01344 GREY_WHEN_NO_CURRENT_DOC | DONT_GREY_WHEN_SELECT_INSIDE)
01345
01346 && OpChangeBarProperty::RegisterOpDescriptor(
01347 0,
01348 _R(IDS_NAMEOP_CHANGE_BAR_PROPERTY),
01349 CC_RUNTIME_CLASS(OpChangeBarProperty),
01350 OPTOKEN_CHANGE_BAR_PROPERTY,
01351 0,
01352 _R(IDBBL_NAMEOP_CHANGE_BAR_PROPERTY),
01353 0,
01354 0,
01355 0,
01356 SYSTEMBAR_ILLEGAL,
01357 FALSE,
01358 FALSE,
01359 FALSE,
01360 0,
01361 GREY_WHEN_NO_CURRENT_DOC | DONT_GREY_WHEN_SELECT_INSIDE)
01362
01363 && OpChangeBarExtends::RegisterOpDescriptor(
01364 0,
01365 _R(IDS_NAMEOP_CHANGE_BAR_EXTENDS),
01366 CC_RUNTIME_CLASS(OpChangeBarExtends),
01367 OPTOKEN_CHANGE_BAR_EXTENDS,
01368 0,
01369 _R(IDBBL_NAMEOP_CHANGE_BAR_EXTENDS),
01370 0,
01371 0,
01372 0,
01373 SYSTEMBAR_ILLEGAL,
01374 FALSE,
01375 FALSE,
01376 FALSE,
01377 0,
01378 GREY_WHEN_NO_CURRENT_DOC | DONT_GREY_WHEN_SELECT_INSIDE)
01379
01380 && NameObjectsDlg::Init()
01381
01382 && NameObjectsDlg::RegisterOpDescriptor(
01383 0,
01384 _R(IDS_NAMEOP_NAME_OBJECTS_DLG),
01385 CC_RUNTIME_CLASS(NameObjectsDlg),
01386 OPTOKEN_NAME_OBJECTS_DLG,
01387 0,
01388 0,
01389 _R(IDBBL_NAMEOP_NAME_OBJECTS_DLG),
01390 0,
01391 0,
01392 SYSTEMBAR_ILLEGAL,
01393 TRUE,
01394 FALSE,
01395 TRUE,
01396 0,
01397 _R(IDS_NAMEDLG_ONE_INSTANCE),
01398 GREY_WHEN_NO_CURRENT_DOC | DONT_GREY_WHEN_SELECT_INSIDE)
01399
01400 && RenameObjectsDlg::RegisterOpDescriptor(
01401 0,
01402 _R(IDS_NAMEOP_RENAME_OBJECTS_DLG),
01403 CC_RUNTIME_CLASS(RenameObjectsDlg),
01404 OPTOKEN_RENAME_OBJECTS_DLG,
01405 OpApplyNamesToOne::GetState,
01406 0,
01407 _R(IDBBL_NAMEOP_RENAME_OBJECTS_DLG));
01408 }
|