Overview of API changes in INTViewer 2019

New API

A/ INTViewer 2019 introduces the ability to perform "decimated transpositions". The com.interactive.intviewerapi.data.seismic.ISeismicData interface has been updated to allow an inspection of the transposition settings. Two methods have been added:

  • public default List<IKeyRange> getDecimatedDataRange(int order)
  • public default boolean isDecimated(int order)

You do not need to update your code if you implement your own seismic data class.


B/ Access to named properties has been simplified. To access one property, instead of

Color color = t.getProperties().getProperty(ILogCurveShape.LINE_COLOR);

use

Color color = t.getProperty(ILogCurveShape.LINE_COLOR);

Similarly, to set one property, instead of:

NamedProps props = new NamedProps();
props.put(ILogCurveShape.LINE_COLOR, color);
t.setProperties(props);

use

t.setProperty(ILogCurveShape.LINE_COLOR, color);

Support for Java 11

Java 11 is supported, both Oracle's and OpenJDK's versions.


NetBeans platform

INTViewer was upgraded to use the platform from Apache NetBeans 11.1.


Incompatibilities with 2018

A/ You might need to update your code when you extend a class and use a protected variable from that class, if this class is in another module. The way the NetBeans 11 platform loads classes with Java 11 prevents access to these protected variables unless all classes involved are in the same package.

B/ indexing tools now perform coordinate conversions. Since indexing can be performed from the command line, the JCarnacGisWrapper module has been split, creating a new CrsConversionWrapper module that is used both by INTViewer and the command line indexing utility. As a result, any plugin depending on the JCarnacGisWrapper module should also depend on the CrsConversionWrapper module.

Use NetBeans 8.1, 8.2 , 9, 10, 11 or 11.1 to create INTViewer plugins.