PlugIns? (#2) - IFvOverlay does not show up on File->New Menu (#95) - Message List

IFvOverlay does not show up on File->New Menu

I am trying to create a Client Editor using the new interfaces, but it does not show up on the File -> New menu. It is on the open and save. I can create an new one using the Overly Manager.

Here are the interfaces I am implementing:

    public class FVInterface : FVOverlay.IFvOverlay, FVOverlay.IFvOverlayPersistence, FVOverlay.IFvOverlayRenderer, FVOverlay.IFvOverlayEditor

and here is the entry in the FVOverlayTypes.xml

	<OverlayType
		displayName="XPlan Mission Editor"
		iconFile="ovlmgr\rtt.ico"
		enabled="true"
		defaultRestoreAtStartup="false"
		uid="1B897E34-CD6A-469F-B225-92C62B51ABCA"
		>
		<FileOverlayTypeDescriptor
			defaultDir="FOLDERID_PublicDocuments\XPlan\Missions"
			defaultFileExtension=".msnx"
			openFileDialogFilter="XPlan Mission files (*.msnx;*.msn)|*.msnx;*.msn"
			saveFileDialogFilter="XPlan Mission files (*.msnx;*.msn)|*.msnx;*.msn"
		/>
		<OverlayFactory
			overlayClsid="1457B68B-A5F6-4334-91B7-2C23AA21B418"
		/>
	</OverlayType>
Tree View Flat View (newer first) Flat View (older first)
  • Message #167

    FVOverlay.IFvOverlayEditor should be implemented on a separate object (there is a single editor created, but multiple instances of your overlay created).

    Also, you'll need to add (replacing with your new object's class ID

    <Editor clsid="0FD87BE2-3A75-4847-8C89-EA423B497DA1" displayName= "Mission Editor" />
    

    immediately following the OverlayFactory? tag.

Tree View Flat View (newer first) Flat View (older first)

Subscriptions