/[svn]/jsampler/trunk/src/org/jsampler/DefaultSamplerModel.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/DefaultSamplerModel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1736 by iliev, Thu Feb 14 16:52:36 2008 UTC revision 1737 by iliev, Thu May 8 17:26:19 2008 UTC
# Line 81  public class DefaultSamplerModel impleme Line 81  public class DefaultSamplerModel impleme
81                    
82          private final EventListenerList listenerList = new EventListenerList();          private final EventListenerList listenerList = new EventListenerList();
83                    
84            private boolean channelListIsAdjusting = false;
85            
86          private boolean modified = false;          private boolean modified = false;
87                    
88                    
# Line 710  public class DefaultSamplerModel impleme Line 712  public class DefaultSamplerModel impleme
712          }          }
713                    
714          /**          /**
715             * Determines whether there are known upcoming changes to the
716             * channel list, which should be considered as part of a single action.
717             */
718            public synchronized boolean
719            getChannelListIsAdjusting() { return channelListIsAdjusting; }
720            
721            /**
722             * Sets whether the upcoming changes to the
723             * channel list should be considered part of a single action.
724             */
725            public synchronized void
726            setChannelListIsAdjusting(boolean b) {
727                    channelListIsAdjusting = b;
728            }
729            
730            /**
731           * Removes the specified sampler channel.           * Removes the specified sampler channel.
732           * @param channelId The ID of the channel to be removed.           * @param channelId The ID of the channel to be removed.
733           * @return <code>true</code> if the channel is removed successfully, <code>false</code>           * @return <code>true</code> if the channel is removed successfully, <code>false</code>

Legend:
Removed from v.1736  
changed lines
  Added in v.1737

  ViewVC Help
Powered by ViewVC