bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.fetch... | public String doAction(HttpServletRequest request, HttpServletResponse response, BwSession sess, BwActionFormBase form) throws Throwable { if (form.getGuest()) { return "noAccess"; // First line of defence } CalSvcI svc = form.fetch... | 1,120,276 |
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); selectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { selectionDisplay.removeAll(); } ... | public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); selectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { selectionDisplay.removeAll(); } ... | 1,120,277 |
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); selectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { selectionDisplay.removeAll(); } ... | public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); selectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { selectionDisplay.removeAll(); } ... | 1,120,278 |
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSei... | public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSei... | 1,120,279 |
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSei... | public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSei... | 1,120,280 |
public void removeAll(){ logger.debug("removing all displays"); if(parent != null){ parent.removeSelectionDisplay(this); } this.stopImageCreation(); seismograms.removeAll(); remove(seismograms); basicDisplays = new LinkedList(); sorter = new AlphaSeisSorter(); globalTimeRegistrar = new TimeConfigRegistrar(); gl... | public void removeAll(){ logger.debug("removing all displays"); if(parent != null){ parent.removeSelectionDisplay(this); } this.stopImageCreation(); seismograms.removeAll(); remove(seismograms); basicDisplays = new LinkedList(); sorter = new AlphaSeisSorter(); globalTimeRegistrar = new TimeConfigRegistrar(); gl... | 1,120,281 |
public void removeAll(){ logger.debug("removing all displays"); if(parent != null){ parent.removeSelectionDisplay(this); } this.stopImageCreation(); seismograms.removeAll(); remove(seismograms); basicDisplays = new LinkedList(); sorter = new AlphaSeisSorter(); globalTimeRegistrar = new TimeConfigRegistrar(); gl... | public void removeAll(){ logger.debug("removing all displays"); if(parent != null){ parent.removeSelectionDisplay(this); } this.stopImageCreation(); seismograms.removeAll(); remove(seismograms); basicDisplays = new LinkedList(); sorter = new AlphaSeisSorter(); globalTimeRegistrar = new TimeConfigRegistrar(); gl... | 1,120,282 |
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= selectionWindow.getSize().height; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= threeSelectionWindow.getS... | public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= selectionWindow.getSize().height; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= threeSelectionWindow.getS... | 1,120,283 |
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= selectionWindow.getSize().height; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= threeSelectionWindow.getS... | public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= selectionWindow.getSize().height; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= threeSelectionWindow.getS... | 1,120,284 |
public String creditcardAuthorization(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException{ return (doAuth(cardnumber, monthExpires, yearExpires, amount, currency, "5", nu... | public String creditcardAuthorization(String nameOnCard, String cardnumber, String monthExpires, String yearExpires, String ccVerifyNumber, double amount, String currency, String referenceNumber) throws CreditCardAuthorizationException{ String authID = (doAuth(cardnumber, monthExpires, yearExpires, amount, currency... | 1,120,285 |
private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK, String authRspID) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client... | private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK, String authIDRsp) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client... | 1,120,286 |
private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK, String authRspID) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client... | private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK, String authRspID) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client... | 1,120,288 |
private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK, String authRspID) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client... | private String doAuth(String cardnumber, String monthExpires, String yearExpires, double amount, String currency, String transactionType, Object parentDataPK, String authRspID) throws TPosException { if(_client != null) { _client.setProperty(TPOS3Client.PN_USERID, _userId); _client.setProperty(TPOS3Client... | 1,120,289 |
public void finishTransaction(String properties) throws CreditCardAuthorizationException { throw new CreditCardAuthorizationException("Unsupported"); } | public void finishTransaction(String properties) throws CreditCardAuthorizationException { HashMap map = parseProperties(properties); String cardnumber = (String) map.get(TPOS3Client.PN_PAN); String expires = (String) map.get(TPOS3Client.PN_EXPIRE); String amount = (String) map.get(TPOS3Client.PN_AMOUNT); String c... | 1,120,290 |
public String getAmount() { return Integer.toString(Integer.parseInt(_client.getProperty(TPOS3Client.PN_AMOUNT)) / amountMultiplier); } | private String getAmount() { return Integer.toString(Integer.parseInt(_client.getProperty(TPOS3Client.PN_AMOUNT)) / amountMultiplier); } | 1,120,291 |
public String getAuthorisationCode() { return _client.getProperty(TPOS3Client.PN_AUTHORISATIONCODE); } | private String getAuthorisationCode() { return _client.getProperty(TPOS3Client.PN_AUTHORISATIONCODE); } | 1,120,292 |
public String getAutorIdentifyRSP() { return _client.getProperty(TPOS3Client.PN_AUTHORIDENTIFYRSP); } | private String getAutorIdentifyRSP() { return _client.getProperty(TPOS3Client.PN_AUTHORIDENTIFYRSP); } | 1,120,293 |
public String getCCNumber() { return getPan(); } | private String getCCNumber() { return getPan(); } | 1,120,294 |
public String getCardBrandName() { return _client.getProperty(TPOS3Client.PN_CARDBRANDNAME); } | private String getCardBrandName() { return _client.getProperty(TPOS3Client.PN_CARDBRANDNAME); } | 1,120,295 |
public String getCardCharacter() { return _client.getProperty(TPOS3Client.PN_CARDCHARACTER); } | private String getCardCharacter() { return _client.getProperty(TPOS3Client.PN_CARDCHARACTER); } | 1,120,296 |
public String getCardTypeName() { return _client.getProperty(TPOS3Client.PN_CARDTYPENAME); } | private String getCardTypeName() { return _client.getProperty(TPOS3Client.PN_CARDTYPENAME); } | 1,120,297 |
protected CreditCardBusiness getCreditCardBusiness(IWApplicationContext iwac) { try { return (CreditCardBusiness) IBOLookup.getServiceInstance(iwac, CreditCardBusiness.class); } catch (IBOLookupException e) { throw new IBORuntimeException(e); } } | private CreditCardBusiness getCreditCardBusiness(IWApplicationContext iwac) { try { return (CreditCardBusiness) IBOLookup.getServiceInstance(iwac, CreditCardBusiness.class); } catch (IBOLookupException e) { throw new IBORuntimeException(e); } } | 1,120,298 |
public String getCurrency() { return _client.getProperty(TPOS3Client.PN_CURRENCY); } | private String getCurrency() { return _client.getProperty(TPOS3Client.PN_CURRENCY); } | 1,120,299 |
protected String getDate() { return _client.getProperty(TPOS3Client.PN_DATE); } | private String getDate() { return _client.getProperty(TPOS3Client.PN_DATE); } | 1,120,300 |
public String getExpire() { return _client.getProperty(TPOS3Client.PN_EXPIRE); } | private String getExpire() { return _client.getProperty(TPOS3Client.PN_EXPIRE); } | 1,120,301 |
public IWTimestamp getIdegaTimestamp() { IWTimestamp stamp = new IWTimestamp(); try { String date = getDate(); String time = getTime(); stamp.setYear(Integer.parseInt(date.substring(0, 4))); stamp.setMonth(Integer.parseInt(date.substring(4, 6))); stamp.setDay(Integer.parseInt(date.subst... | private IWTimestamp getIdegaTimestamp() { IWTimestamp stamp = new IWTimestamp(); try { String date = getDate(); String time = getTime(); stamp.setYear(Integer.parseInt(date.substring(0, 4))); stamp.setMonth(Integer.parseInt(date.substring(4, 6))); stamp.setDay(Integer.parseInt(date.subs... | 1,120,302 |
public String getPan() { return _client.getProperty(TPOS3Client.PN_PAN); } | private String getPan() { return _client.getProperty(TPOS3Client.PN_PAN); } | 1,120,303 |
protected String getTime() { return _client.getProperty(TPOS3Client.PN_TIME); } | private String getTime() { return _client.getProperty(TPOS3Client.PN_TIME); } | 1,120,304 |
public boolean supportsDelayedTransactions() { return false; } | public boolean supportsDelayedTransactions() { return true; } | 1,120,306 |
private OptionProvider getLayoutOptionProvider() { OptionProvider optionProvider = new OptionProvider() { Map optionMap = null; public Map getOptions(Object entity, EntityPath path, EntityBrowser browser, IWContext iwc) { IWResourceBundle resourceBundle = getResourceBundle(iwc); String dynamicLayout =... | private OptionProvider getLayoutOptionProvider() { OptionProvider optionProvider = new OptionProvider() { Map optionMap = null; public Map getOptions(Object entity, EntityPath path, EntityBrowser browser, IWContext iwc) { IWResourceBundle resourceBundle = getResourceBundle(iwc); String dynamicLayout =... | 1,120,307 |
public Map getOptions(Object entity, EntityPath path, EntityBrowser browser, IWContext iwc) { IWResourceBundle resourceBundle = getResourceBundle(iwc); String dynamicLayout = resourceBundle.getLocalizedString("ro_dynamic_layout","dynamic layout"); if (optionMap == null) { optionMap = new LinkedHashMap()... | public Map getOptions(Object entity, EntityPath path, EntityBrowser browser, IWContext iwc) { IWResourceBundle resourceBundle = getResourceBundle(iwc); String dynamicLayout = resourceBundle.getLocalizedString("ro_dynamic_layout","dynamic layout"); if (optionMap == null) { optionMap = new LinkedHashMap()... | 1,120,308 |
private String parseAction(IWContext iwc) throws FinderException, RemoteException{ String action = ""; // get the file id of the query folder if (iwc.isParameterSet(SET_ID_OF_DESIGN_FOLDER_KEY)) { String designFolderKey = iwc.getParameter(SET_ID_OF_DESIGN_FOLDER_KEY); parameterMap.put(SET_ID_OF_DESIGN_FOLDER_KE... | private String parseAction(IWContext iwc) throws FinderException, RemoteException{ String action = ""; // get the file id of the query folder if (iwc.isParameterSet(SET_ID_OF_DESIGN_FOLDER_KEY)) { String designFolderKey = iwc.getParameter(SET_ID_OF_DESIGN_FOLDER_KEY); parameterMap.put(SET_ID_OF_DESIGN_FOLDER_KE... | 1,120,310 |
public BwFreeBusy getFreeBusy(BwCalendar cal, String account, BwDateTime start, BwDateTime end) throws WebdavException { /* Create a url something like: * http://t1.egenconsulting.com:80/servlet/Freetime/John?start-mi... | public BwFreeBusy getFreeBusy(BwCalendar cal, String account, BwDateTime start, BwDateTime end) throws WebdavException { /* Create a url something like: * http://t1.egenconsulting.com:80/servlet/Freetime/John?start-mi... | 1,120,313 |
private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(sb.s... | private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(utcdt.substring(0, 4)); sb.append("-"); sb.append(s... | 1,120,314 |
private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(sb.s... | private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(utcd... | 1,120,315 |
private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(sb.s... | private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(sb.s... | 1,120,316 |
private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(sb.s... | private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(sb.s... | 1,120,317 |
private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(sb.s... | private String makeDateTime(BwDateTime dt) throws WebdavIntfException { try { String utcdt = dt.getDate(); StringBuffer sb = new StringBuffer(); // from 20060716T120000Z make 2006-07-16T12:00:00Z // 0 4 6 1 3 sb.append(sb.substring(0, 4)); sb.append("-"); sb.append(sb.s... | 1,120,318 |
public void propertyChange(final PropertyChangeEvent evt) { if ("selected".equals(evt.getPropertyName())) { Idea selectedIdea = (Idea) evt.getNewValue(); IdeaView selectedView = ideaMap.findIdeaViewFor( ideaMap.getRootView(), selectedIdea); if (selectedView... | public void propertyChange(final PropertyChangeEvent evt) { if ("selected".equals(evt.getPropertyName())) { Idea selectedIdea = (Idea) evt.getNewValue(); IdeaView selectedView = ideaMap.findIdeaViewFor( ideaMap.getRootView(), selectedIdea); if (selectedView... | 1,120,319 |
public String getSynchronizedSimpleExcelReport(QueryResult dataSource, DesignBox designBox, String nameOfReport) { synchronizeAndReset(dataSource, designBox); Map designerMap = designBox.getParameterMap(); ReportDescription reportDescription = new ReportDescription(); Iterator iterator = designBox.getDesign(... | public String getSynchronizedSimpleExcelReport(QueryResult dataSource, DesignBox designBox, String nameOfReport) { synchronizeAndReset(dataSource, designBox); Map designerMap = designBox.getParameterMap(); ReportDescription reportDescription = new ReportDescription(); Iterator iterator = designBox.getDesign(... | 1,120,320 |
public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | 1,120,322 |
public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | 1,120,323 |
public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | 1,120,324 |
public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | 1,120,325 |
public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | 1,120,326 |
public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | public void field(String name) throws Exception { BwEvent e = (BwEvent)top(); if (shareableContainedEntityTags(e, name)) { return; } /* pre-hibernate fields */ if (name.equals("lastmod")) { // pre-hibernate e.setLastmod(isoDateTimeFld()); } else if (name.equals("created")) { // pre-hibern... | 1,120,327 |
protected void resetEvent(PEActionForm form) { BwEvent event = form.getEditEvent(); /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); form.setCategory(k); } /* A is the All box, B is the user preferred va... | protected void resetEvent(PEActionForm form) { BwEvent event = form.getEditEvent(); /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); form.setCategory(k); } /* A is the All box, B is the user preferred va... | 1,120,330 |
protected void resetEvent(PEActionForm form) { BwEvent event = form.getEditEvent(); /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); form.setCategory(k); } /* A is the All box, B is the user preferred va... | protected void resetEvent(PEActionForm form) { BwEvent event = form.getEditEvent(); /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); form.setCategory(k); } /* A is the All box, B is the user preferred va... | 1,120,331 |
protected void resetEvent(PEActionForm form) { BwEvent event = form.getEditEvent(); /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); form.setCategory(k); } /* A is the All box, B is the user preferred va... | protected void resetEvent(PEActionForm form) { BwEvent event = form.getEditEvent(); /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); form.setCategory(k); } /* A is the All box, B is the user preferred va... | 1,120,332 |
protected void resetEvent(PEActionForm form) { BwEvent event = form.getEditEvent(); /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); form.setCategory(k); } /* A is the All box, B is the user preferred va... | protected void resetEvent(PEActionForm form) { BwEvent event = form.getEditEvent(); /* Implant the current id(s) in new entries */ int id = 0; BwCategory k = event.getFirstCategory(); if (k != null) { id = k.getId(); form.setCategory(k); } /* A is the All box, B is the user preferred va... | 1,120,333 |
public static String encodeFontStyle(int style) { if (style == Font.PLAIN) { return "PLAIN"; } else if ((style & (Font.BOLD | Font.ITALIC)) != 0) { return "BOLDITALIC"; } else if ((style & Font.BOLD) != 0) { return "BOLD"; } else if ((style & Font.ITALIC) != 0) { return "ITALIC"; } else { return "PLAIN"... | public static String encodeFontStyle(int style) { if (style == Font.PLAIN) { return "PLAIN"; } else if ((style & Font.BOLD) != 0 && (style & Font.ITALIC) != 0) { return "BOLDITALIC"; } else if ((style & Font.BOLD) != 0) { return "BOLD"; } else if ((style & Font.ITALIC) != 0) { return "ITALIC"; } else { ... | 1,120,334 |
private boolean validateEventCategory(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { int id = form.retrieveCategoryId().getVal(); if (id <= 0) { if (form.getEnv().getAppBoolProperty("categoryOptional")) { return tru... | private boolean validateEventCategory(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { int id = form.retrieveCategoryId().getVal(); if (id <= 0) { if (((AdminConfig)form.retrieveConfig()).getCategoryOptional()) { retu... | 1,120,336 |
private boolean validateEventLocation(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { if (!form.retrieveLocId().getChanged()) { if (form.getAutoCreateLocations()) { BwLocation l = form.getLocation(); if (!BwWebUt... | private boolean validateEventLocation(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { if (!form.retrieveLocId().getChanged()) { if (form.retrieveConfig().getAutoCreateLocations()) { BwLocation l = form.getLocation(); ... | 1,120,337 |
private boolean validateEventSponsor(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { if (!form.retrieveSpId().getChanged()) { if (form.getAutoCreateSponsors()) { BwSponsor s = form.getSponsor(); if (!BwWebUtil.val... | private boolean validateEventSponsor(PEActionForm form, CalSvcI svci, BwEvent event, MessageEmit err) throws Throwable { if (!form.retrieveSpId().getChanged()) { if (form.retrieveConfig().getAutoCreateSponsors()) { BwSponsor s = form.getSponsor(); i... | 1,120,338 |
public void testJavaMirrorBaseRelation() { ATMirror mirror = NATMirrorFactory._INSTANCE_.createMirror(True); try { assertEquals(True, mirror.base_getBase()); } catch (InterpreterException e) { fail(e.getMessage()); } } | public void testJavaMirrorBaseRelation() { try { assertEquals(True, mirror.base_getBase()); } catch (InterpreterException e) { fail(e.getMessage()); } } | 1,120,339 |
public void testJavaMirrorBaseRelation() { ATMirror mirror = NATMirrorFactory._INSTANCE_.createMirror(True); try { assertEquals(True, mirror.base_getBase()); } catch (InterpreterException e) { fail(e.getMessage()); } } | public void testJavaMirrorBaseRelation() { ATMirror mirror = NATMirrorFactory._INSTANCE_.createMirror(True); try { ATObject[] objects = new ATObject[] { NATNil._INSTANCE_, NATBoolean._TRUE_, NATNumber.ZERO, new NATObject(), new NATSuperObject(new NATObject(), Evaluator.getGlobalLexicalScope()), NATTable.EMPTY, n... | 1,120,340 |
public void testJavaMirrorInvocation() { try { ATMirror trueMirror = NATMirrorFactory._INSTANCE_.createMirror(True); ATMirror responds = (ATMirror)trueMirror.meta_invoke( trueMirror, AGSymbol.alloc("respondsTo"), new NATTable(new ATObject[] { AGSymbol.alloc("ifTrue:") })); responds.base_getBase().ba... | public void testJavaMirrorInvocation() { try { ATMirror trueMirror = NATMirrorFactory._INSTANCE_.createMirror(NATBoolean._TRUE_); ATMirror responds = (ATMirror)trueMirror.meta_invoke( trueMirror, AGSymbol.alloc("respondsTo"), new NATTable(new ATObject[] { AGSymbol.alloc("ifTrue:") })); responds.base... | 1,120,341 |
public void testJavaMirrorInvocation() { try { ATMirror trueMirror = NATMirrorFactory._INSTANCE_.createMirror(True); ATMirror responds = (ATMirror)trueMirror.meta_invoke( trueMirror, AGSymbol.alloc("respondsTo"), new NATTable(new ATObject[] { AGSymbol.alloc("ifTrue:") })); responds.base_getBase().ba... | public void testJavaMirrorInvocation() { try { ATMirror trueMirror = NATMirrorFactory._INSTANCE_.createMirror(True); ATMirror responds = (ATMirror)trueMirror.meta_invoke( trueMirror, AGSymbol.alloc("respondsTo"), new NATTable(new ATObject[] { AGSymbol.alloc("ifTrue:") })); responds.base_getBase().ba... | 1,120,342 |
public ATObject base_apply(ATTable arguments, ATContext ctx) throws InterpreterException { return NATNil._INSTANCE_; }; | public ATObject base_apply(ATTable arguments, ATContext ctx) throws InterpreterException { return NATNil._INSTANCE_; }; | 1,120,343 |
public void testListMethods() { try { evaluateInput( "def test := object: { \n" + " def hello() { echo: \"hello\"; self }; \n" + " def world() { echo: \"world\"; self }; \n" + "}; \n" + "echo: (reflect: test).listMethods(); \n" + "def testMirrored := object: { \n" + " def hello() { ec... | public void testListMethods() { try { evaluateInput( "def test := object: { \n" + " def hello() { echo: \"hello\"; self }; \n" + " def world() { echo: \"world\"; self }; \n" + "}; \n" + "echo: (reflect: test).listMethods(); \n" + "def testMirrored := object: { \n" + " def hello() { ec... | 1,120,344 |
public void testListMethods() { try { evaluateInput( "def test := object: { \n" + " def hello() { echo: \"hello\"; self }; \n" + " def world() { echo: \"world\"; self }; \n" + "}; \n" + "echo: (reflect: test).listMethods(); \n" + "def testMirrored := object: { \n" + " def hello() { ec... | public void testListMethods() { try { evaluateInput( "def test := object: { \n" + " def hello() { echo: \"hello\"; self }; \n" + " def world() { echo: \"world\"; self }; \n" + "}; \n" + "echo: (reflect: test).listMethods(); \n" + "def testMirrored := object: { \n" + " def hello() { ec... | 1,120,345 |
public void testListMethods() { try { evaluateInput( "def test := object: { \n" + " def hello() { echo: \"hello\"; self }; \n" + " def world() { echo: \"world\"; self }; \n" + "}; \n" + "echo: (reflect: test).listMethods(); \n" + "def testMirrored := object: { \n" + " def hello() { ec... | public void testListMethods() { try { evaluateInput( "def test := object: { \n" + " def hello() { echo: \"hello\"; self }; \n" + " def world() { echo: \"world\"; self }; \n" + "}; \n" + "echo: (reflect: test).listMethods(); \n" + "def testMirrored := object: { \n" + " def hello() { ec... | 1,120,346 |
public void testMirrorBaseRelation() { try { evaluateInput( "def mirror := at.mirrors.Factory.createMirror(true);" + // "echo: (\"testMirrorBaseRelation mirror is \".+(mirror));" + "(true == mirror.getBase())" + " .ifTrue: success ifFalse: fail;" + "(true == mirror.base)" + " .ifTrue: suc... | public void testMirrorBaseRelation() { try { evaluateInput( "def mirror := at.mirrors.Factory.createMirror(true);" + // "echo: (\"testMirrorBaseRelation mirror is \".+(mirror));" + "(true == mirror.getBase())" + " .ifTrue: success ifFalse: fail;" + "(true == mirror.base)" + " .ifTrue: suc... | 1,120,347 |
public void testMirrorFieldAccess() { try { evaluateInput( "def extendedSuccess := \n" + " extend: success with: { nil } \n" + " mirroredBy: (mirror: { nil }); \n" + "def extendedSuccessMirror := \n" + " reflect: extendedSuccess; \n" + "\n" + "extendedSuccessMirror.dynamicParent.base.... | public void testMirrorFieldAccess() { try { evaluateInput( "def extendedSuccess := \n" + " extend: success with: { nil } \n" + " mirroredBy: (mirror: { nil }); \n" + "def extendedSuccessMirror := \n" + " reflect: extendedSuccess; \n" + "\n" + "extendedSuccessMirror.dynamicParent.base.... | 1,120,348 |
public void testMirrorInvocation() { try { evaluateInput( "def trueMirror := at.mirrors.Factory.createMirror(true);" + "def responds := trueMirror.respondsTo( symIfTrue );" + "def base := responds.base;" + "base.ifTrue: success ifFalse: fail", new NATContext(lexicalRoot, lexicalRoot, ... | public void testMirrorInvocation() { try { evaluateInput( "def trueMirror := at.mirrors.Factory.createMirror(true);" + "def responds := trueMirror.respondsTo( symIfTrue );" + "def base := responds.base;" + "base.ifTrue: success ifFalse: fail", new NATContext(lexicalRoot, lexicalRoot, ... | 1,120,349 |
public void testStratification() { try { // Test setup : create a new scope and define a mirror inside it. NATCallframe testScope = new NATCallframe(lexicalRoot); try { evaluateInput( "def mirror := at.mirrors.Factory.createMirror(true);", new NATContext(testScope, lexicalRoot, NATNil._INSTA... | public void testStratification() { try { // Test setup : create a new scope and define a mirror inside it. NATCallframe testScope = new NATCallframe(lexicalRoot); try { evaluateInput( "def mirror := at.mirrors.Factory.createMirror(true);", new NATContext(testScope, lexicalRoot, NATNil._INSTA... | 1,120,350 |
public void testCloneFieldReinit() throws InterpreterException { testHost_.meta_addField(testField_.meta_clone().base_asField()); // set foo field of testHost to 1 testHost_.meta_assignField(testHost_, foo_, NATNumber.ONE); ATObject clone = testHost_.meta_clone(); // set foo field of clone to 55 clone.meta_assig... | public void testCloneFieldReinit() throws Exception { testHost_.meta_addField(testField_.meta_clone().base_asField()); // set foo field of testHost to 1 testHost_.meta_assignField(testHost_, foo_, NATNumber.ONE); ATObject clone = testHost_.meta_clone(); // set foo field of clone to 55 clone.meta_assignField(clon... | 1,120,352 |
public void testCustomDuplicate() throws InterpreterException { testHost_.meta_addField(testField_.base_asField()); try { // try to add a native field for which a custom one is already defined testHost_.meta_defineField(foo_, NATNumber.ONE); fail("expected a duplicate slot exception"); } catch (XDuplicateSlot... | public void testCustomDuplicate() throws Exception { testHost_.meta_addField(testField_.base_asField()); try { // try to add a native field for which a custom one is already defined testHost_.meta_defineField(foo_, NATNumber.ONE); fail("expected a duplicate slot exception"); } catch (XDuplicateSlot e) { // ... | 1,120,353 |
public void testCustomFieldAddition() throws InterpreterException { assertNull(testHost_.customFields_); // (reflect: testHost).addField(testField) testHost_.meta_addField(testField_.base_asField()); assertNotNull(testHost_.customFields_); assertEquals(1, testHost_.customFields_.size()); assertTrue(testHost_.met... | public void testCustomFieldAddition() throws Exception { assertNull(testHost_.customFields_); // (reflect: testHost).addField(testField) testHost_.meta_addField(testField_.base_asField()); assertNotNull(testHost_.customFields_); assertEquals(1, testHost_.customFields_.size()); assertTrue(testHost_.meta_respondsT... | 1,120,354 |
public void testCustomFieldRead() throws InterpreterException { testHost_.meta_addField(testField_.base_asField()); assertEquals(NATNil._INSTANCE_, testHost_.meta_select(testHost_, foo_)); } | public void testCustomFieldRead() throws Exception { testHost_.meta_addField(testField_.base_asField()); assertEquals(NATNil._INSTANCE_, testHost_.meta_select(testHost_, foo_)); } | 1,120,355 |
public void testCustomFieldWrite() throws InterpreterException { testHost_.meta_addField(testField_.base_asField()); // testHost.foo := 1 assertEquals(NATNil._INSTANCE_, testHost_.meta_assignField(testHost_, foo_, NATNumber.ONE)); // testHost.foo == 2 assertEquals(NATNumber.atValue(2), testHost_.meta_select(testH... | public void testCustomFieldWrite() throws Exception { testHost_.meta_addField(testField_.base_asField()); // testHost.foo := 1 assertEquals(NATNil._INSTANCE_, testHost_.meta_assignField(testHost_, foo_, NATNumber.ONE)); // testHost.foo == 2 assertEquals(NATNumber.atValue(2), testHost_.meta_select(testHost_, foo_)... | 1,120,356 |
public void testFieldListing() throws InterpreterException { testHost_.meta_addField(testField_.meta_clone().base_asField()); assertEquals(2, testHost_.meta_listFields().base_getLength().asNativeNumber().javaValue); } | public void testFieldListing() throws Exception { testHost_.meta_addField(testField_.meta_clone().base_asField()); assertEquals(2, testHost_.meta_listFields().base_getLength().asNativeNumber().javaValue); } | 1,120,357 |
public void testNativeFieldAdd() throws InterpreterException { testHost_.meta_addField(testField_.meta_clone().base_asField()); NATObject empty = new NATObject(); assertNull(empty.customFields_); empty.meta_addField(testHost_.meta_grabField(AGSymbol.jAlloc("x"))); assertNull(empty.customFields_); assertEquals(te... | public void testNativeFieldAdd() throws Exception { testHost_.meta_addField(testField_.meta_clone().base_asField()); NATObject empty = new NATObject(); assertNull(empty.customFields_); empty.meta_addField(testHost_.meta_grabField(AGSymbol.jAlloc("x"))); assertNull(empty.customFields_); assertEquals(testHost_.met... | 1,120,358 |
private Link getLink(int id,int catid){ Link L = new Link(core.getImage("/shared/view.gif"));// Image("/reports/pics/view.gif")); L.setWindowToOpen(ReportViewWindow.class); L.addParameter(PRM_REPORTID,id); L.addParameter(PRM_CATEGORYID,catid); L.addParameter(ReportViewer.getMenuStartClassParameter(Repo... | private Link getLink(int id,int catid){ Link L = new Link(core.getImage("/shared/edit.gif"));// Image("/reports/pics/view.gif")); L.setWindowToOpen(ReportViewWindow.class); L.addParameter(PRM_REPORTID,id); L.addParameter(PRM_CATEGORYID,catid); L.addParameter(ReportViewer.getMenuStartClassParameter(Repo... | 1,120,359 |
public static Link getPDFLink(IWApplicationContext iwac,Image image,int iReportId){ Link L = new Link( image ); L.setWindow(getFileWindow(iwac)); L.addParameter(PRM_REPORTID,iReportId); L.addParameter(ReportWriter.prmReportId,iReportId); L.addParameter(ReportWriter.prmPrintType,ReportWriter.PDF); L.a... | public static Link getPDFLink(IWApplicationContext iwac,Image image,int iReportId){ Link L = new Link( image ); L.setURL(iwac.getIWMainApplication().getMediaServletURI()+"report.pdf"); L.setTarget(Link.TARGET_BLANK_WINDOW); L.addParameter(PRM_REPORTID,iReportId); L.addParameter(ReportWriter.prmReportId,iRe... | 1,120,360 |
public static Link getPrintLink(IWApplicationContext iwac,Image image,int iReportId,int iReportInfoId){ Link L = new Link( image ); L.setWindow(getFileWindow(iwac)); L.addParameter(PRM_REPORTID,iReportId); L.addParameter(ReportWriter.prmReportId,iReportId); L.addParameter(ReportWriter.prmReportInfoId,i... | public static Link getPrintLink(IWApplicationContext iwac,Image image,int iReportId,int iReportInfoId){ Link L = new Link( image ); L.setURL(iwac.getIWMainApplication().getMediaServletURI()+"report.pdf"); L.setTarget(Link.TARGET_BLANK_WINDOW); L.addParameter(PRM_REPORTID,iReportId); L.addParameter(ReportW... | 1,120,361 |
public static Link getTXTLink(IWApplicationContext iwac,Image image,int iReportId){ Link L = new Link( image ); L.setWindow(getFileWindow(iwac)); L.addParameter(PRM_REPORTID,iReportId); L.addParameter(ReportWriter.prmReportId,iReportId); L.addParameter(ReportWriter.prmPrintType,ReportWriter.TXT); L.... | public static Link getTXTLink(IWApplicationContext iwac,Image image,int iReportId){ Link L = new Link( image ); L.setURL(iwac.getIWMainApplication().getMediaServletURI()+"report.txt"); L.setTarget(Link.TARGET_BLANK_WINDOW); L.addParameter(PRM_REPORTID,iReportId); L.addParameter(ReportWriter.prmReportId,iR... | 1,120,362 |
public static Link getXLSLink(IWApplicationContext iwac,Image image,int iReportId){ Link L = new Link( image ); L.setWindow(getFileWindow(iwac)); L.addParameter(PRM_REPORTID,iReportId); L.addParameter(ReportWriter.prmReportId,iReportId); L.addParameter(ReportWriter.prmPrintType,ReportWriter.XLS); L.... | public static Link getXLSLink(IWApplicationContext iwac,Image image,int iReportId){ Link L = new Link( image ); L.setURL(iwac.getIWMainApplication().getMediaServletURI()+"report.xls"); L.setTarget(Link.TARGET_BLANK_WINDOW); L.addParameter(PRM_REPORTID,iReportId); L.addParameter(ReportWriter.prmReportId,iR... | 1,120,363 |
public Collection getPeriods() { if (periods == null) { periods = new Vector(); } return periods; } | public Collection getPeriods() { if (periods == null) { periods = new ArrayList(); } return periods; } | 1,120,365 |
public ATObject meta_clone() throws NATException { ATObject dynamicParent; if(this.isFlagSet(_ISAPARENT_FLAG_)) { // IS-A Relation : clone the dynamic parent. dynamicParent = dynamicParent_.meta_clone(); } else { // SHARES_A Relation : share the dynamic parent. dynamicParent = dynamicParent_; } // ! set... | public ATObject meta_clone() throws NATException { ATObject dynamicParent; if(this.isFlagSet(_ISAPARENT_FLAG_)) { // IS-A Relation : clone the dynamic parent. dynamicParent = dynamicParent_.meta_clone(); } else { // SHARES_A Relation : share the dynamic parent. dynamicParent = dynamicParent_; } // ! set... | 1,120,366 |
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { CalSvcI svci = form.getCalSvcI(); boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.... | public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { CalSvcI svci = form.getCalSvcI(); boolean alerts = form.getAlertEvent(); /** Check access and set request parameters */ if (alerts) { if (!form.... | 1,120,368 |
public UIViewRoot createView(FacesContext context, String viewId) { ViewNode node = getNode(context); String newViewId=viewId; if(node.isResourceBased() && nodeCorrespondsToViewId(node, viewId, context)){ newViewId=node.getResourceURI(); } return super.createView(context, newViewId); } | public UIViewRoot createView(FacesContext context, String viewId) { ViewNode node = getNode(context); String newViewId=viewId; if(node.isResourceBased() && nodeCorrespondsToViewId(node, viewId, context)){ newViewId=node.getResourceURI(); } return super.createView(context, newViewId); } | 1,120,369 |
public static void main(String[] args) { OpenMap om = new OpenMap("edu/sc/seis/fissuresUtil/data/maps/dcwpo-browse"); try { om.writeMapToPNG("map.png"); } catch (IOException e) { logger.error("problem saving image to map.png", e); } System.out.println("done"); System.exit(0); } | public static void main(String[] args) { OpenMap om = new OpenMap("edu/sc/seis/fissuresUtil/data/maps/dcwpo-browse"); try { om.writeMapToPNG("map.png"); } catch (IOException e) { logger.error("problem saving image to map.png", e); } System.out.println("done"); System.exit(0); } | 1,120,370 |
public void testDelegatedMethodInvocation() { try { NATObject parent = new NATObject(lexicalRoot_); NATObject child = new NATObject(parent, lexicalRoot_, NATObject._IS_A_); ATSymbol lateBoundSelf = AGSymbol.alloc(NATText.atValue("lateBoundSelf")); ATMethod lateBoundSelfTestMethod = new NATMethod( la... | public void testDelegatedMethodInvocation() { try { NATObject parent = new NATObject(lexicalRoot_); NATObject child = new NATObject(parent, lexicalRoot_, NATObject._IS_A_); ATSymbol lateBoundSelf = AGSymbol.alloc(NATText.atValue("lateBoundSelf")); ATMethod lateBoundSelfTestMethod = new NATMethod( la... | 1,120,373 |
public void testExtend() { try { NATObject parent = new NATObject(lexicalRoot_); ATSymbol superSemantics = AGSymbol.alloc(NATText.atValue("superSemantics")); AGScopeTest test = new AGScopeTest(null, null, parent); NATObject child = (NATObject)parent.meta_extend( new NATClosure( new NATMethod(A... | public void testExtend() { try { NATObject parent = new NATObject(lexicalRoot_); ATSymbol superSemantics = AGSymbol.alloc(NATText.atValue("superSemantics")); AGScopeTest test = new AGScopeTest(null, null, parent); NATObject child = (NATObject)parent.meta_extend( new NATClosure( new NATMethod(A... | 1,120,374 |
public void testMethodInvocation() { try { NATObject object = new NATObject(lexicalRoot_); ATSymbol scopeTest = AGSymbol.alloc(NATText.atValue("scopeTest")); ATMethod scopeTestMethod = new NATMethod( scopeTest, NATTable.EMPTY, new AGScopeTest(object, object,NATNil._INSTANCE_)); object.meta_addMe... | public void testMethodInvocation() { try { NATObject object = new NATObject(lexicalRoot_); ATSymbol scopeTest = AGSymbol.alloc(NATText.atValue("scopeTest")); ATMethod scopeTestMethod = new NATMethod( scopeTest, NATTable.EMPTY, new AGScopeTest(object, object, object.getDynamicParent())); object.m... | 1,120,375 |
protected void calculateTicks() { if (totalPixels == 0) { numTicks = 0; return; } // aim for about hintNumber ticks double hintNumber = totalPixels/(double)hintPixels; double rangeWidth = range.getMaxValue()-range.getMinValue(); if ( rangeWidth == 0) {... | protected void calculateTicks() { if (totalPixels == 0) { numTicks = 0; return; } // aim for about hintNumber ticks double rangeWidth = range.getMaxValue()-range.getMinValue(); if ( rangeWidth == 0) { // not a real range numTicks... | 1,120,376 |
public int getPixelLocation(int i) { return SimplePlotUtil.getPixel(totalPixels, range, minTick + i * tickInc); //earlier it was total } | public int getPixelLocation(int i) { return SimplePlotUtil.getPixel(totalPixels, range, minTick + i * tickInc); //earlier it was total } | 1,120,378 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new AcceptEventActionCreateCommand(req)); ... | 1,120,379 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,380 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,381 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,382 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,383 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,384 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,385 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,386 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,387 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,388 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,389 |
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.AcceptEventAction_2001 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getActivity_Node()); } return getMSLWrapper(new CreateAcceptEventAction_2001Command(re... | 1,120,390 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.