Eclipse form based XML editor - eclipse

Can anyone suggest me some reading for creating Form based editor in Eclipse?

The right Google term would probably be "Eclipse Forms", and there are a few articles available:
Eclipse Forms API - Tutorial
Revitalize your applications with Eclipse Forms
Eclipse Forms: Rich UI for the Rich Client
Also, in general a good place to start searching for Eclipse material is http://www.eclipse.org/articles/

Related

How to build a pure e4 RCP Text Editor

I am using the latest Eclipse 4.7 Eclipse. I am trying to build a language sensitive editor for a pure e4 RCP application. I have modeled my editor after the example XML Text Editor template project (generated from File->New->Plug-in project). I have modified it and extended it to support my custom language (loosely based on specialized XML tags/elements/attributes).
I can run this plugin on its own from the default product “org.eclipse.platform.ide” and it works just fine. But I am trying to include this plug-in into my own pure e4 RCP application and I am having a challenge in figuring out how to present my custom editor.
I try to follow the tutorial from Vogella found here: http://www.vogella.com/tutorials/EclipseEditors/article.html#add-simple-content-assist
I even purchased the Vogella book.
But that example looks nothing like the standard XML Text Editor example. From the tutorial, it mentions that to launch the editor programmatically, it implies that you need to create your own implementation of IEditorInput – but how does this relate to how the example XML Text Editor provides input for the editor through extending the FileDocuementProvider?
Perhaps the XML Text Editor example is the old 3.X way of doing things and I need to refactor my editor. I can do this – but then are there pure e4 RCP Text Editor examples similar in functionality to the XML Text Editor example? I really do need the syntax highlighting, validation, support markers, etc. found in the XML Editor example. Where can I go to learn how to do this?

Integration of Xtext DSL editors and e4-based RCP

I am working on RCP application for editing dsl files.
For now I managed to create two editors using Xtext 2.5 that works fine in Eclipse (validation, cross references, etc.). Also there is e4 based RCP application skeleton with custom navigation tree (files are loaded from remote server not from local workspace).
Now I have to integrate those both of them. Unfortunately I didn't find any up to date tutorials about this topic that works for my case.
Here are links that I tried:
This blog post describes integration for Eclipse 3.x
This one about e4 but version of Xtext is less than 2.5
Here is a lot of information about RCP but I didn't found anything about plugins integration with RCP.
There is similar question but it is not clear for me how to use obtained editor or how to get resourceProvider instance.
Does anyone have a reference to the relevant tutorial or sample?
According to Eclipse bug 401309 and various comments in the Eclipse forums XText editors are not compatible with a pure e4 RCP because they rely on lots of code from the 3.x compatibility layer.
You can still create an Eclipse 3.x style RCP, as described in your second reference.
I have added a comment to Bug 401309 where I describe how to make it work.

XForms editor(designer) for Eclipse?

I am looking for Xforms editor to Eclipse. I found something information (click), but still without result. Is possible to find source of Visual XForms Designer(now it's IBM Forms) might somewhere source still exists? Any sugest how create/edit XForm in Eclipse?
As far as I know, there are no usable XForms editor on the market that you can use to target multiple XForms engine. Some XForms engine come with an XForms editor, specifically tailored for the XForms engine they come with. In particular:
IBM Forms comes with IBM Forms Designer, an Eclipse-based tool.
Orbeon Forms comes with Forms Builder, a web based tool.

Eclipse plugins for working with Apache Wicket projects

Are there any widely adopted, currently maintained Eclipse plugins for working with Apache Wicket projects? If so, where are they? Who maintains them? What do they do?
Take a look at Qwickie (eclipse plugin): https://github.com/count-negative/qwickie
The standard used to be wicket bench, but it has been discontinued and you can find a fork named stump.
I don't know stump, but wicket bench mainly had a refactoring listener (if you rename a java class, the HTML is also renamed) and some wizards (create a Panel with associated markup etc).
I haven't used bench in years, as it was rather buggy in newer eclipse versions. But I have made pretty good experiences using a custom set of eclipse HTML templates that you can download from this location: http://www.wicket-praxis.de/blog/wp-content/uploads/2010/01/wicket-template.xml
(German) description on this page: http://www.wicket-praxis.de/blog/download/
You can install these as HTML Code Templates in Eclipse:
Window -> Preferences -> Web -> HTML Files -> Editor -> Templates -> Import...
and that will enable wicket-specific template shortcuts in the HTML editor.
It's too bad you don't use IntelliJ IDEA. It has an excellent plugin called WicketForge.
Not right on the question, but not completely off it, either.
I have released a tool that can be used as an eclipse save action. It generates Java interfaces with constants for ids in wicket templates and resource keys from translation files, so that you don't need to use strings for component ids and translation keys, but can use these generated constants.
It can be integrated in eclipse quite simply as an annotation processor. After a save of a component the interfaces will be generated and built. See its readme:
https://github.com/neurolabs/wicket-id-bindings-generator
I'm maintaining it on github (feel free to fork/contribute) and am using it in all of my wicket projects.

JFace examples in Eclipse like SWT Examples?

Are there any all-in-one JFace controls example out there like the SWT Examples in Eclipse? Searching (googling and searching here on stackoverflow.com) did not help me.
It would be nice if it was a standalone app or an eclipse plugin.
Thank you.
Aside from the SWT JFace examples and introduction courses, you have some projects based on JFace controls:
JFace Data Binding
CellLabelProvider TreeViewer example
Nebula project
Nebula is a place where different Eclipse-Projects and Independent developers collaborate on building Custom SWT widgets and reuseable UI-Components useable in UI-Applications built using SWT and JFace.
RCP Forms Plugin
The framework tries to hide some of the complexity of developing forms from you; as with all frameworks there might be points in time where it just does not work and you have to dig deeper into the secrets of SWT, JFace, UI Forms or Databinding
http://wiki.eclipse.org/index.php/JFaceSnippets
There is no all-in-one showcase example, but individual samples are available in the Eclipse CVS. You can check out the org.eclipse.jface.snippets project from the Eclipse CVS repo (WebView: http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jface.snippets)