Eclipse – GMF – Making Figures Sensitive To Attributes Of Semantic Elements

TASK:Change a diagram editor generated by GMF to make its figures sensitive to changes of semantic elements’ attributes’ values. Changes of attributes’ values should be automatically detected and reflected in figures’ look. SOLUTION:You have to make a little change in *EditPart class. I’m going to change edit part for the semantic model element named Port, … Read more

Bash Does Not Support RegExps? Read The Fucking Manual!

I have stumbled on this again. There is so many places on the Net (for example Advanced Bash-Scripting Guide) where you can read that Bash does not support regular expression by itself and you have to use other tools (usually grep, sed and awk are mentioned) to match/replace with regex. Since regular expressions are part … Read more

Put Image Size Into Filename

Sometimes it is useful to have image size written in filename (I needed it when I was browsing my collection of wallpapers). I could not find any tool which would automate this process, so I have decided to write one. Probably it is job for bash or Python but I like Java most, so it … Read more