Monthly Archives: February 2009

Reading notes: Textual DSLs and eclipse modeling (part 2)

Part 1 of the notes is located at http://www.frankdu.com/weblog/archives/46 The relative presentation slide is located at openArchitectureWare.org. 23. In XText, you start to work with defining concret syntax. 24. For existing meta model, use importMetamodel directive. Use preventMMGeneration to prvent … Continue reading

Posted in DSL, eclipse, java | Tagged , , , , , , , , , | 1 Comment

I am attending EclipseCon 2009!

This is a post suggested by EclipseCon 2009. Feel exciting about the upcoming event! I have planned the lectures of interest.

Posted in DSL, eclipse | Tagged , | Leave a comment

Reading notes: Textual DSLs and eclipse modeling (part 1)

The relative presentation slide is located at openArchitectureWare.org. Part 2 of the notes is located at http://www.frankdu.com/weblog/archives/52 Below are my reading notes for Textual DSLs and text modeling in eclipse. I haven’t finished the ppt slides. Therefore, this is only … Continue reading

Posted in DSL, eclipse, java | Tagged , , , , , , , , , | 1 Comment

Eclipse: how to implement actions for annotation markers?

In the text editor, the markers are displayed on the vertical ruler. In Java source editor (CompilationUnitEditor class), you can click a problem marker, then a suggestion list will pop up. It’s pretty user friendly, isn’t it? Then, how to … Continue reading

Posted in eclipse, java | Tagged , , , , , , , | 1 Comment

How to open a perspective and view programmatically in eclipse?

It is very straightforward. Though there are other ways, I will only present one way for now:

Please note: Of course you need to add the error handling code as prompted by eclipse.

Posted in eclipse, java | Tagged , , , | Leave a comment

How to invoke an action from eclipse Welcome page?

Let’s start from the template intro project. In the root.xhtml file, add a link as below: <a href=”http://org.eclipse.ui.intro/runAction?pluginId=com.frank.workbench.demo&amp;class=com.frankdu.workbench.actions.InstallRemoteFeatureAction”> Test Install Action</a> Then you are done. The next step is to impelement the action. Please note: pay attention to the texts … Continue reading

Posted in eclipse, java | Tagged , , | 1 Comment

The supported HTML tags in eclipse form UI

The reason why I like HTML most, is because its flexibility. Even rookies can master it quickly. In eclipse there is form UI, in which FormText supports parsing HTML-like tags to render user interface. Thought it doesn’t support free HTML … Continue reading

Posted in eclipse, java | Tagged , , , , , , | Leave a comment