rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
SeismogramShapeIterator iterator){ double pointsPerPixel = iterator.getPointsPerPixel(); int[] seisPoints = currentIterator.getSeisPoints(); seisPoints[0] =(int)-(iterator.getTotalShift() * pointsPerPixel) + iterator.getBaseSeisPoint(); seisPoints[1] = seisPoints[0] + (int)-(iterator.getSize().width * pointsPerPixel);...
SeismogramShapeIterator iterator){ double pointsPerPixel = iterator.getPointsPerPixel(); int[] seisPoints = currentIterator.getSeisPoints(); seisPoints[0] =(int)-(iterator.getTotalShift() * pointsPerPixel) + iterator.getBaseSeisPoint(); seisPoints[1] = seisPoints[0] + (int)(iterator.getSize().width * pointsPerPixel); ...
private void drag(int dragAmount, int dragFrom, SeismogramShapeIterator iterator){ double pointsPerPixel = iterator.getPointsPerPixel(); int[] seisPoints = currentIterator.getSeisPoints(); seisPoints[0] =(int)-(iterator.getTotalShift() * pointsPerPixel) + iterator.getBaseSe...
iterator.copyBasicInfo(currentIterator); double shiftPercentage = getShiftPercentage(currentIterator.getTime(), iterator.getTime()); double pixelShift = currentIterator.getSize().width * shiftPercentage + currentIterator.getLeftoverPixels(); pixelShift *= 1000; pixelShift = Math.round(pixelShift); pixelShift /= 100...
iterator.copyBasicInfo(currentIterator); double shiftPercentage = getShiftPercentage(currentIterator.getTime(), iterator.getTime()); double pixelShift = currentIterator.getSize().width * shiftPercentage; pixelShift = Math.round(pixelShift*1000)/1000; if(pixelShift%1 == 0){ int shift = (int)pixelShift; if(shift >= 1){...
public void dragPlot(SeismogramShapeIterator iterator){ iterator.copyBasicInfo(currentIterator); double shiftPercentage = getShiftPercentage(currentIterator.getTime(), iterator.getTime()); double pixelShift = currentIterator.getSize().width ...
int[] displayPixels = new int[2]; int[] seisPoints = iterator.getSeisPoints(); double pointsPerPixel = iterator.getPointsPerPixel(); int displayWidth = iterator.getSize().width; double seisPointRange = seisPoints[1] - seisPoints[0]; if(seisPoints[0] >= 0){ displayPixels[0] = 0; }else{ displayPixels[0] =(int)Math.floor(...
int[] displayPixels = new int[2]; int[] seisPoints = iterator.getSeisPoints(); double pointsPerPixel = iterator.getPointsPerPixel(); int displayWidth = iterator.getSize().width; double seisPointRange = seisPoints[1] - seisPoints[0]; if(seisPoints[0] >= 0){ displayPixels[0] = 0; }else{ displayPixels[0] =(int)Math.round(...
public int[] getPixels(SeismogramShapeIterator iterator){ int[] displayPixels = new int[2]; int[] seisPoints = iterator.getSeisPoints(); double pointsPerPixel = iterator.getPointsPerPixel(); int displayWidth = iterator.getSize().width; double seisPointRange = seisPoints[1] - seisP...
if (queryAttributes != null) { for (final Iterator attrNames = queryAttributes.iterator(); attrNames.hasNext(); ) { final String attrName = (String)attrNames.next(); this.declareParameter(new SqlParameter(attrName, Types.VARCHAR)); }
for (final Iterator attrNames = queryAttributes.iterator(); attrNames.hasNext(); ) { final String attrName = (String)attrNames.next(); this.declareParameter(new SqlParameter(attrName, Types.VARCHAR));
public PersonAttributeMappingQuery(final DataSource ds, final String sql) { super(ds, sql); //Assume to parameters needed if the query attribute list is null if (queryAttributes != null) { //Configures the SQL parameters, everything is assumed to be VA...
if (columnsToAttributesMap != null) { this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); final Collection userAttributeCol = MultivaluedPersonAttributeUtils.flattenCollection(this.attributeMappings.values()); this.userAttributes = Collections.unmodifiable...
if (columnsToAttributesMap == null) { throw new IllegalArgumentException("columnsToAttributesMap may not be null");
public void setColumnsToAttributes(final Map columnsToAttributesMap) { if (columnsToAttributesMap != null) { this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); final Collection userAttributeCol = MultivaluedPersonAttributeU...
else { this.attributeMappings = null; this.userAttributes = Collections.EMPTY_SET;
this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); if (this.attributeMappings.containsKey("")) { throw new IllegalArgumentException("The map from attribute names to attributes must not have any empty keys.");
public void setColumnsToAttributes(final Map columnsToAttributesMap) { if (columnsToAttributesMap != null) { this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); final Collection userAttributeCol = MultivaluedPersonAttributeU...
final Collection userAttributeCol = MultivaluedPersonAttributeUtils.flattenCollection(this.attributeMappings.values()); this.userAttributes = Collections.unmodifiableSet(new HashSet(userAttributeCol));
public void setColumnsToAttributes(final Map columnsToAttributesMap) { if (columnsToAttributesMap != null) { this.attributeMappings = MultivaluedPersonAttributeUtils.parseAttributeToAttributeMapping(columnsToAttributesMap); final Collection userAttributeCol = MultivaluedPersonAttributeU...
return NATText.atValue(javaValue + other.asNativeText().javaValue);
return NATText.atValue(javaValue + (other.isNativeText() ? other.asNativeText().javaValue : other.meta_print().javaValue));
public ATText base__oppls_(ATObject other) throws InterpreterException { return NATText.atValue(javaValue + other.asNativeText().javaValue); }
cce.setDisplayError(properties.get(PROPERTY_ACTION_CODE_TEXT).toString()); cce.setErrorMessage(properties.get(PROPERTY_ERROR_TEXT).toString()); cce.setErrorNumber(properties.get(PROPERTY_ERROR_CODE).toString());
try { cce.setDisplayError(properties.get(PROPERTY_ACTION_CODE_TEXT).toString()); } catch (NullPointerException n) {} try { cce.setErrorMessage(properties.get(PROPERTY_ERROR_TEXT).toString()); } catch (NullPointerException n) {} try { cce.setErrorNumber(properties.get(PROPERTY_ERROR_CODE).toString()); } catch (NullPoint...
private Hashtable getFirstResponse() throws KortathjonustanAuthorizationException { Hashtable properties = null; //System.out.println(" ------ REQUEST ------"); //long lStartTime = System.currentTimeMillis(); try { SSLClient client = getSSLClient(); StringBuffer strPostData = new StringBuffer(); appendProper...
if (properties.contains(PROPERTY_AMOUNT))
if (properties.containsKey(PROPERTY_AMOUNT))
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
if (properties.contains(PROPERTY_APPROVAL_CODE))
if (properties.containsKey(PROPERTY_APPROVAL_CODE))
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
if (properties.contains(PROPERTY_CARD_BRAND_NAME)) auth.setBrandName(null); if (properties.contains(PROPERTY_CC_EXPIRE))
if (properties.containsKey(PROPERTY_CARD_BRAND_NAME)) auth.setBrandName(properties.get(PROPERTY_CARD_BRAND_NAME).toString()); if (properties.containsKey(PROPERTY_CC_EXPIRE))
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
if (properties.contains(PROPERTY_CURRENCY_CODE))
if (properties.containsKey(PROPERTY_CURRENCY_CODE))
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
if (properties.contains(PROPERTY_ERROR_CODE))
if (properties.containsKey(PROPERTY_ERROR_CODE))
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
if (properties.contains(PROPERTY_ERROR_TEXT))
if (properties.containsKey(PROPERTY_ERROR_TEXT))
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
if (properties.contains(PROPERTY_TOTAL_RESPONSE))
if (properties.containsKey(PROPERTY_TOTAL_RESPONSE))
private void storeAuthorizationEntry(String encodedCardnumber, Object parentDataPK, Hashtable properties, String authorizationType) throws IDOLookupException, CreateException { KortathjonustanAuthorisationEntriesHome authHome = (KortathjonustanAuthorisationEntriesHome) IDOLookup.getHome(KortathjonustanAuthorisationEn...
ATAbstractGrammar body = code.getMethod().getBody();
ATAbstractGrammar body = code.getMethod().getBodyExpression();
public ATObject base_unittest_(ATClosure code) throws NATException { OBJUnit clone = new OBJUnit(); NATObject extension = new NATObject( /* dynamic parent */ clone, /* lexical parent */ code.getContext().getLexicalScope(), /* parent pointer type */ NATObject._SHARES_A_); clone.ctx_ = new NATCont...
Map dataStreamToSampleRate = new HashMap(); for(int i = 1; i < 7; i++) { if(props.containsKey(DATA_STREAM + i)) { dataStreamToSampleRate.put(new Integer(i - 1), new Integer(pp.getInt(DATA_STREAM + i))); } }
public static RT130ToLocalSeismogram create(Properties props) throws FileNotFoundException, IOException { PropParser pp = new PropParser(props); NCFile ncFile = new NCFile(pp.getPath(NCFile.NC_FILE_LOC)); logger.debug("NC file location: " + ncFile.getCanonicalPath()); String x...
return new RT130ToLocalSeismogram(ncFile, stationLocations, dataStreamToSampleRate, attr);
NCReader reader = new NCReader(attr, stationLocations); reader.load(new FileInputStream(pp.getPath(NCFile.NC_FILE_LOC))); Map dataStreamToSampleRate = makeDataStreamToSampleRate(props, pp); return new RT130ToLocalSeismogram(new DASChannelCreator(attr, null, reader.getSites()), dataStreamToSampleRate);
public static RT130ToLocalSeismogram create(Properties props) throws FileNotFoundException, IOException { PropParser pp = new PropParser(props); NCFile ncFile = new NCFile(pp.getPath(NCFile.NC_FILE_LOC)); logger.debug("NC file location: " + ncFile.getCanonicalPath()); String x...
private Channel createChannel(PacketType seismogramData, Sampling sampling) { String stationCode = ncFile.getUnitName(seismogramData.begin_time_from_first_data_file, seismogramData.unitIdNumber); Time networkBeginTime = ncFile.network_begin_time.getFissuresTime(); Time channelBeginTime = seismogramData.begin_time_from_...
private Channel[] createChannel(PacketType seismogramData, Sampling sampling) { return chanCreator.create(seismogramData.unitIdNumber, seismogramData.begin_time_of_seismogram, "" + seismogramData.data_stream_number, seismogramData.sample_rate);
private Channel createChannel(PacketType seismogramData, Sampling sampling) { String stationCode = ncFile.getUnitName(seismogramData.begin_time_from_first_data_file, seismogramData.unitIdNumber); Time networkBeginTime = ncFile.network_begin_time.getFissur...
Iterator iterator = designFolder.getChildren(); while (iterator.hasNext()) { ICTreeNode node = (ICTreeNode) iterator.next(); existingNames.add(node.getNodeName());
Iterator iterator = designFolder.getChildren(); if (iterator != null) { while (iterator.hasNext()) { ICTreeNode node = (ICTreeNode) iterator.next(); existingNames.add(node.getNodeName()); }
private String checkName(ICFile designFolder, String name) { if (name == null || name.length() == 0) { name = DEFAULT_NAME; } Collection existingNames = null; if(designFolder!=null){ existingNames = new ArrayList(); Iterator iterator = designFolder.getChildren(); while (iterator.hasNext()) { ICTreeNode ...
System.out.println("result = " + result);
public void testWrite() throws Exception { System.out.println("write"); Idea idea = new Idea("R&D"); Idea subIdea0WithQuotes = new Idea("\"Idea\""); idea.add(subIdea0WithQuotes); Idea subIdea1 = new Idea("Test"); idea.add(subIdea1); ByteArrayOutputStr...
System.out.println("expected = " + expected); System.out.println("result = " + result);
public void testWrite() throws Exception { System.out.println("write"); Idea idea = new Idea("R&D"); Idea subIdea0WithQuotes = new Idea("\"Idea\""); idea.add(subIdea0WithQuotes); Idea subIdea1 = new Idea("Test"); idea.add(subIdea1); ByteArrayOutputStr...
networkList.getModel().getSize());
networkList.getModel().getSize()-1);
public void run() { setProgressOwner(this); CacheNetworkAccess cache; logger.debug("Before networks"); if(configuredNetworks == null || configuredNetworks.length == 0) { NetworkAccess[] nets = netdc.a_finder().retrieve_all(); netDCToNetMap.put(netdc, nets); setProgressMax(this, nets.length+1);...
networkList.getModel().getSize());
networkList.getModel().getSize()-1);
public void run() { networkList.getSelectionModel().setSelectionInterval(0, networkList.getModel().getSize()); }
NetworkAccess[] nets = getSelectedNetworks();
public void run() { setProgressOwner(this); setProgressMax(this, 100); NetworkAccess[] nets = getSelectedNetworks(); logger.debug("There are "+nets.length+" selected networks."); try { synchronized (ChannelChooser.this) { if (this.equals(getStationLoader())) { clearStationsFromThread(); ...
StationLoader t = new StationLoader();
NetworkAccess[] selected = getSelectedNetworks(); StationLoader t = new StationLoader(selected);
public void initFrame(){ // setSize(new java.awt.Dimension (mywidth, myheight)); //setPreferredSize(new java.awt.Dimension (mywidth, myheight)); setLayout(new GridBagLayout()); gbc = new GridBagConstraints(); gbc.fill = gbc.BOTH; gbc.weightx = 1.0; gbc.weighty = 0...
StationLoader t = new StationLoader();
NetworkAccess[] selected = getSelectedNetworks(); StationLoader t = new StationLoader(selected);
public void valueChanged(ListSelectionEvent e) { if(e.getValueIsAdjusting()){ return; } StationLoader t = new StationLoader(); setStationLoader(t); t.start(); }
public DataBlockette(int size) { this.info = new byte[size]; System.arraycopy(Utility.intToByteArray(getType()), 2, info, 0, 2);
public DataBlockette(byte[] info) { this.info = info;
public DataBlockette(int size) { this.info = new byte[size]; System.arraycopy(Utility.intToByteArray(getType()), 2, info, 0, 2); }
public LocalSeismogram[] retrieve_seismograms(boolean verbose){ try { LocalSeismogram[] seis = seisDC.retrieve_seismograms(createRF()); if(verbose){ logger.info("Got "+seis.length+" seismograms."); for (int i = 0; i < seis.length; i++) { logger.info("Seismogram "+i+" has "+seis[i].num_points+ " points and starts at "+s...
public LocalSeismogram[] retrieve_seismograms(){ return retrieve_seismograms(false);
public LocalSeismogram[] retrieve_seismograms(boolean verbose){ try { LocalSeismogram[] seis = seisDC.retrieve_seismograms(createRF()); if(verbose){ logger.info("Got "+seis.length+" seismograms."); for (int i = 0; i < seis.length; i++) { ...
int length = requestContextPath.length() + requestServletPath.length();
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
String uriWithoutContextAndServlet = uri.substring(length);
String uriStripped = null; int stripLength=0; if(viewId.startsWith(requestServletPath)){ stripLength = requestContextPath.length(); } else{ stripLength = requestContextPath.length() + requestServletPath.length(); } uriStripped= uri.substring(stripLength);
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
if (uriWithoutContextAndServlet.endsWith("/")) { uriWithoutContextAndServlet = uriWithoutContextAndServlet.substring(0, uriWithoutContextAndServlet.length() - 1);
if (uriStripped.endsWith("/")) { uriStripped = uriStripped.substring(0, uriStripped.length() - 1);
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
return uriWithoutContextAndServlet.equals(viewId);
return uriStripped.equals(viewId);
private boolean nodeCorrespondsToViewId(ViewNode node, String viewId, FacesContext context) { // does the viewId correspond to the node? String requestServletPath = context.getExternalContext().getRequestServletPath(); String requestContextPath = context.getExternalContext().getRequestContextPath(); // count the l...
getUserAuth().removeCalendar(null, val);
if (pars.getPublicAdmin()) { getUserAuth().removeCalendar(null, val); }
public int deleteCalendar(BwCalendar val) throws CalFacadeException { /** Only allow delete if not in use */ if (getCal().checkCalendarRefs(val)) { return 2; } /* Remove from preferences */ getUserAuth().removeCalendar(null, val); /* Attempt to delete */ if (getCal().deleteCalendar(v...
if (!val.getCalendarCollection()) { if (pars.getPublicAdmin()) { getUserAuth().removeCalendar(null, val); } }
public void updateCalendar(BwCalendar val) throws CalFacadeException { getCal().updateCalendar(val); }
int currentMode, boolean ignoreCreator, boolean debug)
int currentMode, boolean debug)
public Calendars(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootP...
super(cal, access, currentMode, ignoreCreator, debug);
super(cal, access, currentMode, debug);
public Calendars(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootP...
org.setOwner(ev.getOwner()); org.setPublick(ev.getPublick());
public static BwOrganizer getOrganizer(Organizer orgProp, BwEvent ev) throws Throwable { BwOrganizer org = new BwOrganizer(); org.setOrganizerUri(orgProp.getValue()); ParameterList pars = orgProp.getParameters(); org.setCn(IcalUtil.getOptStr(pars, "CN")); org.setDir(getOptStr(pars, "DIR")); ...
current.add3CSelection(creator);
current.addSelection(creator);
private void addGroupedSelection(Selection creator, VerticalSeismogramDisplay reaper){ DataSetSeismogram[] creatorSeismos = creator.getSeismograms(); DataSetSeismogram[][] componentSorted = DisplayUtils.getComponents(creatorSeismos, "." + creator.getColor()); Arrival[] parentArrivals = creator.getParent().getArriva...
((BasicSeismogramDisplay)e.next()).clear3CSelections();
((BasicSeismogramDisplay)e.next()).clearThreeCSelections();
public void remove3CSelectionDisplay(){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clear3CSelections(); } if(threeSelectionWindow != null){ threeSelectionWindow.dispose(); threeSelectionWindow = null; threeSelectionDisplay.removeAll(); threeSele...
if (getPath() == null) { return 1; }
public int hashCode() { return getPath().hashCode(); }
canvas.draw(new Rectangle(100, 100));
public void draw(Graphics2D canvas, Dimension size, TimeEvent currentTime, AmpEvent currentAmp){ if(visible && size.width > 0 && size.height > 0){ canvas.setPaint(color); shape.update(currentTime.getTime(shape.getSeismogram()),...
while(!c.equals(Object.class)) {
if (c.isInterface()) { interfaces.add(c); } while( c != null && !c.equals(Object.class) ) {
public static Class[] getAllInterfaces(Class c) { List interfaces = new ArrayList(); while(!c.equals(Object.class)) { interfaces.addAll(Arrays.asList(c.getInterfaces())); c = c.getSuperclass(); } return (Class[])interfaces.toArray(new Class[0]); }
if(size.height == 0)
if(size.height <= 0 || size.width <= 0){ numLeft = requests.size();
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
Image currentImage = currentPatron.createImage(size.width, size.height); Graphics2D graphic = (Graphics2D)currentImage.getGraphics();
} synchronized(this){ if(requests.contains(currentPatron)){ currentImage = currentPatron.createImage(size.width, size.height); graphic = (Graphics2D)currentImage.getGraphics(); }else{ numLeft = requests.size(); break; } }
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
synchronized(currentPatron){
synchronized(this){
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
currentPatron.getTimeConfig().getTimeRange().getInterval().getValue()){
currentPatron.getTimeConfig().getTimeRange().getInterval().getValue() && requests.contains(currentPatron)){
public void run(){ PlotInfo currentRequirements; BasicSeismogramDisplay.ImagePainter currentPatron; int numLeft; numLeft = requests.size(); while(numLeft > 0){ synchronized(this){ currentPatron = ((BasicSeismogramDisplay.ImagePainter)requests.getFirst()); currentRequirements = ((PlotInfo)patrons.get(current...
public void remove(MouseEvent me);
public void remove();
public void remove(MouseEvent me);
lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField(AGSymbol.alloc("symbol"), symbol); lexicalRoot.meta_defineField(AGSymbol.alloc("true"), True); lexicalR...
lexicalRoot.meta_defineField(AGSymbol.jAlloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.jAlloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.jAlloc("echo:"), echo_); lexicalRoot.meta_defineField(AGSymbol.jAlloc("symbol"), symbol); lexicalRoot.meta_defineField(AGSymbol.jAlloc("true"), True); lex...
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
lexicalRoot.meta_defineField(AGSymbol.alloc("symIfTrue"), AGSymbol.alloc("ifTrue:"));
lexicalRoot.meta_defineField(AGSymbol.jAlloc("symIfTrue"), AGSymbol.jAlloc("ifTrue:"));
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
mirrors.meta_defineField(AGSymbol.alloc("Factory"), NATMirrorFactory._INSTANCE_);
mirrors.meta_defineField(AGSymbol.jAlloc("Factory"), NATMirrorFactory._INSTANCE_);
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
natives.meta_defineField(AGSymbol.alloc("Context"), NATMirrorFactory._INSTANCE_);
natives.meta_defineField(AGSymbol.jAlloc("Context"), NATMirrorFactory._INSTANCE_);
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
at.meta_defineField(AGSymbol.alloc("mirrors"), mirrors); at.meta_defineField(AGSymbol.alloc("natives"), natives);
at.meta_defineField(AGSymbol.jAlloc("mirrors"), mirrors); at.meta_defineField(AGSymbol.jAlloc("natives"), natives);
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
lexicalRoot.meta_defineField(AGSymbol.alloc("at"), at); lexicalRoot.meta_defineField(AGSymbol.alloc("root"), lexicalRoot);
lexicalRoot.meta_defineField(AGSymbol.jAlloc("at"), at); lexicalRoot.meta_defineField(AGSymbol.jAlloc("root"), lexicalRoot);
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
lexicalRoot.meta_defineField(AGSymbol.alloc("unittest:"), unittest_);
lexicalRoot.meta_defineField(AGSymbol.jAlloc("unittest:"), unittest_);
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
lexicalRoot.meta_defineField(AGSymbol.alloc("unit"), OBJUnit._INSTANCE_);
lexicalRoot.meta_defineField(AGSymbol.jAlloc("unit"), OBJUnit._INSTANCE_);
protected void setUp() throws Exception { lexicalRoot = new NATObject(OBJLexicalRoot._INSTANCE_); lexicalRoot.meta_defineField(AGSymbol.alloc("success"), success); lexicalRoot.meta_defineField(AGSymbol.alloc("fail"), fail); lexicalRoot.meta_defineField(AGSymbol.alloc("echo:"), echo_); lexicalRoot.meta_defineField...
threeSelectionDisplay.parent = null; threeSelectionDisplay.removeAll();
public void remove3CSelectionDisplay(){ if(threeSelectionDisplay != null){ Iterator e = basicDisplays.iterator(); while(e.hasNext()){ ((BasicSeismogramDisplay)e.next()).clear3CSelections(); } threeSelectionWindow.dispose(); //selectionDisplays -= threeSelectionWindow.getSize().height; three...
}else{
}else if(display != null){
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ removeSelectionDisplay(); }else{ remove3CSelectionDisplay(); } }
semanticHint = UMLVisualIDRegistry.getType(org.eclipse.uml2.diagram.profile.edit.parts.StereotypeAttributesEditPart.VISUAL_ID);
semanticHint = UMLVisualIDRegistry.getType(StereotypeAttributesEditPart.VISUAL_ID);
protected void decorateView(View containerView, View view, IAdaptable semanticAdapter, String semanticHint, int index, boolean persisted) { if (semanticHint == null) { semanticHint = UMLVisualIDRegistry.getType(org.eclipse.uml2.diagram.profile.edit.parts.StereotypeAttributesEditPart.VISUAL_ID); view.setType(seman...
if((selectionDisplays + 1) * 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 1) * 220);
if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220));
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 220); JToolBar infoBar = new JToolBar...
selectionDisplays++;
selectionDisplays += 220;
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 220); JToolBar infoBar = new JToolBar...
if(selectionDisplay == null){ logger.debug("creating selection display");
if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display");
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
threeSelectionWindow.setSize(400, 220); JToolBar infoBar = new JToolBar(); infoBar.add(new FilterSelection(selectionDisplay)); infoBar.setFloatable(false); threeSelectionWindow.getContentPane().add(infoBar, BorderLayout.SOUTH);
threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder);
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
ChannelId[] channelIds = dataSet.getChannelIds(); ChannelGrouperImpl channelProxy = new ChannelGrouperImpl(); ChannelId[] channelGroup = channelProxy.retrieve_grouping(channelIds, ((LocalSeismogramImpl)first.getSeismogram()).getChannelID()); LocalSeismogram[] seismograms = new LocalSeismogram[3]; selectionDisplay = new...
creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor()));
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0);
threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0);
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
threeSelectionWindow.getContentPane().add(selectionDisplay);
threeSelectionWindow.getContentPane().add(threeSelectionDisplay);
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
if((selectionDisplays + 1) * 220 < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 1) * 220);
if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400));
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
selectionDisplays++;
selectionDisplays+= 400;
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor()));
creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor()));
public void createThreeSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); threeSelectionWindow = new JFrame(); //threeSelectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); threeSelectionWindow.setSize(400, 220); JToolBar in...
eqSelectionChanged(new EQSelectionEvent(this, new EventAccessOperations[]{(EventAccessOperations)selectedEvents.get(0)}));
if(selectedEvents.size() > 0){ eqSelectionChanged(new EQSelectionEvent(this, new EventAccessOperations[]{(EventAccessOperations)selectedEvents.get(0)})); }
public EventLayer(EventTableModel tableModel, ListSelectionModel lsm, MapBean mapBean){ this.tableModel = tableModel; selectionModel = lsm; tableModel.addEventDataListener(this); eventDataChanged(new EQDataEvent(this, tableModel.getAllEvents())); selectionModel.addListSelectionListener(new ListSelectionListene...
eqSelectionChanged(new EQSelectionEvent(this, new EventAccessOperations[]{(EventAccessOperations)selectedEvents.get(0)}));
if(selectedEvents.size() > 0){ eqSelectionChanged(new EQSelectionEvent(this, new EventAccessOperations[]{(EventAccessOperations)selectedEvents.get(0)})); }
public void valueChanged(ListSelectionEvent e) { List selectedEvents = new ArrayList(); EventAccessOperations[] allEvents = getTableModel().getAllEvents(); for (int i = 0; i < allEvents.length; i++) { if (selectionModel.isSelectedIndex(i)){ selectedEvents.add(allEvents[i]); } ...
sess.flush();
public void endTransaction() throws CalFacadeException { checkOpen(); if (debug) { log.debug("End transaction for " + objTimestamp); } /* Update the lastmods for any changed users * / Iterator it = personalModified.iterator(); while (it.hasNext()) { BwUser u = (BwUser)it.next(); }*/...
sess.flush();
public void refreshEvents() throws CalFacadeException { checkOpen(); sess.flush(); }
Element nameE = doc.createElement("name"); nameE.setNodeValue(name); localSeismogram.appendChild(nameE);
Element propertyElement = doc.createElement("property"); propertyElement.appendChild(XMLUtil.createTextElement(doc, "name", "Name")); propertyElement.appendChild(XMLUtil.createTextElement(doc, "value", name)); localSeismogram.appendChild(propertyElement);
public void addSeismogram(LocalSeismogramImpl seis, AuditInfo[] audit) { seismogramNameCache = null; // Note this does not set the xlink, as the seis has not been saved anywhere yet. Document doc = config.getOwnerDocument(); Element localSeismogram = doc.createEleme...
Element propertyElement = doc.createElement("property"); propertyElement.appendChild(XMLUtil.createTextElement(doc, "name", "Name")); propertyElement.appendChild(XMLUtil.createTextElement(doc, "value", name)); localSeismogram.appendChild(propertyElement);
public void addSeismogramRef(LocalSeismogramImpl seis, URL seisURL, String name, Property[] props, ParameterRef[] parm_ids, AuditInfo[] audit) { seismogramNameCache = null; S...
Timestamp timeStamp = new Timestamp(time.getYear(), time.getMonth(), time.getDay(), time.getHour(), time.getMinute(), time.getSecond(), time.getNanosec());
GregorianCalendar gc = new GregorianCalendar((int)time.getYear(), (int)time.getMonth() - 1, (int)time.getDay(), (int)time.getHour(), (int)time.getMinute(), (int)time.getSecond()); Timestamp timeStamp = new Timestamp(gc.getTimeInMillis()); timeStamp.setNanos(time.getNanosec());
public static MicroSecondDate microSecondDateFromPSN(PSNDateTime time){ Timestamp timeStamp = new Timestamp(time.getYear(), time.getMonth(), time.getDay(), time.getHour(), ...
" ( begin ( select ( send ( send (symbol object) ( apply (symbol no) ) ) ( apply (symbol demeter) ) ) (symbol law) ) )");
" ( begin ( select ( send ( send (symbol object) ( apply (symbol no) (table)) ) ( apply (symbol demeter) (table) ) ) (symbol law) ) )");
public void testMessageSending() { testParse( "object.no().demeter().law", " ( begin ( select ( send ( send (symbol object) ( apply (symbol no) ) ) ( apply (symbol demeter) ) ) (symbol law) ) )"); testParse( "object.keyworded: message send: test", " ( begin ( send (symbol object) ( appl...
"(begin (define-method (apply (symbol getX)) (begin (symbol x)))" + "(define-method (apply (symbol getY)) (begin (symbol y)))" +
"(begin (define-method (apply (symbol getX) (table)) (begin (symbol x)))" + "(define-method (apply (symbol getY) (table)) (begin (symbol y)))" +
public void testPointDefinition() { testParse( "def point := object: { x, y | \n" + " def getX() { x }; \n" + " def getY() { y }; \n" + " def withX: anX Y: aY { \n" + " x := anX; \n" + " y := anY \n" + " } \n" + "} \n", "(begin" + "(define-field (symbol point)" + ...
meta_assignField( AGSymbol.alloc("mirage_"), newReflectee); return newReflectee; } }); mirageMaker.meta_defineField( AGSymbol.alloc("extend"), new JavaClosure(this) { public ATObject meta_apply(ATClosure code) throws NATException { ATObject mirage = meta_lookup( AGSymbol.alloc("mirage_")); ATObject extension = new N...
public ATObject base_mirror_(ATClosure code) throws NATException { final ATObject mirageMaker = new NATObject(code.getContext().getLexicalScope(), NATMirror._PROTOTYPE_, NATObject._SHARES_A_); final ATObject customMirror = mirageMaker.meta_extend(code); mirageMaker.meta_defineField( AGSymbol.alloc("newInstance")...
meta_assignField( AGSymbol.alloc("mirage_"), newReflectee);
public ATObject meta_apply(ATTable initargs) throws NATException { ATObject newReflectee = NATMirageFactory.createMirage(customMirror); newReflectee.meta_invoke(newReflectee, Evaluator._INIT_, initargs); return newReflectee; }
code.getMethod().getBody().meta_eval(new NATContext(newObject, newObject, NATNil._INSTANCE_));
code.getMethod().getBodyExpression().meta_eval(new NATContext(newObject, newObject, NATNil._INSTANCE_));
public ATObject base_object_(ATClosure code) throws NATException { NATObject newObject = new NATObject(code.getContext().getLexicalScope()); code.getMethod().getBody().meta_eval(new NATContext(newObject, newObject, NATNil._INSTANCE_)); return newObject; }
dataSetSeismogram[subcounter], timeConfigRegistrar, hAmpConfigRegistrar, vAmpConfigRegistrar, selectionColors[particleMotionDisplay.getView().getSelectedParticleMotion().length % selectionColors.length], getOrientationName(channelGroup[counter].channel_code)+"-"+ getOrientationName(channelGroup[subcounter].channel_code...
dataSetSeismogram[subcounter], timeConfigRegistrar, hAmpConfigRegistrar, vAmpConfigRegistrar, displayColor, getOrientationName(channelGroup[counter].channel_code)+"-"+ getOrientationName(channelGroup[subcounter].channel_code), horizPlane);
public void execute() { if(dataSetSeismogram.length == 1) { dataSetSeismogram = retrieve_seismograms(); } else { channelGroup = new ChannelId[dataSetSeismogram.length]; for(int counter = 0; counter < dataSetSeismogram.length; counter++) { channelGroup[counter] = dataSetSeismogram[counter].getSeismogram...
form.getMsg().emit("org.bedework.client.message.location.alreadyexists");
form.getErr().emit("org.bedework.client.error.location.alreadyexists");
public String doAction(HttpServletRequest request, BwSession sess, PEActionForm form) throws Throwable { /** Check access */ if (!form.getAuthorisedUser()) { return "noAccess"; } String reqpar = request.getParameter("delete"); if (reqpar != null)...
log.debug("Begin transaction for " + objTimestamp);
debug("Begin transaction for " + objTimestamp);
public void beginTransaction() throws CalFacadeException { checkOpen();// sess.close(); if (debug) { log.debug("Begin transaction for " + objTimestamp); } sess.beginTransaction(); }
log.debug("Close for " + objTimestamp + " closed session");
debug("Close for " + objTimestamp + " closed session");
public synchronized void close() throws CalFacadeException { if (!isOpen) { if (debug) { log.debug("Close for " + objTimestamp + " closed session"); } return; } if (debug) { log.debug("Close for " + objTimestamp); } try { if (sess != null) { if (sess.transactionSt...
log.debug("Close for " + objTimestamp);
debug("Close for " + objTimestamp);
public synchronized void close() throws CalFacadeException { if (!isOpen) { if (debug) { log.debug("Close for " + objTimestamp + " closed session"); } return; } if (debug) { log.debug("Close for " + objTimestamp); } try { if (sess != null) { if (sess.transactionSt...
log.debug("End transaction for " + objTimestamp);
debug("End transaction for " + objTimestamp);
public void endTransaction() throws CalFacadeException { checkOpen(); if (debug) { log.debug("End transaction for " + objTimestamp); } /* Update the lastmods for any changed users * / Iterator it = personalModified.iterator(); while (it.hasNext()) { BwUser u = (BwUser)it.next(); }*/...
log.debug("flushAll for " + objTimestamp);
debug("flushAll for " + objTimestamp);
public void flushAll() throws CalFacadeException { if (debug) { log.debug("flushAll for " + objTimestamp); } if (sess == null) { return; } try { if (sess.isOpen()) { sess.reconnect(); // for close sess.close(); } } finally { isOpen = false; sess = null; } }
public BwUser getUser() throws CalFacadeException { return user;
public BwUser getUser(int id) throws CalFacadeException { checkOpen(); StringBuffer q = new StringBuffer(); q.append("from "); q.append(BwUser.class.getName()); q.append(" as u where u.userid = :userid"); sess.createQuery(q.toString()); sess.setInt("userid", id); return (BwUser)sess.getUnique();
public BwUser getUser() throws CalFacadeException { return user; }
public boolean init(String authenticatedUser,
public boolean init(String url, String authenticatedUser,
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated = false; B...
this.debug = debug;
super.init(url, authenticatedUser, user, publicAdmin, groups, synchId, debug);
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated = false; B...
objTimestamp = new Timestamp(System.currentTimeMillis()); this.synchId = synchId; log = Logger.getLogger(getClass());
public boolean init(String authenticatedUser, String user, boolean publicAdmin, Groups groups, String synchId, boolean debug) throws CalFacadeException { this.debug = debug; boolean userCreated = false; B...
private void logon(BwUser val) throws CalFacadeException {
public void logon(BwUser val) throws CalFacadeException {
private void logon(BwUser val) throws CalFacadeException { checkOpen(); Timestamp now = new Timestamp(System.currentTimeMillis()); val.setLogon(now); val.setLastAccess(now); sess.update(val); }
log.debug("New hibernate session for " + objTimestamp);
debug("New hibernate session for " + objTimestamp);
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); } else ...
sess = new HibSession(sessFactory, log);
sess = new HibSession(sessFactory, getLogger());
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); } else ...
log.debug("Reconnect hibernate session for " + objTimestamp);
debug("Reconnect hibernate session for " + objTimestamp);
public synchronized void open() throws CalFacadeException { if (isOpen) { throw new CalFacadeException("Already open"); } isOpen = true; if (sess == null) { if (debug) { log.debug("New hibernate session for " + objTimestamp); } sess = new HibSession(sessFactory, log); } else ...
public void updateUser() throws CalFacadeException { updateUser(getUser());
public void updateUser(BwUser user) throws CalFacadeException { checkOpen(); sess.update(user);
public void updateUser() throws CalFacadeException { updateUser(getUser()); }
return getMSLWrapper(new CreateOutputPin_3006Command(req));
return getMSLWrapper(new OutputPin3CreateCommand(req));
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ...
return getMSLWrapper(new CreateInputPin_3007Command(req));
return getMSLWrapper(new InputPin4CreateCommand(req));
protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.OutputPin_3006 == req.getElementType()) { if (req.getContainmentFeature() == null) { req.setContainmentFeature(UMLPackage.eINSTANCE.getCallAction_Result()); } return getMSLWrapper(new CreateOutputPin_3006Command(req)); } if ...