I saw that in the new extension point org.knime.core.PortType is a color attribute. However regardless of the value I use for this attribute it seems to be ignored. Is there something I'm missing
Okay - I can't get the Serializer part to work.....
I have a bunch of simple ports that extend AbstractSimplePortObject. For example:
public class GoogleApiConnectionPortObject extends AbstractSimplePortObject implements Serializable {
private static final long serialVersionUID = 1L;
AbstractSimplePortObject indicates you don't have to extend methods for serialization:
"Derived classes don't need to provide a static serializer method as required by the interface"
But I can't figure out what to do to make the new Extension point happy. I've tried various options... was expecting maybe something like this would work but just another fail ;)
<portType
name="Google API Connection PortType"
objectClass="com.pg.google.api.connector.data.GoogleApiConnectionPortObject"
objectSerializer="org.knime.core.node.port.AbstractSimplePortObjectSerializer"
specClass="com.pg.google.api.connector.data.GoogleApiConnectionPortObjectSpec">
</portType>
public class GoogleAnalyticsConnectionPortObject extends AbstractSimplePortObject implements Serializable {
private static final long serialVersionUID = 1L;
private GoogleAnalyticsConnectionPortObjectSpec m_spec;
public static final class Serializer extends AbstractSimplePortObjectSerializer<GoogleAnalyticsConnectionPortObject> {}
At the moment I'm trying to create an own Node with an own model output. I get the message that the extension point is not registered. Where I have to write: