Mercurial > hg > de.mpg.mpiwg.itgroup.digilib.plugin
comparison src/de/mpg/mpiwg/itgroup/digilib/manipulator/extensions/Rotate.java @ 21:643fa1daa70c
minor changes
author | dwinter |
---|---|
date | Wed, 05 Jan 2011 11:35:45 +0100 |
parents | e63a64652f4d |
children | 1a7940ac5169 |
comparison
equal
deleted
inserted
replaced
20:2f47c136b8a6 | 21:643fa1daa70c |
---|---|
40 public void handleEvent(Event event) { | 40 public void handleEvent(Event event) { |
41 Widget wg = event.widget; | 41 Widget wg = event.widget; |
42 if (Button.class.isInstance(wg)){ | 42 if (Button.class.isInstance(wg)){ |
43 dc.rotate(rotateValue); | 43 dc.rotate(rotateValue); |
44 Shell sh = ((Button)wg).getShell(); | 44 Shell sh = ((Button)wg).getShell(); |
45 DigilibLinkEditorObservable.INSTANCE.imageHasChanged(dc.digiImage); | 45 //DigilibLinkEditorObservable.INSTANCE.imageHasChanged(dc.digiImage); |
46 setOffIcon(); | 46 setOffIcon(); |
47 sh.close(); | 47 sh.close(); |
48 } else if (Text.class.isInstance(wg)) { | 48 } else if (Text.class.isInstance(wg)) { |
49 Text txt = (Text)wg; | 49 Text txt = (Text)wg; |
50 if (txt.getText()!=null){ | 50 if (txt.getText()!=null){ |