Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Orion » 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
Hi,

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: Thu Jan 18 06:23:41 GMT 2018

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

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