Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Orion (Archived) » graphical editor(add a graphical editor in the shell)
graphical editor [message #1445352] Wed, 15 October 2014 10:16
Ido Mising name is currently offline Ido Mising nameFriend
Messages: 24
Registered: July 2009
Junior Member

I want to create my own graphical editor, that will run instead the default text editor. For example an html WYSIWYG.

I tried something like this:

provider.registerServiceProvider("orion.edit.editor", {}, {
        id: "html.editor",
        name: "Html Editor",
		uriTemplate: "htmlWYSIWYGedit.html#{,Location,params*}",

    // Declare content types
    provider.registerServiceProvider("orion.core.contenttype", {}, {
        contentTypes: [{
            id: "text/html",
                "extends": "text/html",
            name: "HTML WYSIWYG",
            extension: ["html"]

    // Associate editor with content types
    provider.registerServiceProvider("orion.navigate.openWith", {}, {
        editor: "html.editor",
        contentType: ["text/plain", "text/html"]

But it opens in a new tab. I want it inside the orion shell.
Previous Topic:Xtext + Orion
Next Topic:Eclipse Orion Json code expand collapse
Goto Forum:

Current Time: Tue Dec 05 15:39:36 GMT 2023

Powered by FUDForum. Page generated in 0.02025 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top