Mercurial > hg > de.mpg.mpiwg.itgroup.digilib.core
comparison src/de/mpg/mpiwg/itgroup/digilib/plugin/editors/DigilibLinkEditorPart.java @ 29:fbcf122a6a24
Working version for textgrid
author | dwinter |
---|---|
date | Wed, 14 Sep 2011 14:41:31 +0200 |
parents | ee955cf6c9c5 |
children | 207dae29cc09 |
comparison
equal
deleted
inserted
replaced
28:f2e1827b97d7 | 29:fbcf122a6a24 |
---|---|
190 | 190 |
191 } else if (Integer.class.isInstance(arg)){ | 191 } else if (Integer.class.isInstance(arg)){ |
192 //if it is in integer then the argument is the status of the cursor | 192 //if it is in integer then the argument is the status of the cursor |
193 int b = (Integer) arg; | 193 int b = (Integer) arg; |
194 | 194 |
195 Cursor waitCursor = new Cursor(mainComposite.getDisplay(),b); | 195 |
196 mainComposite.setCursor(waitCursor); | 196 try { |
197 Cursor waitCursor = new Cursor(mainComposite.getDisplay(), b); | |
198 mainComposite.setCursor(waitCursor); | |
199 } catch (Exception e) { | |
200 // TODO: handle exception | |
201 | |
202 } | |
197 | 203 |
198 } | 204 } |
199 | 205 |
200 | 206 |
201 } | 207 } |