Subversion Repositories svn.mios

Rev

Rev 808 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 808 Rev 850
Line 32... Line 32...
32
    }
32
    }
33
33
34
    public SysexSendReceive newSysexSendReceive() {
34
    public SysexSendReceive newSysexSendReceive() {
35
35
36
        SysexSendReceive sysexSendReceive = new SysexSendReceive(null);
36
        SysexSendReceive sysexSendReceive = new SysexSendReceive(null);
-
 
37
-
 
38
        addSysexSendReceive(sysexSendReceive);
-
 
39
-
 
40
        return sysexSendReceive;
-
 
41
    }
-
 
42
-
 
43
    public void addSysexSendReceive(SysexSendReceive sysexSendReceive) {
37
44
38
        sysexSendReceives.add(sysexSendReceive);
45
        sysexSendReceives.add(sysexSendReceive);
39
46
40
        setChanged();
47
        setChanged();
41
        notifyObservers(sysexSendReceive);
48
        notifyObservers(sysexSendReceive);
42
        clearChanged();
49
        clearChanged();
43
-
 
44
        return sysexSendReceive;
-
 
45
    }
50
    }
46
51
47
    public void removeSysexSendReceive(SysexSendReceive sysexSendReceive) {
52
    public void removeSysexSendReceive(SysexSendReceive sysexSendReceive) {
48
53
49
        sysexSendReceives.remove(sysexSendReceive);
54
        sysexSendReceives.remove(sysexSendReceive);