]> http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid ConversationEdit_onConversationSendBehavior false false false false java public try { im.model.Contact recipient = getModel().getContact(); if (recipient == null) { throw new NullPointerException( "No recipient available in ConversationEdit.onConversationSend()"); } im.model.Contact sender = getSender(recipient); if (sender == null) { throw new NullPointerException( "No sender available in ConversationEdit.onConversationSend()"); } im.model.Message msg = new im.model.Message(); msg.setNetwork(recipient.getNetwork()); msg.setSender(sender.getUserId()); msg.setRecipient(recipient.getUserId()); msg.setContent(getView().getContent()); msg.send(); getModel().setMessage(msg); } catch (Exception e) { im.InstantMessagingClient.getInstance().report(e); } ConversationEdit_getSenderBehavior false false false false im.InstantMessagingClient c = im.InstantMessagingClient.getInstance(); return c.getContactList().getIdentity(recipient.getNetwork()); java public String[] options = {"im.view.swt.SWTViewFactory", "im.view.swing.SwingViewFactory", "im.view.awt.AWTViewFactory", "im.view.lcdui.LCDUIViewFactory"}; ViewFactory factory = null; for (int i = 0; i < options.length && factory == null; i++) { try { factory = (ViewFactory) Class.forName(options[i]).newInstance(); } catch (Exception e) { } } return factory; ViewFactory_getDefaultBehavior false false false false java public http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.eclipse.org/uml2/2.0.0/UML http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.eclipse.org/uml2/2.0.0/UML http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.eclipse.org/uml2/2.0.0/UML http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.eclipse.org/uml2/2.0.0/UML http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.topcased.org/uuid http://www.eclipse.org/uml2/2.0.0/UML http://www.topcased.org/uuid http://www.topcased.org/uuid 11477073470800 uuid 11477073470911 uuid 114770743737512 uuid 1148026865291116 uuid 115039489388067 uuid 115039489388068 uuid http://www.topcased.org/uuid 115037633792666 uuid 115039494083676 uuid 115039494083677 uuid 115039316260878 uuid 115038936480282 uuid 115039494083684 uuid 115039494083785 uuid 115039879692394 uuid 115039879692495 uuid 115039879692496 uuid http://www.topcased.org/uuid 115814793631363 uuid 115839552807551 uuid 115814855240860 uuid 115814855240961 uuid 115815147932060 uuid 115815147932061 uuid 115839552807564 uuid 115815147932062 uuid 115839552807568 uuid 114770866382136 uuid http://www.topcased.org/uuid 114770987609039 uuid 114770987609140 uuid 114803400366464 uuid 114803400366565 uuid 114803400366666 uuid 114803417655679 uuid 114803417655780 uuid 114803417655881 uuid 114803417655982 uuid 114770853504136 uuid http://www.topcased.org/uuid 114770853504237 uuid 114770987609147 uuid 114770894076448 uuid 114770909550451 uuid 1148037071606112 uuid 1150374702875111 uuid 1150374702876112 uuid 1150374702877113 uuid 114770909550552 uuid 1148037234131166 uuid http://www.topcased.org/uuid 1150394985265164 uuid 1150394985266165 uuid 1158154725791135 uuid 1158395528076141 uuid 1158395528076142 uuid 1158154725793136 uuid 1158395528076146 uuid 1158395528076147 uuid 1150367686129114 uuid 1150367686130115 uuid http://www.topcased.org/uuid 1150367686131116 uuid 1150367924674132 uuid 1150367924675133 uuid 1150367997251138 uuid 114770909550653 uuid 1148037234128121 uuid 1150394985266194 uuid 1150394985266195 uuid 1150392857778201 uuid 1150392857779202 uuid http://www.topcased.org/uuid http://www.topcased.org/uuid 1150392857779203 uuid 114770909550754 uuid 1148037071607122 uuid 1150374765704168 uuid 114770909550755 uuid 1148037071607126 uuid 1150374959963186 uuid 1150374959964187 uuid 1150374959964188 uuid 1158158434735204 uuid http://www.topcased.org/uuid 1150375833348197 uuid 114770909550856 uuid 114770972295869 uuid 1148036852021130 uuid 1148036852021131 uuid 114770972295972 uuid 114770972296073 uuid 1148036852021138 uuid 1148036852021139 uuid 1148037234129163 uuid http://www.topcased.org/uuid 1148037234129136 uuid 1150394985266269 uuid 1150394985266270 uuid 1148037234130164 uuid 1148037234131165 uuid 1150394985267277 uuid 1150394985267278 uuid 1150392857779286 uuid 1150392857780287 uuid 1150392857781288 uuid http://www.topcased.org/uuid 1150392857781289 uuid 114770894076449 uuid 114770931875472 uuid 114770931875573 uuid 1148034794745153 uuid 1156320441979335 uuid 1156320441980336 uuid 1148034794747156 uuid 1156320441980340 uuid 1156320441980341 uuid http://www.topcased.org/uuid 1158158315789297 uuid 1148034865391175 uuid 1148036388647178 uuid 1148036388648179 uuid 1148034865392176 uuid 1148034953441181 uuid 1148036388648186 uuid 1148034953442182 uuid 1148036388649190 uuid 1148034953443183 uuid http://www.topcased.org/uuid 1148036388650194 uuid 1148034953443184 uuid 1148034794747159 uuid 1148034794748160 uuid 1156320441980390 uuid 1156320441981391 uuid 1148034794750163 uuid 1148034794752164 uuid 1156320441981398 uuid 1156320441981399 uuid http://www.topcased.org/uuid 114770894076550 uuid 1150395564187410 uuid 1150395564189413 uuid 1150395564190414 uuid 1150395564190415 uuid 1150398438323432 uuid 1150398438324433 uuid 1150398438325434 uuid 1150398438326435 uuid 1150398480944444 uuid http://www.topcased.org/uuid 1150398480944445 uuid 1158155905766405 uuid 1158395528078400 uuid 1158395528078401 uuid 1158155905766406 uuid 1158395528078405 uuid 1158156414574402 uuid 1158156414574403 uuid 1158156414574404 uuid 1158156977448408 uuid http://www.topcased.org/uuid 1158395528078418 uuid 1158395528078419 uuid 1158157179193408 uuid 1158395528079423 uuid 1158395528079424 uuid 1150398082222417 uuid 1150398082223418 uuid 1150399143324459 uuid 1150399965252464 uuid 1150399965252465 uuid http://www.topcased.org/uuid 1150399143325460 uuid 1150400336912476 uuid 1150399886074465 uuid 1150399886075466 uuid 1150399886077467 uuid 1150399886078468 uuid 1156330501617511 uuid 1156330501618512 uuid 1150399886079469 uuid 1150400336913492 uuid http://www.topcased.org/uuid http://www.topcased.org/uuid 1150400336914493 uuid 1150395564191416 uuid 1150395564192419 uuid 1150395564193420 uuid 1150395564194421 uuid 1150398438327454 uuid 1150398480944465 uuid 1150398480944466 uuid 1158154911322492 uuid 1158395528079497 uuid http://www.topcased.org/uuid 1158395528079498 uuid 1158155021878495 uuid 1158395528079502 uuid 1158345335922486 uuid 1158395528079506 uuid 1158155499582486 uuid 1150399143326486 uuid 1150399143328489 uuid 1150399143329490 uuid 1150399143330491 uuid http://www.topcased.org/uuid 1150399374215506 uuid 1150399143331492 uuid 1150399374216510 uuid 1150399143333493 uuid 1150395564194422 uuid 1150395564196425 uuid 1150395564196426 uuid 1150395564196427 uuid 1150398438328476 uuid 1150398438333477 uuid http://www.topcased.org/uuid 1150398438334478 uuid 1158157786605546 uuid 1158395528080568 uuid 1158395528080569 uuid 1158157786605547 uuid 1158395528080573 uuid 1158157786605548 uuid 1158395528080577 uuid 1158157786605549 uuid 1158157786605550 uuid http://www.topcased.org/uuid 1158157893374558 uuid 1158395528080587 uuid 1158395528080588 uuid 1150398082223451 uuid 1156323996463622 uuid 1156323996466625 uuid 1156323996467626 uuid 1156324467226638 uuid 1156325212715646 uuid 1156324467228639 uuid http://www.topcased.org/uuid 1156325212716650 uuid 1156324467229640 uuid 1156324467230641 uuid 1156324467231642 uuid 1156325212718660 uuid 1156325212719661 uuid 1150395564196428 uuid 1150395564198429 uuid 1150395564198430 uuid 1150395564199431 uuid http://www.topcased.org/uuid 1150395564199432 uuid 1150395564200433 uuid 1150395564201434 uuid 1150395564201435 uuid 1150395564202436 uuid 1150395564203437 uuid 1150395564203438 uuid 1150395564203439 uuid 1150398438334515 uuid 1150398438336516 uuid http://www.topcased.org/uuid 1150398438337517 uuid 1150398438337518 uuid 1150398438338519 uuid 1150398438339520 uuid 1150398438340521 uuid 1150398438341522 uuid 1150398438342523 uuid 1150400336916659 uuid 114770894076551 uuid 1150395804975497 uuid http://www.topcased.org/uuid 1150396644755500 uuid 1150396644757501 uuid 1150396644758502 uuid 1150396644759503 uuid 1150396644760504 uuid 1150396644761505 uuid 1150396644763506 uuid 1150396644764507 uuid 1150396644765508 uuid 1150396644766509 uuid http://www.topcased.org/uuid 1150396644767510 uuid 1150395804977498 uuid 1150397315582536 uuid 1150397315584537 uuid 1150397315585538 uuid 1150397315586539 uuid 1150397315587540 uuid 1150397315589541 uuid 1150397315590542 uuid 1150397315591543 uuid http://www.topcased.org/uuid http://www.topcased.org/uuid 1150397315592544 uuid 1150395804979499 uuid 1150397780151566 uuid 1150397780153567 uuid 1150397780154568 uuid 1150397780156569 uuid 1150397780157570 uuid 1150397780158571 uuid 1150397780159572 uuid 1150397780160573 uuid http://www.topcased.org/uuid 1150397780161574 uuid 1150397780162575 uuid 1150397780167576 uuid 1150397780169577 uuid 1150395804980500 uuid 1150396984810542 uuid 1150396984811543 uuid 1150396984813544 uuid 1150395804981501 uuid 1150397315593563 uuid http://www.topcased.org/uuid 1150397315594564 uuid 1150395804982502 uuid 1150397818700626 uuid 1156330501625895 uuid 1156330501626896 uuid 1150395804983503 uuid 1158158133830810 uuid 1158395528082841 uuid 1150396201953525 uuid 1150396201954526 uuid http://www.topcased.org/uuid 1158227042738819 uuid 1158227042738820 uuid 1158227042738821 uuid 1148026865289114 uuid 1148026865290115 uuid 1150394893882415 uuid 1150394893882416 uuid 1150376337927388 uuid 1150376337928389 uuid 1150394940838423 uuid http://www.topcased.org/uuid 1150394940839424 uuid 1150389364805416 uuid 1150389364806417 uuid 1150394940839431 uuid 1150394940839432 uuid 1150394117474449 uuid 1150398796925773 uuid 1150398796927774 uuid 1150398796927775 uuid 1150398796928776 uuid http://www.topcased.org/uuid 1150461186971904 uuid 1150461337410907 uuid 1158226591764898 uuid 1158226591764897 uuid 1158226591764900 uuid 1158226591764899 uuid 1158226591764902 uuid 1158226591764901 uuid 1158226591765904 uuid 1158226591765903 uuid http://www.topcased.org/uuid 1158226591765906 uuid 1158226591765905 uuid im public model public networking public edit public public view ContactListEdit_InstantMessagingClient_Dependency public Dependency1 public Dependency2 public http://www.topcased.org/uuid Dependency3 public InstantMessagingClient_model_Dependency public InstantMessagincClient_Network_Dependency public InstantMessagingClient_edit_Dependency public Dependency1 public A_ns_network false false false public A_conversation_message false false false public A_contactList_contact false false false public A_conversation_contact false false false public A_network_recvContact false false false public http://www.topcased.org/uuid A_network_recvMsg false false false public A_contactEdit_model false false false public A_contactListEdit_model false false false public A_conversationEdit_model false false false public A_contactListEdit_view false false false public A_conversationEdit_view false false false public A_listEdit_contactEdit false false false public A_client_network false false false public A_client_contactList false false false public A_client_conversation false false false public http://www.topcased.org/uuid A_client_viewFactory false false false public A_<instantMessagingClient>_<contactListEdit> false false false public false false false java new ContactList() public -3374609151465534159L java public create e false false false in public true c create false false false in public true create false false false in public r true http://www.topcased.org/uuid http://www.topcased.org/uuid create e false false false in public true c create false false false in public true create false false false in public r true create e false false false in public true create false false false public return return true create false false false public return return true false false false public read return return true false false false forNw in public read true false false false public read return return true false false false in public read true userId http://www.topcased.org/uuid false false false public read return return true false false false forNw in public read true false false false public read return return true false false false in public read true userId create false false false public return return true create false false false public return return true create false false false in public true uid create false false false in public pwd true c create false false false in public true c create false false false in public true http://www.topcased.org/uuid create false false false in msg public true create false false false public return return true c false false false in public true update c false false false in public true update false false false in okClicked public read true create dlg false false false in public true false false false public read return return true c false false false in public read true create false false false public return return true c false false false in public true update http://www.topcased.org/uuid c false false false in public true update false false false in okClicked public read true create dlg false false false in public true false false false public read return return true c false false false in public read true create false false false public return return true c false false false in public read true false false false in public read s true false false false in n public read true create false false false public return return true http://www.topcased.org/uuid c false false false in public read true false false false in n public read true false false false in public read s true create false false false public return return true c false false false in public read true create false false false in m public true c false false false in public true update false false false public read return return true false false false in public read recipient true create false false false public return return true http://www.topcased.org/uuid c false false false in public read true create false false false in m public true c false false false in public true update false false false public read return return true false false false in public read recipient true c false false false in public read true false false false in index public true update false false false in index public true update false false false public read return return true enabled false false false in public true update http://www.topcased.org/uuid create false false false in l public true false false false public read return return true c false false false in public true update create false false false in public t true create false false false in l public true false false false public read return return true false false false public read return return true false false false public read return return true false false false public read return return true false false false in n public true update http://www.topcased.org/uuid false false false in l public true update false false false in okClicked public read true dlg false false false in public read true create false false false public return return true create false false false public return return true composite false false false false false network public true true composite contactList false false false false false false public true composite conversation false false false false false false public true false false false false false false none public true viewFactory false false false false none private serialVersionUID true true true http://www.topcased.org/uuid composite contactListEdit false false false false false false public true false false false false false false none public true userId false false false false false false name none public true false false false false false false none public status true contact false false false false false public shared true true false false false false false false message public shared true contact false false false false false false none public true false false false false false false none password public true false false false false false false none public sender true false false false false false false none public recipient true http://www.topcased.org/uuid content false false false false false false none public true false false false false false false network none public true false false false false false false none ns public true conversation false false false false false false none public true contactList false false false false false false none public true conversation false false false false false false none public true false false false false false false name none public true false false false false false false public recvContact shared true false false false false false false public recvMsg shared true false false false false false false network none public true http://www.topcased.org/uuid http://www.topcased.org/uuid false false false false false false network none public true false false false false false false model none public true false false false false false false public shared true view composite contactEdit false false false false false public true true false false false false false false model none public true false false false false false false listEdit none public true false false false false false false model none public true false false false false false false public shared true view contactEdit false false false false false false none public true contactListEdit false false false false false false none public true http://www.topcased.org/uuid conversationEdit false false false false false false none public true contactListEdit false false false false false false none public true conversationEdit false false false false false false none public true client false false false false false false none public true client false false false false false false none public true client false false false false false false none public true client composite false false false false false false public true client false false false false false false none public true false false false false public report sequential false false false false init public sequential http://www.topcased.org/uuid false false false false public sequential start false false false false public sequential stop false false false false onRecvContactChange public sequential false false false false onRecvMsgChange public sequential false false false public report sequential true false false false false public sequential toString false false false false getIdentity public sequential false false false false getUserName public sequential false false false false public sequential toString false false false false public send sequential http://www.topcased.org/uuid false false false false login public sequential false false false false logout public sequential addContact false false false false public sequential false false false false public removeContact sequential false false false false public send sequential discoverNetworks false false false public sequential true ContactListEdit false false false false public sequential false false false false onContactChange public sequential false false false false onContactListAdd public sequential false false false false onContactListRemove public sequential http://www.topcased.org/uuid false false false false onContactListAction public sequential false false false false onNewContactDialogClose public sequential false false false false getContactEditFor private sequential ContactEdit false false false false public sequential false false false false onNameChange public sequential false false false false onStatusChange public sequential false false false false onChange public sequential ConversationEdit false false false false public sequential false false false false onMessageChange public sequential false false false false onContactChange public sequential http://www.topcased.org/uuid false false false false onConversationClose public sequential false false false false onConversationSend public sequential false false false false getSender public sequential addContact false false false false public sequential false false false false public removeContact sequential false false false false getSelectedContact public sequential false false false false public sequential setEnabled addListener false false false false public sequential false false false false getContent public sequential addContent false false false false public sequential http://www.topcased.org/uuid false false false false public sequential setTitle false false false false public sequential toFront addListener false false false false public sequential false false false false getUid public sequential false false false false getName public sequential false false false false getNetwork public sequential false false false false getPassword public sequential addNetwork false false false false public sequential addListener false false false false public sequential false false false false onContactListAdd public sequential http://www.topcased.org/uuid false false false false onContactListRemove public sequential false false false false onContactListAction public sequential false false false false onConversationSend public sequential false false false false onConversationClose public sequential false false false false onNewContactDialogClose public sequential false false false getDefault public sequential true InstantMessagingClient false false false public Contact false false false public ContactList false false false public Conversation false false false public http://www.topcased.org/uuid Identity false false false public Message false false false public NetworkSpecificData false false public true Network false false public true ContactListEdit false false false public ContactEdit false false false public ConversationEdit false false false public ViewFactory false false public true ExceptionReporterImplementation public Implementation1 public http://www.topcased.org/uuid Implementation2 public Implementation1 public ExceptionReporter false false public ContactListView false false public ConversationView false false public NewContactDialog false false public ContactListViewListener false false public ConversationViewListener false false public NewContactDialogListener false false public InstantMessengerModel public http://www.topcased.org/uuid http://www.topcased.org/uuid false false false false false 1 public 1 public 1 public 1 public 1 public http://www.topcased.org/uuid 1 public 1 public 1 public 1 public 1 public 0 public 0 public 0 public 1 public 1 public http://www.topcased.org/uuid 1 public 1 public 1 public 1 public 0 public 1 public 1 public 1 public 1 public 1 public http://www.topcased.org/uuid 1 public 1 public 1 public 1 public 1 public 1 public 1 public 1 public 1 public -1 public http://www.topcased.org/uuid 1 public -1 public 1 public 1 public -1 public 1 public 1 public 1 public 1 public 1 public http://www.topcased.org/uuid 1 public 1 public 1 public 1 public 1 public 1 public 1 public 1 public -1 public 1 public http://www.topcased.org/uuid 1 public 1 public 1 public 1 public 1 public 1 public 1 public 1 public 1 public 1 public http://www.topcased.org/uuid 1 public 1 public 1 public InstantMessagingClient_reportBehaviour false false false false for (java.util.Enumeration ns = getNetworks(); ns.hasMoreElements();) { Object n = ns.nextElement(); if (n instanceof ExceptionReporter) { ((ExceptionReporter) n).report(e); return; } } System.err.println(e.getMessage()); e.printStackTrace(); java public InstantMessagingClient_initBehavior false false false false java public try { // ViewFactory setViewFactory(ViewFactory.getDefault()); // Network Network.discoverNetworks(); // Create and register edit/view setContactListEdit(new ContactListEdit(contactList)); } catch (Exception e) { e.printStackTrace(); } InstantMessagingClient_startBehavior boolean hasID = false; for (java.util.Enumeration ns = getNetworks(); ns.hasMoreElements();) { Network n = (Network) ns.nextElement(); Identity id = getContactList().getIdentity(n); if (id != null) { n.login(id.getUserId(), id.getPassword()); hasID = true; } } if (!hasID) { getContactListEdit().onContactListAdd(); } false false false false java public InstantMessagingClient_stopBehavior false false false false for (java.util.Enumeration ns = getNetworks(); ns.hasMoreElements();) { Network n = (Network) ns.nextElement(); if (getContactList().getIdentity(n) != null) { n.logout(); } } java public InstantMessagingClient_onRecvContactChangeBehavior false false false false for (java.util.Enumeration cs = getContactList().getContacts(); cs .hasMoreElements();) { Contact listed = (Contact) cs.nextElement(); if (listed.getUserId().equals(c.getUserId())) { if (c.getStatus() != null) { listed.setStatus(c.getStatus()); } if (c.getName() != null) { listed.setName(c.getName()); } return; } } getContactList().addContact(c); java public InstantMessagingClient_onRecvMsgChangeBehavior false false false false for (java.util.Enumeration cs = getConversations(); cs .hasMoreElements();) { Conversation c = (Conversation) cs.nextElement(); String contact = c.getContact().getUserId(); if (contact.equals(r.getSender())) { c.setMessage(r); return; } } Conversation conv = new Conversation(); new ConversationEdit(conv); addConversation(conv); for (java.util.Enumeration cs = getContactList().getContacts(); cs .hasMoreElements();) { Contact c = (Contact) cs.nextElement(); if (c.getUserId().equals(r.getSender())) { conv.setContact(c); break; } } if (conv.getContact() == null) { conv.setContact(new Contact()); conv.getContact().setUserId(r.getSender()); } conv.setMessage(r); java public Contact_toStringBehavior false false false false final StringBuffer fmt = new StringBuffer(); final String name = getName(); final String status = getStatus(); fmt.append(" "); fmt.append((name == null) ? getUserId() : name); if (getNetwork() != null) { fmt.append(" - "); fmt.append(getNetwork().getName()); } fmt.append(" ("); fmt.append((status == null) ? "offline" : status); fmt.append(")"); return fmt.toString(); java public http://www.topcased.org/uuid ContactList_getIdentityBehavior false false false false for (java.util.Enumeration cs = getContacts(); cs.hasMoreElements();) { Contact contact = (Contact) cs.nextElement(); if ((contact instanceof Identity) && (contact.getNetwork() == forNw)) { return (Identity) contact; } } return null; java public ContactList_getUserNameBehavior false false false false for (java.util.Enumeration cs = getContacts(); cs.hasMoreElements();) { Contact contact = (Contact) cs.nextElement(); if (contact.getUserId().equals(userId)) { if (contact.getName() == null) { return contact.getUserId(); } else { return contact.getName(); } } } return userId; java public Identity_toStringBehavior false false false false java public return "* " + super.toString().substring(2); Message_sendBehavior false false false false if (getNetwork() != null) { getNetwork().send(this); } java public Network_discoverNetworksBehavior String[] options = {"im.networking.jabber.mejabber.MEJabber", "im.networking.jabber.defaultjabber.DefaultJabber", "im.networking.sms.SMS", "im.networking.local.Local"}; im.InstantMessagingClient client = im.InstantMessagingClient .getInstance(); for (int i = 0; i < options.length; i++) { try { client.addNetwork((Network) Class.forName(options[i]) .newInstance()); } catch (Exception e) { } } false false false false java public ContactListEditBehavior false false false false java public setModel(c); InstantMessagingClient client = InstantMessagingClient.getInstance(); setView(client.getViewFactory().createContactListView()); getView().addListener(this); ContactListEdit_onContactChangeBehavior false false false false int index = getModel().getIndexOfContact(c); if (index > -1) { ContactEdit edit = new ContactEdit(c); insertContactEdit(edit, index); getView().addContact(c, index); } else { ContactEdit edit = getContactEditFor(c); index = getIndexOfContactEdit(edit); getView().removeContact(index); removeContactEdit(edit); } java public ContactListEdit_onContactListAddBehavior false false false false getView().setEnabled(false); im.InstantMessagingClient client = im.InstantMessagingClient .getInstance(); im.view.NewContactDialog dlg = client.getViewFactory() .createNewContactDialog(); for (java.util.Enumeration ns = client.getNetworks(); ns .hasMoreElements();) { dlg .addNetwork(((im.networking.Network) ns.nextElement()) .getName()); } dlg.addListener(this); java public ContactListEdit_onContactListRemoveBehavior false false false false int index = getView().getSelectedContact(); if (index > -1) { im.model.Contact c = getModel().getContactAt(index); if (c instanceof im.model.Identity) { im.model.Identity id = (im.model.Identity) c; id.getNetwork().logout(); } else { c.getNetwork().removeContact(c); } getModel().removeContact(c); } java public ContactListEdit_onContactListActionBehavior false false false false int index = getView().getSelectedContact(); if (index > -1) { im.model.Contact c = getModel().getContactAt(index); im.InstantMessagingClient client = im.InstantMessagingClient .getInstance(); // reuse existing conversation, if any for (java.util.Enumeration cs = client.getConversations(); cs .hasMoreElements();) { im.model.Conversation conv = (im.model.Conversation) cs .nextElement(); im.model.Contact contact = conv.getContact(); if (contact.equals(c)) { conv.setContact(new im.model.Contact()); conv.setContact(c); return; } } // else new conversation im.model.Conversation conv = new im.model.Conversation(); new ConversationEdit(conv); client.addConversation(conv); conv.setContact(c); } java public http://www.topcased.org/uuid ContactListEdit_onNewContactDialogCloseBehavior false false false false if (okClicked) { im.model.Contact c; im.networking.Network n = im.InstantMessagingClient.getInstance() .getNetworkAt(dlg.getNetwork()); if (getModel().getIdentity(n) == null) { im.model.Identity id = new im.model.Identity(); id.setNetwork(n); id.setUserId(dlg.getUid()); id.setName(dlg.getName()); id.setPassword(dlg.getPassword()); c = id; getModel().addContact(c); id.getNetwork().login(id.getUserId(), id.getPassword()); } else { c = new im.model.Contact(); c.setNetwork(n); c.setUserId(dlg.getUid()); c.setName(dlg.getName()); getModel().addContact(c); c.getNetwork().addContact(c); } } getView().setEnabled(true); java public ContactListEdit_getContactEditForBehavior false false false false for (java.util.Enumeration ces = getContactEdits(); ces .hasMoreElements();) { ContactEdit ce = (ContactEdit) ces.nextElement(); if (ce.getModel().equals(c)) { return ce; } } return null; java public ContactEditBehavior false false false false java public setModel(c); ContactEdit_onStatusChangeBehavior false false false false java onChange(); public ContactEdit_onNameChangeBehavior false false false false java onChange(); public ContactEdit_onChangeBehavior false false false false int index = getListEdit().getIndexOfContactEdit(this); if (index > -1) { getListEdit().getView().removeContact(index); getListEdit().getView().addContact(getModel(), index); } java public ConversationEditBehavior false false false false java public setModel(c); im.InstantMessagingClient client = im.InstantMessagingClient .getInstance(); setView(client.getViewFactory().createConversationView()); getView().addListener(this); ConversationEdit_onMessageChangeBehavior false false false false if (m.getContent() instanceof String) { im.model.ContactList list = im.InstantMessagingClient.getInstance() .getContactList(); getView().addContent( list.getUserName(m.getSender()) + ": " + m.getContent()); } else { getView().addContent(m.getContent()); } getView().toFront(); java public ConversationEdit_onContactChangeBehavior false false false false if (c.getName() != null) { getView().setTitle(c.getName()); } else if (c.getUserId() != null) { getView().setTitle(c.getUserId()); } getView().toFront(); java public ConversationEdit_onConversationCloseBehavior false false false false im.InstantMessagingClient.getInstance().removeConversation(getModel()); java public