@Test public void testSetFilename() { final File filename = new File( "." ); this.project.setFilename( filename ); assertEquals( filename, this.project.getFilename() ); assertFalse( this.project.isChanged() ); }
@Override public void setFilename( final File aFilename ) { final File old = this.filename; this.filename = aFilename; this.propertyChangeSupport.firePropertyChange( PROPERTY_FILENAME, old, aFilename ); }
ProjectImpl implements Project, ProjectProperties, PropertyChangeListener { @Override public void setFilename( final File aFilename ) { final File old = this.filename; this.filename = aFilename; this.propertyChangeSupport.firePropertyChange( PROPERTY_FILENAME, old, aFilename ); } }
ProjectImpl implements Project, ProjectProperties, PropertyChangeListener { @Override public void setFilename( final File aFilename ) { final File old = this.filename; this.filename = aFilename; this.propertyChangeSupport.firePropertyChange( PROPERTY_FILENAME, old, aFilename ); } ProjectImpl(); }
ProjectImpl implements Project, ProjectProperties, PropertyChangeListener { @Override public void setFilename( final File aFilename ) { final File old = this.filename; this.filename = aFilename; this.propertyChangeSupport.firePropertyChange( PROPERTY_FILENAME, old, aFilename ); } ProjectImpl(); void addPropertyChangeListener( final PropertyChangeListener aListener ); @Override DataSetImpl getDataSet(); @Override File getFilename(); @Override Date getLastModified(); @Override String getName(); @Override UserSettings getSettings( final String aName ); @Override String getSourceVersion(); @Override boolean isChanged(); @Override void propertyChange( final PropertyChangeEvent aEvent ); @Override final void readData( final Reader aReader ); void removePropertyChangeListener( final PropertyChangeListener aListener ); @Override void setCapturedData( final AcquisitionResult aCapturedData ); @Override void setChanged( final boolean aChanged ); @Override void setFilename( final File aFilename ); @Override void setLastModified( final Date aLastModified ); @Override void setName( final String aName ); @Override void setSettings( final UserSettings aSettings ); @Override void setSourceVersion( final String aSourceVersion ); @Override void visit( final ProjectVisitor aVisitor ); @Override void writeData( final Writer aWriter ); }
ProjectImpl implements Project, ProjectProperties, PropertyChangeListener { @Override public void setFilename( final File aFilename ) { final File old = this.filename; this.filename = aFilename; this.propertyChangeSupport.firePropertyChange( PROPERTY_FILENAME, old, aFilename ); } ProjectImpl(); void addPropertyChangeListener( final PropertyChangeListener aListener ); @Override DataSetImpl getDataSet(); @Override File getFilename(); @Override Date getLastModified(); @Override String getName(); @Override UserSettings getSettings( final String aName ); @Override String getSourceVersion(); @Override boolean isChanged(); @Override void propertyChange( final PropertyChangeEvent aEvent ); @Override final void readData( final Reader aReader ); void removePropertyChangeListener( final PropertyChangeListener aListener ); @Override void setCapturedData( final AcquisitionResult aCapturedData ); @Override void setChanged( final boolean aChanged ); @Override void setFilename( final File aFilename ); @Override void setLastModified( final Date aLastModified ); @Override void setName( final String aName ); @Override void setSettings( final UserSettings aSettings ); @Override void setSourceVersion( final String aSourceVersion ); @Override void visit( final ProjectVisitor aVisitor ); @Override void writeData( final Writer aWriter );  }