return false;
ObjectKind aKind = anObject->GetKind();
- if( aKind == KIND_IMAGE ||
- aKind == KIND_POLYLINE ||
- aKind == KIND_PROFILE ||
- aKind == KIND_CALCULATION )
+ if( aKind > KIND_UNKNOWN && aKind <= KIND_LAST &&
+ aKind != KIND_DUMMY_3D && aKind != KIND_ZONE &&
+ aKind != KIND_SHAPES_GROUP && aKind != KIND_SPLITTED_GROUP )
return true;
return false;
theMenu->addAction( action( SetColorId ) );
theMenu->addSeparator();
}
+
+ // Add copy action
+ if( aModel->canCopy() ) {
+ theMenu->addAction( action( CopyId ) );
+ theMenu->addSeparator();
+ }
} else if ( anAllAreProfiles ) {
theMenu->addAction( action( SelectedGeoreferencementId ) );
theMenu->addSeparator();
<source>MEN_OBSERVE_IMAGE</source>
<translation>Observe image</translation>
</message>
+ <message>
+ <source>MEN_COPY</source>
+ <translation>Copy</translation>
+ </message>
<message>
<source>MEN_PASTE</source>
<translation>Paste</translation>