Changeset 295:4383359e363e in finroc_tools_finstruct-java


Ignore:
Timestamp:
04.01.2022 14:36:55 (5 months ago)
Author:
Max Reichardt <max.reichardt@…>
Branch:
default
Phase:
public
Tags:
tip
Message:

Makes connect option dialog always show conversion operations when connecting port composite interfaces (allows for customizations - even when interface types match)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dialogs/CreateConnectorOptionsDialog.java

    r279 r295  
    5656import org.rrlib.serialization.Serialization; 
    5757import org.rrlib.serialization.StringInputStream; 
     58import org.rrlib.serialization.rtti.DataTypeBase; 
    5859import org.rrlib.serialization.rtti.GenericObject; 
    5960 
     
    103104                tcpConnectors |= tcpConnector; 
    104105 
    105                 if (type1 == type2 && (!tcpConnector)) { 
     106                if (type1 == type2 && (!tcpConnector) && type1.getTypeClassification() != DataTypeBase.CLASSIFICATION_PORT_COMPOSITE_INTERFACE) { 
    106107                    if (noConversionBatch == null) { 
    107108                        noConversionBatch = new CreateConnectActionBatch(); 
Note: See TracChangeset for help on using the changeset viewer.