Home » Modeling » EMF » Cannot create an instance of my model in my editor
|
Re: Cannot create an instance of my model in my editor [message #634687 is a reply to message #634488] |
Fri, 22 October 2010 18:12 |
Jon Svede Messages: 83 Registered: July 2009 |
Member |
|
|
I did some testing to see if I could isolate the issue. I think it's related to being on a Mac:
On Windows:
1. I created a simple ecore model, genmodel and then model, edit, editor and tests.
2. Launched eclipse, created a new project, added an instance of my model and populated it.
3. saved the model, confirmed the file contents.
4. Copied these 4 projects to my mac.
On OS X:
1. Installed a fresh copy of eclipse-modeling-galileo-SR2-incubation-macosx-cocoa.tar.gz .
2. Launched new eclipse instance, created new clean workspace.
3. Imported 4 projects from windows env and copied them to the workspace.
4. Launched eclipse and attempted to repeat step #2 above; the results are as previously described: I cannot create an instance of the model, the next/finish buttons are not enabled.
Is there some special flag I have to add to the launch to make it work on OS X? I am on 10.6.4.
As an aside, when you are working on an ecore or genmodel on OS X, when you select an item in the Properties View that has a white background (the Properties View on OS X has alternating row colors, light blue and white), upon selecting that row for editing the label temporarily disappears (I assume it's background/foreground color issue) - is there a setting I can set to fix that?
Thanks in advance!
Jon
|
|
|
Re: Cannot create an instance of my model in my editor [message #634698 is a reply to message #634488] |
Fri, 22 October 2010 18:11 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Jon,
This sounds familiar. I think it was an SWT bug. I think if you choose
some other type of object to create on that last page, it will enable...
Jon Svede wrote:
> I am using EMF 2.5.
> I created a simple ecore model, then generated the .genmodel. From
> the genmodel, I right clicked an selected "Generate all" - which all
> worked as expected.
>
> Then I run the IDE, create a new project and then attempt to create an
> instance of my model from the "Example EMF Model Creation Wizards" and
> start walking through the pages. However, when I get to the last
> page, the one where you select the root element, the finish and next
> buttons are never enabled. No matter what I select, they are disabled.
>
> I am assuming I did something wrong but I can't see what it is. I've
> added -consoleLog to the launch config and there is no .log being
> created.
>
> Any suggestions?
>
> Thanks,
>
> Jon
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Re: Cannot create an instance of my model in my editor [message #634705 is a reply to message #634687] |
Fri, 22 October 2010 18:45 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
Jon,
As I said, the issue sounds very familiar. I'm pretty sure that
choosing a different type of roog object in the drop down will enable
the button...
Jon Svede wrote:
> I did some testing to see if I could isolate the issue. I think it's
> related to being on a Mac:
>
> On Windows:
> 1. I created a simple ecore model, genmodel and then model, edit,
> editor and tests.
> 2. Launched eclipse, created a new project, added an instance of my
> model and populated it.
> 3. saved the model, confirmed the file contents.
> 4. Copied these 4 projects to my mac.
>
> On OS X:
>
> 1. Installed a fresh copy of
> eclipse-modeling-galileo-SR2-incubation-macosx-cocoa.tar.gz .
> 2. Launched new eclipse instance, created new clean workspace.
> 3. Imported 4 projects from windows env and copied them to the workspace.
> 4. Launched eclipse and attempted to repeat step #2 above; the results
> are as previously described: I cannot create an instance of the model,
> the next/finish buttons are not enabled.
>
> Is there some special flag I have to add to the launch to make it work
> on OS X? I am on 10.6.4.
>
> As an aside, when you are working on an ecore or genmodel on OS X,
> when you select an item in the Properties View that has a white
> background (the Properties View on OS X has alternating row colors,
> light blue and white), upon selecting that row for editing the label
> temporarily disappears (I assume it's background/foreground color
> issue) - is there a setting I can set to fix that?
>
> Thanks in advance!
>
> Jon
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| | | | |
Goto Forum:
Current Time: Tue Sep 24 17:41:01 GMT 2024
Powered by FUDForum. Page generated in 0.04382 seconds
|