mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
internal_ui_inspector.md: add GutterIconRenderer
This commit is contained in:
parent
4ec8507a96
commit
000321b8ce
@ -41,15 +41,16 @@ To find the place were component was added, select the <control>added-at</contro
|
||||
Various components used in the IntelliJ Platform expose additional properties.
|
||||
These can be useful to locate the underlying implementation, related Action, etc.
|
||||
|
||||
| Type | Place | Properties |
|
||||
|----------------------------------------------------------------------------------------------------|--------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [`AnAction`](basic_action_system.md) | Action Button<br/>Menu Item | <control>Action</control> - [`AnAction`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java) implementation<br/><control>Action ID</control> - Action `id`<br/><control>Action Plugin ID</control> - contributing plugin |
|
||||
| [`ActionToolbar`](basic_action_system.md) | Action Toolbar | <control>Toolbar Group</control> - Action Group ID<br/><control>All Toolbar Groups</control> - contained Action Group IDs<br/><control>Target component</control> - `ActionToolbar.setTargetComponent()` |
|
||||
| [`DialogWrapper`](dialog_wrapper.md) | Modal Dialog | <control>dialogWrapperClass</control> - [`DialogWrapper`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java) implementation |
|
||||
| [`GutterMark`](%gh-ic%/platform/editor-ui-api/src/com/intellij/codeInsight/daemon/GutterMark.java) | Editor Gutter Icon | <control>gutter renderer</control> - [`GutterMark`](%gh-ic%/platform/editor-ui-api/src/com/intellij/codeInsight/daemon/GutterMark.java) implementation |
|
||||
| [`IntentionAction`/`QuickFix`](code_inspections_and_intentions.md) | Intention Popup Menu in Editor | <control>intention action</control>/<control>quick fix</control> - [`IntentionAction`](%gh-ic%/platform/analysis-api/src/com/intellij/codeInsight/intention/IntentionAction.java) / [`QuickFix`](%gh-ic%/platform/analysis-api/src/com/intellij/codeInspection/QuickFix.java) implementation |
|
||||
| [`Tree`](lists_and_trees.md) | Tree | <control>treeModelClass</control> - `javax.swing.tree.TreeModel` implementation |"
|
||||
| [`ToolWindow`](tool_windows.md) | Tool Windows Bars | <control>Tool Window ID</control> - `id`<br/><control>Tool Window Icon</control> - `icon`<br/><control>Tool Window Factory</control> - [`ToolWindowFactory`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowFactory.java) |
|
||||
| Type | Place | Properties |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [`AnAction`](basic_action_system.md) | Action Button<br/>Menu Item | <control>Action</control> - [`AnAction`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/AnAction.java) implementation<br/><control>Action ID</control> - Action `id`<br/><control>Action Plugin ID</control> - contributing plugin |
|
||||
| [`ActionToolbar`](basic_action_system.md) | Action Toolbar | <control>Toolbar Group</control> - Action Group ID<br/><control>All Toolbar Groups</control> - contained Action Group IDs<br/><control>Target component</control> - `ActionToolbar.setTargetComponent()` |
|
||||
| [`DialogWrapper`](dialog_wrapper.md) | Modal Dialog | <control>dialogWrapperClass</control> - [`DialogWrapper`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java) implementation |
|
||||
| [`GutterIconRenderer`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/editor/markup/GutterIconRenderer.java)<br/>(2023.1+) | Editor Gutter | <control>Clicked Renderer [Class]</control> - `GutterIconRenderer` instance/class<br/><control>Accessible Name</control> - `GutterIconRenderer.getAccessibleName()`<br/><control>Icon</control> - `GutterIconRenderer.getIcon()`<br/><control>Marker Info - Element / Navigation Handler</control> - [`LineMarkerInfo.getElement() / getNavigationHandler()`](%gh-ic%/platform/lang-api/src/com/intellij/codeInsight/daemon/LineMarkerInfo.java) |
|
||||
| [`GutterMark`](%gh-ic%/platform/editor-ui-api/src/com/intellij/codeInsight/daemon/GutterMark.java) | Editor Gutter Icon | <control>gutter renderer</control> - [`GutterMark`](%gh-ic%/platform/editor-ui-api/src/com/intellij/codeInsight/daemon/GutterMark.java) implementation |
|
||||
| [`IntentionAction`/`QuickFix`](code_inspections_and_intentions.md) | Intention Popup Menu in Editor | <control>intention action</control>/<control>quick fix</control> - [`IntentionAction`](%gh-ic%/platform/analysis-api/src/com/intellij/codeInsight/intention/IntentionAction.java) / [`QuickFix`](%gh-ic%/platform/analysis-api/src/com/intellij/codeInspection/QuickFix.java) implementation |
|
||||
| [`ToolWindow`](tool_windows.md) | Tool Windows Bars | <control>Tool Window ID</control> - `id`<br/><control>Tool Window Icon</control> - `icon`<br/><control>Tool Window Factory</control> - [`ToolWindowFactory`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/wm/ToolWindowFactory.java) |
|
||||
| [`Tree`](lists_and_trees.md) | Tree | <control>treeModelClass</control> - `javax.swing.tree.TreeModel` implementation |
|
||||
|
||||
Custom Swing components can also provide additional properties via [`UiInspectorContextProvider`](%gh-ic%/platform/platform-impl/src/com/intellij/internal/inspector/UiInspectorContextProvider.java) or its dedicated subclasses (2020.1 and later).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user