How to refresh model source/target connection “children” of GEF NodeEditParts

I am currently developing a GEF-based editor for an EMF-based model with the help of the GEF Book, and vainolo’s incredibly helpful blog posts.

I had implemented connection creation, following vainolo’s post about connections, but in my editor, the added connection figures never showed up, although the respective model objects had been instantiated (I’ve checked!). It was only after I had saved the graph, and re-opened the editor that the connection figures became visible. The respective code bits looked like this: Read more ›

TwitterFacebookGoogle+EmailLinkedInPinterestDiggRedditStumbleUpon
Tagged with: , , , , , , , , , , , , , , , ,
Posted in Eclipse RCP, GEF: Eclipse Graphical Editing Framework

Getting started with the Eclipse RCP

Everybody has to start somewhere, and as a complete beginner in software development with Java and the Eclipse RCP, I have been, and still am, constantly on the lookout for sources of information.

The following books and websites – in my opinion – provide good starting points for people who are in the same position.

Ordered by usefulness (IMHO).

The Eclipse Book

Jeff McAffer, Jean-Michel Lemieux, Chris Aniszczyk: Eclipse Rich Client Platform, Second Edition. Boston (Addison-Wesley): May 2010. 552 pp. In English. ISBN-13: 978-0321603784.

For people who like to read books rather than websites. It is as up-to-date as can be, and is a very good and comprehensive introduction to the Eclipse RCP. Can be read back-to-back, or used as a reference. I have used this almost exclusively in my “early days” of programming with the Eclipse RCP. Read more ›

TwitterFacebookGoogle+EmailLinkedInPinterestDiggRedditStumbleUpon
Tagged with: , , , ,
Posted in Resources

Hello world!

/**
* @author New Code on the Block
*
*/

public class HelloWorld {

    /**
    * @param args
    */
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}
TwitterFacebookGoogle+EmailLinkedInPinterestDiggRedditStumbleUpon
Tagged with:
Posted in Misc
About this blog
This blog documents my advances in learning how to develop software using Java and the Eclipse RCP.
I’m a
Support NCOTB

If you found this site helpful, perhaps you may want to consider donating a small sum towards my server costs.

Recent Tweets
Advertisement

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 18 other subscribers

%d bloggers like this: