public void addContextChangeVetoer( ContextChangeVetoer listener ) { if ( contextChangeVetoers == null ) { contextChangeVetoers = new ContextChangeVetoerCollection(); } contextChangeVetoers.add( listener ); }
/** * Fire all current {@link ContextChangeVetoer}. Every one who has added their self as a vetoer has a change to vote * on what should happen. */ List<TYPE> pollContextChangeVetoResults() { if ( contextChangeVetoers != null ) { return contextChangeVetoers.fireContextChange(); } else { List<TYPE> returnValue = new ArrayList<TYPE>(); returnValue.add( TYPE.NO_OP ); return returnValue; } }
public void removeContextChangeVetoer( ContextChangeVetoer listener ) { if ( contextChangeVetoers != null ) { contextChangeVetoers.remove( listener ); } }
public void addContextChangeVetoer( ContextChangeVetoer listener ) { if ( contextChangeVetoers == null ) { contextChangeVetoers = new ContextChangeVetoerCollection(); } contextChangeVetoers.add( listener ); }
public void removeContextChangeVetoer( ContextChangeVetoer listener ) { if ( contextChangeVetoers != null ) { contextChangeVetoers.remove( listener ); } }
/** * Fire all current {@link ContextChangeVetoer}. Every one who has added their self as a vetoer has a change to vote * on what should happen. */ List<TYPE> pollContextChangeVetoResults() { if ( contextChangeVetoers != null ) { return contextChangeVetoers.fireContextChange(); } else { List<TYPE> returnValue = new ArrayList<TYPE>(); returnValue.add( TYPE.NO_OP ); return returnValue; } }
public void addContextChangeVetoer( ContextChangeVetoer listener ) { if ( contextChangeVetoers == null ) { contextChangeVetoers = new ContextChangeVetoerCollection(); } contextChangeVetoers.add( listener ); }
public void removeContextChangeVetoer( ContextChangeVetoer listener ) { if ( contextChangeVetoers != null ) { contextChangeVetoers.remove( listener ); } }
/** * Fire all current {@link ContextChangeVetoer}. Every one who has added their self as a vetoer has a change to vote * on what should happen. */ List<TYPE> pollContextChangeVetoResults() { if ( contextChangeVetoers != null ) { return contextChangeVetoers.fireContextChange(); } else { List<TYPE> returnValue = new ArrayList<TYPE>(); returnValue.add( TYPE.NO_OP ); return returnValue; } }