Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [MWE] I cannot use my own extension for workflow files?
icon5.gif  [MWE] I cannot use my own extension for workflow files? [message #488092] Fri, 25 September 2009 14:30 Go to next message
Jabier  is currently offline Jabier Friend
Messages: 10
Registered: July 2009
Junior Member

Hi!
I am migrating a project from oAW to org.eclipse.mwe and I have found a problem.

I have an extension-point for my own workflows because I would like to have my own icon both for files and the editor itself.

<extension point="org.eclipse.ui.editors">
<editor
class="org.openarchitectureware.workflow.editors.WorkflowEditor "
extensions="wkf"
filenames="wkf"
icon="icons/workflow.png"
id="es.company.progam.wkf.editor"
name="My workflow Editor">
</editor>
</extension>

The problem is that we cannot select the WorkflowEditor at any plugin at the currently available Galileo Modeling release!

In the future I will also like to extend this class.
The SimpleEditor at org.eclipse.emf.mwe.ui.simpleEditor is an internal class. And the org.eclipse.emf.mwe.ui.editor plugin is not available for download and it seems that WorkflowEditor is also an internal class of this plugin...

Is this a bug? Am I missing something? Thank you! Smile
Re: [MWE] I cannot use my own extension for workflow files? [message #488334 is a reply to message #488092] Mon, 28 September 2009 08:41 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Hi Jabier,

the file extension is part of the language.
That means when loading referenced mwe files they have to have the mwe
file extension. Why do you have to change it?

> In the future I will also like to extend this class.
> The SimpleEditor at org.eclipse.emf.mwe.ui.simpleEditor is an internal
> class. And the org.eclipse.emf.mwe.ui.editor plugin is not available for
> download and it seems that WorkflowEditor is also an internal class of
> this plugin...

The editor is very rough (basically the outcome of the XML editor
extension point wizard). We're working on new one (based on Xtext).
However, this is tool support for the language MWE and we do not
consider this as being public API.

Cheers,
Sven

--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Previous Topic:Is it possible to persist hybrid model using Teneo?
Next Topic:[MWE] I cannot use my own extension for workflow files?
Goto Forum:
  


Current Time: Thu Apr 18 21:27:10 GMT 2024

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

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

Back to the top