Tutorials

Tutorials on different topics I have learned. The best way to know if you have learned something is when you can explain it to others, so this is what I do. If you enjoy these tutorial you can give your thanks by buying me a beer (or a hamburger, or whatever you like) – using the donation button on your right. Thanks!

Enhanced by Zemanta

13 thoughts on “Tutorials

  1. In the objectprocessdiagrameditpart your figure is an freeform layer with setopaque set to false. My scenario here is i have two editparts one is the root with figure as freeformlayer and an child editpart which is also has an figure of freeformlayer . both has setopaque as false . the child figure does not extend to all four directions. it works only when child figures setbounds is given ?

    • My ObjectProcessDiagram figure does not define any opacity. Take a look at the code here. What are the contents of the child figure? if you only draw a freeformlayer you wont see it.. I don’t seem to understand what you are trying to do.

      • ya i have seen the tutorial . i have an figure with toolbarlayout containing two label as childrens . one displaying an icon and aother displaying text . when i perform direct edit on the label the label text is displayed like bbb…. beyound the bounds of the parent . i would like to increase the parent figure automatically as and when the child resizes

  2. I want to display any problems in the model in the problem view. Also when the user clicks on the problem view, it should select the particular EditPart (whose model caused the problem ) example => there should be no nodes in gef editor without any outgoing connnection then if u have an node which does not have any outgoing connections and u perform save action . the editor should display that there is no outgoing connection from the node and when clicked on the error in problems view then it should select the particular EditPart (whose model caused the problem )

    • Hi Karthick. I have not yet worked with the Problems view. From your questions you seem to be developing a complex application, so you should thoroughly read the eclipse plug-in documentation. If you find out things that are not listed in my tutorial I’ll be glad to know. Furthermore, you could open a blog where you can share this with others.

  3. I am working on a project that has very intensive visualizations and needs to be able to actively manipulate these visualizations. Is it possible to render 2D bar-charts and graphs using GEF or GEF3D?

    • Although I haven’t seen this, I’m pretty sure it can be done since graph2d is a very flexible tool. I heard of some using GEF to plot graphs of tens of thousands of points so I guess performance wise it will also work. I would be glad if you could share with me the results of any checks you do (even if you finish using another framework).

Leave a Reply