王辰 2 years ago
parent 5dc4b591c7
commit 9daaae8df9

@ -213,6 +213,7 @@ public class EditClassificationDialog extends AbstractAIFDialog {
// TODO Auto-generated method stub // TODO Auto-generated method stub
((JButton) e.getSource()).setEnabled(false); ((JButton) e.getSource()).setEnabled(false);
rev = (TCComponentItemRevision) target; rev = (TCComponentItemRevision) target;
new Thread(new Runnable() { new Thread(new Runnable() {
@Override @Override
@ -275,6 +276,7 @@ public class EditClassificationDialog extends AbstractAIFDialog {
} }
} }
TCComponentICO[] icoS = rev.getClassificationObjects(); TCComponentICO[] icoS = rev.getClassificationObjects();
System.out.println("======>获取的分类对象有:" + icoS.length);
String classID = rev.getClassificationClass(); String classID = rev.getClassificationClass();
if (icoS == null || icoS.length == 0) { if (icoS == null || icoS.length == 0) {
return false; return false;
@ -328,6 +330,7 @@ public class EditClassificationDialog extends AbstractAIFDialog {
finish(); finish();
} }
}).start(); }).start();
} }
} catch (TCException e1) { } catch (TCException e1) {
// TODO Auto-generated catch block // TODO Auto-generated catch block

Loading…
Cancel
Save