mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
internal_ui_inspector.md: split table
This commit is contained in:
parent
16289121e5
commit
e00f43c7de
@ -41,21 +41,33 @@ 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 |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [`ActiveGutterRenderer`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/editor/markup/ActiveGutterRenderer.java)<br/>(2023.1+) | Editor Gutter | <control>Clicked Renderer (Class)</control> - `ActiveGutterRenderer` instance/class |
|
||||
| [`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 |
|
||||
| [`Inlay`](inlay_hints.md)<br/>(2023.1+) | Editor | <control>Inlay Renderer (Class)</control> - `Inlay.getRenderer()` instance/class<br/><control>Inlay Gutter Renderer</control> - `Inlay.getGutterIconRenderer()`<br/><control>Inlay Properties</control> - `Inlay.getProperties()` |
|
||||
| [`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).
|
||||
|
||||
#### Editor
|
||||
|
||||
| Type | Properties |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [`ActiveGutterRenderer`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/editor/markup/ActiveGutterRenderer.java)<br/>(2023.1+) | <control>Clicked Renderer (Class)</control> - `ActiveGutterRenderer` instance/class |
|
||||
| [`GutterIconRenderer`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/editor/markup/GutterIconRenderer.java)<br/>(2023.1+) | <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) | <control>gutter renderer</control> - [`GutterMark`](%gh-ic%/platform/editor-ui-api/src/com/intellij/codeInsight/daemon/GutterMark.java) implementation |
|
||||
| [`Inlay`](inlay_hints.md)<br/>(2023.1+) | <control>Inlay Renderer (Class)</control> - `Inlay.getRenderer()` instance/class<br/><control>Inlay Gutter Renderer</control> - `Inlay.getGutterIconRenderer()`<br/><control>Inlay Properties</control> - `Inlay.getProperties()` |
|
||||
| [`IntentionAction`/`QuickFix`](code_inspections_and_intentions.md) | <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 |
|
||||
|
||||
#### Action
|
||||
|
||||
| Type | Properties |
|
||||
|-------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [`AnAction`](basic_action_system.md) | <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) | <control>Toolbar Group</control> - Action Group ID<br/><control>All Toolbar Groups</control> - contained Action Group IDs<br/><control>Target component</control> - `ActionToolbar.setTargetComponent()` |
|
||||
|
||||
#### IDE and UI Components
|
||||
|
||||
| Type | Properties |
|
||||
|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [`DialogWrapper`](dialog_wrapper.md) | <control>dialogWrapperClass</control> - [`DialogWrapper`](%gh-ic%/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java) implementation |
|
||||
| [`ToolWindow`](tool_windows.md) | <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) | <control>treeModelClass</control> - `javax.swing.tree.TreeModel` implementation |
|
||||
|
||||
## Inspecting Settings
|
||||
|
||||
Some additional properties are available when inspecting <control>Settings</control> dialog (2023.1+).
|
||||
|
Loading…
x
Reference in New Issue
Block a user