|
|
|
Re: Opening an editor [message #903607 is a reply to message #901438] |
Fri, 24 August 2012 13:57 |
Johnny Qin Messages: 40 Registered: April 2012 |
Member |
|
|
Hello Tom,
There are plain text editor and xml editor in simpleIDE. I thought they are pure e4 editors...
Best regards,
Johnny
Thomas Schindl wrote on Sun, 12 August 2012 07:17Pure e4 does NOT support editors! You need to run with the compat layer.
I plan to work on pure e4 editors in autumn.
Tom
Am 12.08.12 13:15, schrieb Daniele Canavese:
> Hi all!
>
> I have (very) recently started to play with the e4 applications but I am
> stuck with the editors.
>
> To open an editor, as suggested in the vogella.com articles, you should
> use the getViewSite() method if you are in a view, but in my application
> it is always null.
>
> To recreate this scenario, you can create an application using the
> "Eclipse 4 Application Project" wizard and add a simple view to the
> project.
>
> As far as I guess, this happens because the init() method is never or
> badly called. What am I missing? Should I explicitly call the init()
> method somewhere?
>
> Thanks in advance, Daniele
>
|
|
|
Re: Opening an editor [message #903680 is a reply to message #903607] |
Fri, 24 August 2012 21:03 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Right simple-IDE has our first explorations on how implement native e4
editors. I expect to start work on this in about 1-2 months so that
native editor support is available in 4.3.
Tom
Am 24.08.12 15:57, schrieb Johnny Qin:
> Hello Tom,
>
> There are plain text editor and xml editor in simpleIDE. I thought they
> are pure e4 editors...
> Best regards,
> Johnny
>
>
> Thomas Schindl wrote on Sun, 12 August 2012 07:17
>> Pure e4 does NOT support editors! You need to run with the compat layer.
>> I plan to work on pure e4 editors in autumn.
>>
>> Tom
>>
>> Am 12.08.12 13:15, schrieb Daniele Canavese:
>> > Hi all!
>> > > I have (very) recently started to play with the e4 applications
>> but I am
>> > stuck with the editors.
>> > > To open an editor, as suggested in the vogella.com articles, you
>> should
>> > use the getViewSite() method if you are in a view, but in my
>> application
>> > it is always null.
>> > > To recreate this scenario, you can create an application using the
>> > "Eclipse 4 Application Project" wizard and add a simple view to the
>> > project.
>> > > As far as I guess, this happens because the init() method is never or
>> > badly called. What am I missing? Should I explicitly call the init()
>> > method somewhere?
>> > > Thanks in advance, Daniele
>> >
>
>
|
|
|
Re: Opening an editor [message #903969 is a reply to message #903680] |
Mon, 27 August 2012 13:16 |
Johnny Qin Messages: 40 Registered: April 2012 |
Member |
|
|
I see. Thanks Tom.
Thomas Schindl wrote on Fri, 24 August 2012 17:03Right simple-IDE has our first explorations on how implement native e4
editors. I expect to start work on this in about 1-2 months so that
native editor support is available in 4.3.
Tom
Am 24.08.12 15:57, schrieb Johnny Qin:
> Hello Tom,
>
> There are plain text editor and xml editor in simpleIDE. I thought they
> are pure e4 editors...
> Best regards,
> Johnny
>
>
> Thomas Schindl wrote on Sun, 12 August 2012 07:17
>> Pure e4 does NOT support editors! You need to run with the compat layer.
>> I plan to work on pure e4 editors in autumn.
>>
>> Tom
>>
>> Am 12.08.12 13:15, schrieb Daniele Canavese:
>> > Hi all!
>> > > I have (very) recently started to play with the e4 applications
>> but I am
>> > stuck with the editors.
>> > > To open an editor, as suggested in the vogella.com articles, you
>> should
>> > use the getViewSite() method if you are in a view, but in my
>> application
>> > it is always null.
>> > > To recreate this scenario, you can create an application using the
>> > "Eclipse 4 Application Project" wizard and add a simple view to the
>> > project.
>> > > As far as I guess, this happens because the init() method is never or
>> > badly called. What am I missing? Should I explicitly call the init()
>> > method somewhere?
>> > > Thanks in advance, Daniele
>> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04363 seconds