Quantcast
Channel: File Metadata
Viewing all articles
Browse latest Browse all 919

Updated Wiki: FileMetaAssociationManager

$
0
0
The job of the FileMetaAssociationManager is to manage the per file extension registry entries required. These fall into three groups:
  1. Linking to the property handler.
  2. Linking to the context menu handler.
  3. Specifying the properties to be shown in the preview panel (PreviewDetails) and properties dialog (FullDetails) in Explorer
The FileMetaAssociationManager is a standalone GUI application written using WPF and C#, for productivity reasons. Here is a screenshot:

AssociationManagerScreenshot.jpg

The File Extensions list shows all of the file extensions with entries in the registry and the current property handler for the extension, if any. If the current property handler is our own, as shown, the Remove File Meta Handler button is enabled. If there is no current property handler, the Add File Meta Handler button is enabled. Finally, if some other property handler is set for the extension, then both buttons are disabled. When FileMetaAssociationManager is opened, the file extensions with our own property handler are sorted to the top of the list.

The Property profile combo-box permits the selection of the property profile. This specifies the properties shown in Explorer's preview panel (at the bottom of the main window), and in the Details tab of the Properties dialog for a file.. The chosen profile is applied when Add File Meta Handler is clicked. When an extension already has our own property handler, then the Property profile currently registered for the extension is displayed.

When a profile is selected, the Preview panel and Details tab properties specified by the profile are shown on the right. In the case of the Details tab, the properties are shown in the grouping in which they will appear in the Explorer property details tab.

There are just two possible choices of profile, both hardcoded into the application. One is the Office DSOFile profile, taken from the DSOFile sample DLL. The other is the Simple profile, designed to provide a useful basic said of metadata.

These pages describe the modifications the FileMetaPropertyAssociationManager makes to the registry:
Linking to the property handler
Linking to the context menu handler
PreviewDetails and FullDetails

Viewing all articles
Browse latest Browse all 919

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>