bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void testPutTwoDaysGetOne() throws SQLException, IOException { PlottableChunk secondDay = new PlottableChunk(data.getData(), 0, 2, 2000, ...
public void testPutTwoDaysGetOne() throws SQLException, IOException { PlottableChunk secondDay = new PlottableChunk(data.getData(), 0, 2, 2000, ...
1,118,698
public ClassFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0;...
public ClassFigure() { GridLayout layoutThis = new GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0; layoutThis.marginHeight = 0; this.setLayoutManager(layoutThis); this.setF...
1,118,699
public ClassFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0;...
public ClassFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0;...
1,118,700
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { RectangleFigure classFigure_NameContainer0 = new RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContaine...
1,118,701
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,702
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,703
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,704
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,705
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,706
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,707
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,708
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,709
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,710
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,711
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,712
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,713
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,714
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,715
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,716
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,717
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,718
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,719
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutline...
1,118,720
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_ClassesCompartment() { return fClassFigure_ClassesCompartment; }
public RectangleFigure getFigureClassFigure_ClassesCompartment() { return fClassFigure_ClassesCompartment; }
1,118,721
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_LiteralsCompartment() { return fClassFigure_LiteralsCompartment; }
public RectangleFigure getFigureClassFigure_LiteralsCompartment() { return fClassFigure_LiteralsCompartment; }
1,118,722
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_OperationsCompartment() { return fClassFigure_OperationsCompartment; }
public RectangleFigure getFigureClassFigure_OperationsCompartment() { return fClassFigure_OperationsCompartment; }
1,118,723
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_OthersCompartment() { return fClassFigure_OthersCompartment; }
public RectangleFigure getFigureClassFigure_OthersCompartment() { return fClassFigure_OthersCompartment; }
1,118,724
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_PropertiesCompartment() { return fClassFigure_PropertiesCompartment; }
public RectangleFigure getFigureClassFigure_PropertiesCompartment() { return fClassFigure_PropertiesCompartment; }
1,118,725
public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureClassFigure_name() { return fClassFigure_name; }
public WrapLabel getFigureClassFigure_name() { return fClassFigure_name; }
1,118,726
private void setFigureClassFigure_ClassesCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_ClassesCompartment = fig; }
private void setFigureClassFigure_ClassesCompartment(RectangleFigure fig) { fClassFigure_ClassesCompartment = fig; }
1,118,727
private void setFigureClassFigure_LiteralsCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_LiteralsCompartment = fig; }
private void setFigureClassFigure_LiteralsCompartment(RectangleFigure fig) { fClassFigure_LiteralsCompartment = fig; }
1,118,728
private void setFigureClassFigure_OperationsCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_OperationsCompartment = fig; }
private void setFigureClassFigure_OperationsCompartment(RectangleFigure fig) { fClassFigure_OperationsCompartment = fig; }
1,118,729
private void setFigureClassFigure_OthersCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_OthersCompartment = fig; }
private void setFigureClassFigure_OthersCompartment(RectangleFigure fig) { fClassFigure_OthersCompartment = fig; }
1,118,730
private void setFigureClassFigure_PropertiesCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_PropertiesCompartment = fig; }
private void setFigureClassFigure_PropertiesCompartment(RectangleFigure fig) { fClassFigure_PropertiesCompartment = fig; }
1,118,731
private void setFigureClassFigure_name(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { fClassFigure_name = fig; }
private void setFigureClassFigure_name(WrapLabel fig) { fClassFigure_name = fig; }
1,118,732
public void remove(MouseEvent me){ logger.debug(name + " being removed"); Iterator e = plotters.keySet().iterator(); while(e.hasNext()){ LocalSeismogram current = ((SeismogramPlotter)e.next()).getSeismogram(); timeRegistrar.removeSeismogram(current); ampRegistrar.removeSeismogram(current)...
public void remove(MouseEvent me){ logger.debug(name + " being removed"); Iterator e = plotters.keySet().iterator(); while(e.hasNext()){ LocalSeismogram current = ((SeismogramPlotter)e.next()).getSeismogram(); timeRegistrar.removeSeismogram(current); ampRegistrar.removeSeismogram(current)...
1,118,734
public void setSuperUser(boolean val) { superUser = val; }
public void setSuperUser(boolean val) throws CalFacadeException { superUser = val; }
1,118,735
public void update(HashMap seismos, UnitRangeImpl generalRange){ this.generalRange = generalRange; Iterator e = seismos.keySet().iterator(); while(e.hasNext()){ DataSetSeismogram current = (DataSetSeismogram)e.next(); UnitRangeImpl currentUnit = (UnitRangeImpl)seismos.get(current); this.seismoAmpRange.p...
public void update(HashMap seismos, UnitRangeImpl generalRange){ this.generalRange = generalRange; Iterator e = seismos.keySet().iterator(); while(e.hasNext()){ DataSetSeismogram current = (DataSetSeismogram)e.next(); UnitRangeImpl currentUnit = (UnitRangeImpl)seismos.get(current); this.seismoAmpRange.p...
1,118,737
public void back(int n) throws AccessException { if (pos - n < 0) { throw AccessException.badACLRewind(); } pos -= n; }
public void back(int n) throws AccessException { if (pos - n < 0) { throw AccessException.badACLRewind(); } pos -= n; }
1,118,738
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Graphics2D copy = (Graphics2D)g; if (copy != null) { try { Fon...
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Graphics2D copy = (Graphics2D)g; if (copy != null) { try { Fon...
1,118,739
public void setBottomScaleMapper(ScaleMapper scaleMap) { this.bottomScaleMap = scaleMap; bottom = majorTickLength+15; //guess as not sure of what font will be }
public void setBottomScaleMapper(ScaleMapper scaleMap) { this.bottomScaleMap = scaleMap; bottom = 20; //guess as not sure of what font will be }
1,118,740
public void setRightScaleMapper(ScaleMapper scaleMap) { this.rightScaleMap = scaleMap; right = 40; }
public void setRightScaleMapper(ScaleMapper scaleMap) { this.rightScaleMap = scaleMap; right = 50; }
1,118,741
public void playbackCompleted() { if (!random) { playNext(); } else { playRandom(); } }
public void playbackCompleted() { if (!random) { playNext(); } else { playRandom(); } }
1,118,742
public void playbackCompleted() { if (!random) { playNext(); } else { playRandom(); } }
public void playbackCompleted() { if (!random) { playNext(); else { playRandom();
1,118,743
public void playbackStarted() { }
public void playbackStarted() { firePlaybackStarted(player); }
1,118,744
public void playbackStopped() { }
public void playbackStopped() { firePlaybackStopped(player); }
1,118,745
public DataSetSeismogram (LocalSeismogramImpl seismo, DataSet ds){ this.seis = seismo; this.dataSet = ds; }
public DataSetSeismogram (LocalSeismogramImpl seismo, DataSet ds){ this.seis = seismo; this.dataSet = ds; }
1,118,746
public Calendars(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, user, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); ...
public Calendars(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, user, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalenda...
1,118,747
public Calendars(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, user, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); ...
public Calendars(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); user...
1,118,748
public void addCalendar(BwCalendar val, BwCalendar parent) throws CalFacadeException { HibSession sess = getSess(); /* We need write access to the parent */ access.accessible(parent, privWrite, false); /** Is the parent a calendar collection? *//* sess.namedQuery("countCalendarEventRefs"); sess....
public void addCalendar(BwCalendar val, BwCalendar parent) throws CalFacadeException { HibSession sess = getSess(); /* We need write access to the parent */ access.accessible(parent, privWrite, false); /** Is the parent a calendar collection? *//* sess.namedQuery("countCalendarEventRefs"); sess....
1,118,749
public Collection getAddContentCalendarCollections() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", user); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWriteContent, noAccessReturnsNull); ...
public Collection getAddContentCalendarCollections() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", getUser()); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWriteContent, noAccessReturnsNul...
1,118,750
public Collection getCalendarCollections() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", user); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWrite, noAccessReturnsNull); }
public Collection getCalendarCollections() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", getUser()); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWrite, noAccessReturnsNull); }
1,118,751
public BwCalendar getCalendars() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getCalendarByPath"); sess.setString("path", userCalendarRootPath + "/" + user.getAccount()); sess.cacheableQuery(); BwCalendar cal = (BwCalendar)sess.getUnique(); return cloneAndCheckAccess(cal...
public BwCalendar getCalendars() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getCalendarByPath"); sess.setString("path", userCalendarRootPath + "/" + getUser().getAccount()); sess.cacheableQuery(); BwCalendar cal = (BwCalendar)sess.getUnique(); return cloneAndCheckAcces...
1,118,752
public Collection getSubscriptions() throws CalFacadeException { return getPreferences().getSubscriptions(); }
public Collection getSubscriptions() throws CalFacadeException { Collection c = getPreferences().getSubscriptions(); Iterator it = c.iterator(); while (it.hasNext()) { BwSubscription sub = (BwSubscription)it.next(); getSubCalendar(sub); } return c; }
1,118,753
public ViewNode getWorkspaceRoot(){ //ViewNode workspaceNode = getApplicationRoot().getChild("workspace"); if(workspaceNode==null){ DefaultViewNode node = new DefaultViewNode(iwma); node.setViewId("workspace"); //getApplicationRoot().addChildViewNode(node); node.setParent(getApplicationRoot()); node.setJsp...
public ViewNode getWorkspaceRoot(){ //ViewNode workspaceNode = getApplicationRoot().getChild("workspace"); if(workspaceNode==null){ DefaultViewNode node = new DefaultViewNode(iwma); node.setViewId("workspace"); //getApplicationRoot().addChildViewNode(node); node.setParent(getApplicationRoot()); node.setJsp...
1,118,754
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); try { Class applicationClass = Class.forName("com.idega.builder.app.IBApplication"); FramedWindowClassViewNode builderNode = new FramedWindowClassViewNode("builder",getWorkspaceRoot()); builderNode.setWindowClass(applicat...
1,118,755
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
1,118,756
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
1,118,757
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
1,118,758
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
1,118,759
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.id...
1,118,760
public DefaultViewNode(IWMainApplication iwma) { this.setIWMainApplication(iwma); }
public DefaultViewNode(IWMainApplication iwma) { this.setIWMainApplication(iwma); }
1,118,761
public Collection getGroups(BwPrincipal val) throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getAdminGroups"); sess.setInt("entId", val.getId()); /* This is what I want to do but it inserts 'true' or 'false' sess.setBool("isgroup", (val instanceof BwGroup)); */ if (val i...
public Collection getGroups(BwPrincipal val) throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getAdminGroups"); sess.setInt("entId", val.getId()); /* This is what I want to do but it inserts 'true' or 'false' sess.setBool("isgroup", (val instanceof BwGroup)); */ if (val i...
1,118,765
public BasicSeismogramDisplay addDisplay(DataSetSeismogram dss, String name){ return addDisplay(dss, globalTimeRegistrar, name); }
public BasicSeismogramDisplay addDisplay(DataSetSeismogram dss, String name){ return addDisplay(dss, globalTimeRegistrar, globalAmpRegistrar, name); }
1,118,766
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); part...
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); part...
1,118,768
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); part...
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); part...
1,118,769
public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomOut(true); // particleDisplay.setZoomIn(false); }
public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomIn(true); // particleDisplay.setZoomIn(false); }
1,118,770
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, 200); Iterator e = creator.getSeismog...
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.addWindowListener(new WindowAdapter() { public void wi...
1,118,771
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, 200); Iterator e = creator.getSeismog...
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, 200); Iterator e = creator.getSeismog...
1,118,772
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, 200); Iterator e = creator.getSeismog...
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, 200); Iterator e = creator.getSeismog...
1,118,773
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, 200); Iterator e = creator.getSeismog...
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, 200); Iterator e = creator.getSeismog...
1,118,774
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, 200); Iterator e = creator.getSeismog...
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, 200); Iterator e = creator.getSeismog...
1,118,775
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwa...
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwa...
1,118,776
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwa...
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwa...
1,118,777
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwa...
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwa...
1,118,778
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwa...
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwa...
1,118,779
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,118,780
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,118,781
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= 400; threeSelectionDisplay = null; } }
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= selectionWindow.getSize().height; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= 400; threeSelectionDi...
1,118,782
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= 400; threeSelectionDisplay = null; } }
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= threeSelectionWindow.getSize().height; threeSelect...
1,118,783
public void testAcquisition() { try { ATMethod nativeMethod = evalAndReturn("mirrorOn1.grabMethod(`+).base").base_asMethod(); assertEquals(NativeMethod.class, nativeMethod.getClass()); assertEquals(AGSymbol.alloc("+"), nativeMethod.base_getName()); } catch (InterpreterException e) { fail(e.getMessage()); } ...
public void testAcquisition() { try { ATMethod nativeMethod = evalAndReturn("mirrorOn1.grabMethod(`+).base").base_asMethod(); assertEquals(NativeMethod.class, nativeMethod.getClass()); assertEquals(AGSymbol.jAlloc("+"), nativeMethod.base_getName()); } catch (InterpreterException e) { fail(e.getMessage()); }...
1,118,784
public void testSelection() { try { ATObject clo = evalAndReturn("mirrorOn1.select(mirrorOn1.base, `+).base"); assertTrue(clo.base_isClosure()); ATClosure c = clo.base_asClosure(); ATMethod m = c.base_getMethod(); assertEquals(NativeMethod.class, m.getClass()); assertEquals(AGSymbol.alloc("+"), m.base_get...
public void testSelection() { try { ATObject clo = evalAndReturn("mirrorOn1.select(mirrorOn1.base, `+).base"); assertTrue(clo.base_isClosure()); ATClosure c = clo.base_asClosure(); ATMethod m = c.base_getMethod(); assertEquals(NativeMethod.class, m.getClass()); assertEquals(AGSymbol.jAlloc("+"), m.base_ge...
1,118,785
public static int[][] calculatePlottable(LocalSeismogram seismogram, UnitRangeImpl a, MicroSecondTimeRange t, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; double pointsPerPixal =...
public static int[][] calculatePlottable(LocalSeismogram seismogram, UnitRangeImpl a, MicroSecondTimeRange t, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; double pointsPerPixal =...
1,118,786
private void reviewMode() { setMode(MODE_REVIEW); review.loadLogFile("C:/programming/acquire/logs/06.11.18-17.10.46 - 940 - tlstyer (501), Marnie (462), Chumba (446), trump (344).log"); synchronized (this) { while (!leaveReviewModeFlag) { try { wait(); } catch (InterruptedEx...
private void reviewMode() { setMode(MODE_REVIEW); synchronized (this) { while (!leaveReviewModeFlag) { try { wait(); } catch (InterruptedException e) { e.printStackTrace(); } } } leaveReviewModeFlag = false; }
1,118,788
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(m...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(m...
1,118,790
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(m...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(m...
1,118,791
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(m...
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(m...
1,118,792
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventP...
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); ...
1,118,793
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventP...
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventP...
1,118,794
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventP...
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventP...
1,118,795
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventP...
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventP...
1,118,796
public void remove(MouseEvent me){ logger.debug(name + " being removed"); this.stopImageCreation(); parent.removeDisplay(this); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); Iterator e = seismos.iterator(); while(e.hasNext()){ Loc...
public void remove(){ logger.debug(name + " being removed"); this.stopImageCreation(); parent.removeDisplay(this); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); Iterator e = seismos.iterator(); while(e.hasNext()){ LocalSeismogram ...
1,118,797
public void remove(MouseEvent me){ logger.debug(name + " being removed"); this.stopImageCreation(); parent.removeDisplay(this); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); Iterator e = seismos.iterator(); while(e.hasNext()){ Loc...
public void remove(MouseEvent me){ logger.debug(name + " being removed"); this.stopImageCreation(); parent.removeDisplay(this); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); e = seismos.iterator(); while(e.hasNext()){ LocalSeismog...
1,118,798
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionDisplay = new MultiSeismogramWindowDisplay(mouseForwarder, motionForwarder, this); addSelection(creator, selectionDisplay); selectionWindow = new JFrame(tagWindow...
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionDisplay = new MultiSeismogramWindowDisplay(mouseForwarder, motionForwarder, this); addSelection(creator, selectionDisplay); selectionWindow = new JFrame(tagWindow...
1,118,800
public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<comp-filter name=\""); sb.append(name); sb.append("\">"); log.debug(sb.toString()); if (isDefined) { log.debug(indent + " " + "<is-defined/>"); } else if (timeRange != null) { timeRang...
public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<comp-filter name=\""); sb.append(name); sb.append("\">"); log.debug(sb.toString()); if (isDefined) { log.debug(indent + " " + "<is-defined/>"); } else if (timeRange != null) { timeRang...
1,118,802
protected Command getConnectionWithReorientedViewCompleteCommand( CreateConnectionRequest request) { EtoolsProxyCommand c = (EtoolsProxyCommand) super .getConnectionCompleteCommand(request); CompositeCommand cc = (CompositeCommand) c.getICommand(); TransactionalEditingDomain editingDomain = ((IGraphicalEditPar...
protected Command getConnectionWithReorientedViewCompleteCommand( CreateConnectionRequest request) { ICommandProxy c = (ICommandProxy) super .getConnectionCompleteCommand(request); CompositeCommand cc = (CompositeCommand) c.getICommand(); TransactionalEditingDomain editingDomain = ((IGraphicalEditPart) getHost...
1,118,803
public void doMethod(HttpServletRequest req, HttpServletResponse resp) throws WebdavException { if (debug) { trace("GetMethod: doMethod"); } try { WebdavNsNode node = getNsIntf().getNode(getResourceUri(req)); /* Apparently if the node doesn't exist we're supposed to resp...
public void doMethod(HttpServletRequest req, HttpServletResponse resp) throws WebdavException { if (debug) { trace("GetMethod: doMethod"); } try { WebdavNsNode node = getNsIntf().getNode(getResourceUri(req)); /* Apparently if the node doesn't exist we're supposed to resp...
1,118,804
public void mouseClicked(MouseEvent evt) { Dimension size = this.ideaMap.getSize(); Point2D p = new Point2D.Double(evt.getX() - (size.width / 2), evt.getY() - (size.height / 2)); IdeaView hit = this.ideaMap.getRootView().getViewAt(p); if (hit != null) { this.ide...
public void mouseClicked(MouseEvent evt) { Dimension size = this.ideaMap.getSize(); Point2D p = new Point2D.Double(evt.getX() - (size.width / 2), evt.getY() - (size.height / 2)); IdeaView hit = this.ideaMap.getRootView().getViewAt(p); if (hit != null) { this.ide...
1,118,806
public ParticleMotionView (final LocalSeismogramImpl hseis, LocalSeismogramImpl vseis, TimeRangeConfig timeRangeConfig, final AmpRangeConfig hAmpRangeConfig, AmpRangeConfig vAmpRangeConfig, ParticleMotionDisplay particleMotionDisplay){ this.particleMotionDisplay = particleMotio...
public ParticleMotionView (final LocalSeismogramImpl hseis, LocalSeismogramImpl vseis, TimeRangeConfig timeRangeConfig, final AmpRangeConfig hAmpRangeConfig, AmpRangeConfig vAmpRangeConfig, ParticleMotionDisplay particleMotionDisplay){ this.particleMotionDisplay = particleMotio...
1,118,808
public void mouseClicked(MouseEvent me) { //UnitRangeImpl unitRangeImpl = hAmpRangeConfig.getAmpRange(hseis); //double min = unitRangeImpl.getMinValue(); //double max = unitRangeImpl.getMaxValue(); ///Insets insets = getInsets(); //double fmin = getSize().getWidth() - insets.left - insets.ri...
public void mouseClicked(MouseEvent me) { //UnitRangeImpl unitRangeImpl = hAmpRangeConfig.getAmpRange(hseis); //double min = unitRangeImpl.getMinValue(); //double max = unitRangeImpl.getMaxValue(); ///Insets insets = getInsets(); //double fmin = getSize().getWidth() - insets.left - insets.ri...
1,118,809