{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Working With Attribute And Window Shortcut Panels","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":"working-with-attribute-and-window-shortcut-panels","__idx":0},"children":["Working With Attribute And Window Shortcut Panels"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"attributes-shortcut-panels","__idx":1},"children":["Attributes Shortcut Panels"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An API is provided to add attributes shortcut panels. These panels appear on the bottom left of the INTViewer desktop. An example of such panel is shown below:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To add an attributes shortcut panel for a 2D layer, follow these 4 steps:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["create a panel object extending com.interactive.intviewerapi.editors.AbstractVisualAttributesShortcutPanel"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["create an editor object extending com.interactive.intviewerapi.editors.AbstractVisualAttributesShortcutEditor"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["create an adapter object implementing com.interactive.intviewerapi.editors.IAttributesShortcutAdapter"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["reference this adapter in the layer.xml file as \"AttributesShortcut\""]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The role of the panel is to allow the display and input of information,"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The role of the editor is to act as a lightweight controller of the panel being displayed,"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The role of the adapter is to match the selected layer to the appropriate editor."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/intviewer/intviewer-apis-for-dialogs-and-editors/working-with-attribute-and-window-shortcut-panels/sample-attributes-shortcut-panel-implementation"},"children":["sample implementation"]}," is provided for triangle mesh 2D layers. A similar implementation can be done for any IVisual."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"window-shortcut-panels","__idx":2},"children":["Window Shortcut Panels"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The API is virtually identical to add window shortcut panels. These panels appear on the middle left of the INTViewer desktop. An example of such panel is shown below:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To add a window shortcut panel for a 2D window, follow these 4 steps:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["create a panel object extending com.interactive.intviewerapi.editors.AbstractViewerWindowAttributesShortcutPanel"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["create an editor object extending com.interactive.intviewerapi.editors.AbstractViewerWindowAttributesShortcutEditor"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["create an adapter object implementing com.interactive.intviewerapi.editors.IAttributesShortcutAdapter"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["reference this adapter in the layer.xml file as \"WindowShortcut\"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/intviewer/intviewer-apis-for-dialogs-and-editors/working-with-attribute-and-window-shortcut-panels/sample-window-shortcut-panel-implementation"},"children":["sample implementation"]}," is provided for FK windows. A similar implementation can be done for any IViewerWindow."]}]},"headings":[{"value":"Working With Attribute And Window Shortcut Panels","id":"working-with-attribute-and-window-shortcut-panels","depth":1},{"value":"Attributes Shortcut Panels","id":"attributes-shortcut-panels","depth":3},{"value":"Window Shortcut Panels","id":"window-shortcut-panels","depth":3}],"frontmatter":{"title":"Working With Attribute And Window Shortcut Panels","pageId":"intviewer-apis-for-dialogs-and-editors/working-with-attribute-and-window-shortcut-panels","seo":{"title":"Working With Attribute And Window Shortcut Panels"}},"lastModified":"2026-10-22T14:32:05.575Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/intviewer/intviewer-apis-for-dialogs-and-editors/working-with-attribute-and-window-shortcut-panels","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}