{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Incompatible API Changes In INTViewer 4 5 1","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"incompatible-api-changes-in-intviewer-4-5-1","__idx":0},"children":["Incompatible API Changes In INTViewer 4 5 1"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"incompatible-api-changes-in-intviewer-451","__idx":1},"children":["Incompatible API changes in INTViewer 4.5.1"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"a-a-new-iwindow-interface-has-been-added-on-top-of-iviewerwindow","__idx":2},"children":["A/ A new IWindow interface has been added on top of IViewerWindow"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The new com.interactive.intviewerapi.windows.IWindow interface is common to the IViewerWindow interface and the new ICombinedWindow interface. If you were listing all windows of the desktop this way:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"IWindowManager.Factory.getInstance().getViewerWindows()\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You might need to change it to:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"IWindowManager.Factory.getInstance().getWindows()\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Only make this change if you want combined windows to be included, and viewer windows inside combined windows to be excluded."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"b-cominteractiveintviewerapieventswindowevent","__idx":3},"children":["B/ com.interactive.intviewerapi.events.WindowEvent"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Because the com.interactive.intviewerapi.windows.IWindow interface has been added for windows that are not viewer windows, the getWindow() method of the com.interactive.intviewerapi.events.WindowEvent class has been changed from:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"    public IViewerWindow getWindow()\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["to"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"    public IWindow getWindow()\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"c-abstractlayer2d-and-combined-windows","__idx":4},"children":["C/ AbstractLayer2D and Combined windows"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The model limits of an axis layer might be overriden when viewed inside combined windows. If you extend com.interactive.intviewerapi.layers.AbstractLayer2D, make sure to override getRequiredModelLimits when you override getModelLimits. Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"    @Override\n    public cgRect getRequiredModelLimits() {\n        if (refLayer != null) {\n            return ((AbstractLayer2D) refLayer).getRequiredModelLimits();\n        } else {\n            return new cgRect(0, 0, 1, 1);\n        }\n    }\n    @Override\n    public cgRect getModelLimits() {\n        if (refLayer != null) {\n            return refLayer.getModelLimits();\n        } else {\n            return new cgRect(0, 0, 1, 1);\n        }\n    }\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"d-time-slices-are-synchronized-by-default","__idx":5},"children":["D/ Time slices are synchronized by default"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To revert to the INTViewer 4.5 behavior, call IMapSeismicLayer.setSynchronizeTimeSlice(false) after creating a time slice layer."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"ISeismicData data = ...\nIMapWindow window = ...\nIMapSeismicLayer layer = (IMapSeismicLayer) IMapSeismicLayer.factory.createLayer(window, data, new NamedProps(), true);\nlayer.setSynchronizeTimeSlice(false);\nlayer.setTimeSlice(0);\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"e-the-color-maps-files-have-been-changed","__idx":6},"children":["E/ The color maps files have been changed"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["All color maps in the \"ColorMaps\" directory have been changed. Color map files have been added, others have been removed. The casing of some color map files has also been changed."]}]},"headings":[{"value":"Incompatible API Changes In INTViewer 4 5 1","id":"incompatible-api-changes-in-intviewer-4-5-1","depth":1},{"value":"Incompatible API changes in INTViewer 4.5.1","id":"incompatible-api-changes-in-intviewer-451","depth":2},{"value":"A/ A new IWindow interface has been added on top of IViewerWindow","id":"a-a-new-iwindow-interface-has-been-added-on-top-of-iviewerwindow","depth":3},{"value":"B/ com.interactive.intviewerapi.events.WindowEvent","id":"b-cominteractiveintviewerapieventswindowevent","depth":3},{"value":"C/ AbstractLayer2D and Combined windows","id":"c-abstractlayer2d-and-combined-windows","depth":3},{"value":"D/ Time slices are synchronized by default","id":"d-time-slices-are-synchronized-by-default","depth":3},{"value":"E/ The color maps files have been changed","id":"e-the-color-maps-files-have-been-changed","depth":3}],"frontmatter":{"title":"Incompatible API Changes In INTViewer 4 5 1","pageId":"intviewer-platform-and-modules/incompatible-api-changes-in-intviewer-4-5-1","seo":{"title":"Incompatible API Changes In INTViewer 4 5 1"}},"lastModified":"2026-10-22T14:32:05.577Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/intviewer/intviewer-platform-and-modules/incompatible-api-changes-in-intviewer-4-5-1","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}