mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
Rename work_with_icons_and_images.md to icons.md
This commit is contained in:
parent
99272f98f5
commit
4666aa2ee6
2
ijs.tree
2
ijs.tree
@ -83,7 +83,7 @@
|
||||
<toc-element topic="lists_and_trees.md"/>
|
||||
<toc-element topic="status_bar_widgets.md"/>
|
||||
<toc-element topic="misc_swing_components.md"/>
|
||||
<toc-element topic="work_with_icons_and_images.md" toc-title="Icons"/>
|
||||
<toc-element topic="icons.md" toc-title="Icons" accepts-web-file-names="work-with-icons-and-images.html"/>
|
||||
<toc-element topic="color_scheme_management.md"/>
|
||||
<toc-element topic="themes_metadata.md"/>
|
||||
</toc-element>
|
||||
|
@ -31,7 +31,7 @@ Threading assertions in tests
|
||||
: All rules for [threading](general_threading_rules.md) are now checked in tests as well.
|
||||
|
||||
Mapping New UI icons
|
||||
: See [](work_with_icons_and_images.md#new-ui-icons) on how to provide additional icons.
|
||||
: See [](icons.md#new-ui-icons) on how to provide additional icons.
|
||||
|
||||
### IntelliJ IDEA 2022.3
|
||||
|
||||
|
@ -561,7 +561,7 @@ Attributes
|
||||
The text which is displayed in the status bar when the action is focused.
|
||||
- `icon` _(optional)_<br/>
|
||||
The icon that is displayed on the toolbar button or next to the action menu item.
|
||||
See [](work_with_icons_and_images.md) for more information about defining and using icons.
|
||||
See [](icons.md) for more information about defining and using icons.
|
||||
- `use-shortcut-of` _(optional)_<br/>
|
||||
The ID of the action whose keyboard shortcut this action will use.
|
||||
|
||||
@ -844,7 +844,7 @@ Attributes
|
||||
The text which is displayed in the status bar when the group is focused.
|
||||
- `icon` _(optional)_<br/>
|
||||
The icon that is displayed next to the group menu item.
|
||||
See [](work_with_icons_and_images.md) for more information about defining and using icons.
|
||||
See [](icons.md) for more information about defining and using icons.
|
||||
- `popup` _(optional)_<br/>
|
||||
Boolean flag defining whether the group items are presented in the submenu popup.
|
||||
- `true` - group actions are placed in a submenu
|
||||
|
@ -8,7 +8,7 @@ Beginning in version 2019.1, the IntelliJ Platform supports representing a plugi
|
||||
A _Plugin Logo_ is intended to be a unique representation of a plugin's functionality, technology, or company.
|
||||
|
||||
**Note:** icons and images used within a plugin have different requirements.
|
||||
See [Working with Icons and Images](work_with_icons_and_images.md) for more information.
|
||||
See [](icons.md) for more information.
|
||||
|
||||
## Plugin Logo Usages
|
||||
Plugin Logos are shown in the [JetBrains Marketplace](https://plugins.jetbrains.com).
|
||||
|
@ -68,7 +68,7 @@ Execution
|
||||
Minor Changes and Additions
|
||||
:
|
||||
- Clarify [the syntax highlighting](testing_highlighting.md#syntax-highlighting) test file format and test implementation initial approach.
|
||||
- Clarify referencing icons by paths and icon holder class constants in [](work_with_icons_and_images.md).
|
||||
- Clarify referencing icons by paths and icon holder class constants in [](icons.md).
|
||||
- Add information about requirements for persistent state components to be included in [the _Settings Sync_ plugin synchronization mechanism](persisting_state_of_components.md#settings-sync-plugin).
|
||||
|
||||
### April
|
||||
@ -97,7 +97,7 @@ Inspection Options
|
||||
|
||||
Minor Changes and Additions
|
||||
:
|
||||
- Add section on [](work_with_icons_and_images.md#new-ui-icons).
|
||||
- Add section on [](icons.md#new-ui-icons).
|
||||
- Document [](spell_checking.md#runtimedictionaryprovider) EP for spellchecking.
|
||||
|
||||
### January
|
||||
@ -193,7 +193,7 @@ Minor Changes and Additions
|
||||
:
|
||||
- Add a small section to [](php_open_api.md#utility-classes) describing `PhpFilePathUtils` utility class.
|
||||
- Add mention of the way to programmatically open an autocomplete popup to [](code_completion.md).
|
||||
- Add a small section to [](work_with_icons_and_images.md#animated-icons) describing animated icons.
|
||||
- Add a small section to [](icons.md#animated-icons) describing animated icons.
|
||||
- Moved [](tools_gradle_grammar_kit_plugin.md) documentation to _Appendix III — Tooling_
|
||||
|
||||
### May
|
||||
|
@ -50,7 +50,7 @@ To register a file type, the plugin developer provides a subclass of [`FileTypeF
|
||||
- [Custom Language Support Tutorial: Language and File Type](language_and_filetype.md)
|
||||
- [`LanguageFileType`](%gh-ic%/platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java) subclass in [Properties language plugin](%gh-ic%/plugins/properties/properties-psi-api/src/com/intellij/lang/properties/PropertiesFileType.java)
|
||||
|
||||
To verify that the file type is registered correctly, you can implement the [`LanguageFileType.getIcon()`](%gh-ic%/platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java) method and verify that the correct icon (see [Working with Icons and Images](work_with_icons_and_images.md)) is displayed for files associated with your file type.
|
||||
To verify that the file type is registered correctly, you can implement the [`LanguageFileType.getIcon()`](%gh-ic%/platform/core-api/src/com/intellij/openapi/fileTypes/LanguageFileType.java) method and verify that the correct icon (see [](icons.md)) is displayed for files associated with your file type.
|
||||
|
||||
### Additional Features
|
||||
|
||||
|
@ -23,7 +23,7 @@ This default implementation is used if a set of actions belonging to the group i
|
||||
The `id` attribute must be unique, so incorporating the plugin ID or package name is the best practice.
|
||||
|
||||
The `popup` attribute determines whether actions in the group are placed in a submenu.
|
||||
The `icon` attribute specifies the FQN of an [`Icon`](work_with_icons_and_images.md) object to be displayed.
|
||||
The `icon` attribute specifies the FQN of an [`Icon`](icons.md) object to be displayed.
|
||||
No `compact` attribute is specified, which means this group will support submenus.
|
||||
See [](basic_action_system.md#registering-actions-in-pluginxml) for more information about these attributes.
|
||||
|
||||
|
@ -112,7 +112,7 @@ An exhaustive list of declaration elements and attributes is presented in [](bas
|
||||
Attributes are added by selecting them from the <control>New Action</control> form, or by editing the registration declaration directly in the <path>plugin.xml</path> file.
|
||||
|
||||
The [`<action>`](plugin_configuration_file.md#idea-plugin__actions__action) declaration for `PopupDialogAction` in the `action_basics` [plugin.xml](%gh-sdk-samples%/action_basics/src/main/resources/META-INF/plugin.xml) file.
|
||||
It also contains an attribute for an [`Icon`](work_with_icons_and_images.md) and encloses elements declaring text overrides, keyboard and mouse shortcuts, and to which menu group the action should be added.
|
||||
It also contains an attribute for an [`Icon`](icons.md) and encloses elements declaring text overrides, keyboard and mouse shortcuts, and to which menu group the action should be added.
|
||||
|
||||
The full declaration is:
|
||||
|
||||
|
@ -38,7 +38,7 @@ The [`SimpleLanguage`](%gh-sdk-samples%/simple_language_plugin/src/main/java/org
|
||||
|
||||
The [icon](%gh-sdk-samples%/simple_language_plugin/src/main/resources/icons/jar-gray.png) for the Simple Language is defined by the
|
||||
[`SimpleIcons`](%gh-sdk-samples%/simple_language_plugin/src/main/java/org/intellij/sdk/language/SimpleIcons.java) class.
|
||||
Please see [](work_with_icons_and_images.md) for details on how to define and use icons.
|
||||
Please see [](icons.md) for details on how to define and use icons.
|
||||
|
||||
```java
|
||||
```
|
||||
|
@ -32,7 +32,7 @@ The extension point attributes specify all the data which is necessary to displa
|
||||
* The `id` attribute (required) of the tool window which corresponds to the text displayed on the tool window button.
|
||||
To provide a localized text, specify matching `toolwindow.stripe.[id]` message key (escape spaces with `_`) in the [resource bundle](plugin_configuration_file.md#idea-plugin__resource-bundle) (code insight supported in 2020.3 and later).
|
||||
|
||||
* The `icon` to display on the tool window button (13x13 pixels, grey and monochromatic; see [Tool window](https://jetbrains.design/intellij/components/tool_window/#07) in IntelliJ Platform UI Guidelines and [Working with Icons and Images](work_with_icons_and_images.md))
|
||||
* The `icon` to display on the tool window button (13x13 pixels, grey and monochromatic; see [Tool window](https://jetbrains.design/intellij/components/tool_window/#07) in IntelliJ Platform UI Guidelines and [](icons.md))
|
||||
|
||||
* The `anchor`, meaning the side of the screen on which the tool window is displayed ("left" (default), "right" or "bottom")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user