def windowTitle( self ):
        """
        Returns the window title for this edit based on its filename and \
        modified state.
        
        :return     <str>
        """
        output = os.path.basename(self._filename)
        if ( not output ):
            output = 'New Document'
        
        if ( self.isModified() ):
            output += '*'
        
        return output