Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] What about E4 Editor?

We have that. If you install the e4 tooling you can create an e4 application with a view. An editor just implements the @dirtyable annotation. 

??? Never heard of this annotation all an editor has to do is to mark a method with @Persit

Typo. I mixed-up MDirtyable with @Persist. Members of the same family.
 

If your editor just depends on EditorPart then there is a different story because EditorPart can be quite easily rewritten to pure Eclipse 4. However, since pure Eclipse 4 does not work with the *Advisor classes any more, saving and restoring state is up to you until the time the e4 project provides something generic.

It does that already just annotate a method with @PersitState

Yes. Scratch everything after "However,". Obviously, state can be saved and restored.


Back to the top