Changeset 245:949ec3032049 in finroc_tools_gui-java


Ignore:
Timestamp:
11.08.2014 01:38:31 (6 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
default
Phase:
public
Message:

Adapted to changes in finroc_core-java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WidgetOutput.java

    r220 r245  
    3636import org.finroc.core.port.cc.PortNumeric; 
    3737import org.finroc.core.port.std.PortDataManager; 
    38 import org.finroc.core.portdatabase.UnknownType; 
    39 import org.finroc.core.portdatabase.UnknownTypeListener; 
     38import org.finroc.core.remote.RemoteType; 
    4039 
    4140/** 
     
    168167 
    169168    @SuppressWarnings("rawtypes") 
    170     public static class Custom extends WidgetOutputPort<Port<BinarySerializable>> implements UnknownTypeListener { 
     169    public static class Custom extends WidgetOutputPort<Port<BinarySerializable>> implements RemoteType.Listener { 
    171170 
    172171        /** UID */ 
     
    179178        protected Port createPort() { 
    180179            if (type != null && type.get() == null) { 
    181                 UnknownType.addUnknownTypeListener(this); 
     180                RemoteType.addRemoteTypeListener(this); 
    182181            } 
    183182            return new Port(getPci().derive((type == null || type.get() == null) ? CoreNumber.TYPE : type.get())); 
     
    221220 
    222221        @Override 
    223         public void unknownTypeAdded(UnknownType t) { 
     222        public void remoteTypeAdded(RemoteType t) { 
    224223            if (t == type.get()) { 
    225224                changeDataType(type); 
     
    230229        public void dispose() { 
    231230            super.dispose(); 
    232             UnknownType.removeUnknownTypeListener(this); 
     231            RemoteType.removeUnknownTypeListener(this); 
    233232        } 
    234233    } 
Note: See TracChangeset for help on using the changeset viewer.