Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Associating view instead of editor with filename from navigator


> That can't be done ATM, although we'll be investigating different
> approaches for Eclipse 4.0 (e4)

Uh, that's not quite true. I did something like this in o.e.jdt.ui for .jardesc files:

   <extension
         id="javaeditor"
         point="org.eclipse.ui.editors">
      <editor
            default="true"
            extensions="jardesc"
            icon="$nl$/icons/full/obj16/jar_desc_obj.gif"
            id="org.eclipse.jdt.ui.JARDescEditor"
            launcher="org.eclipse.jdt.internal.ui.jarpackager.OpenJarExportWizardEditorLauncher"
            name="%jarDescEditorName">
      </editor>

Your IEditorLauncher can also open and feed a view.

> This list is not appropriate for this kinds of questions :-)
Yep, sorry for the additional spam, but I couldn't resist correcting this.

Markus

Back to the top