Karol Lewandowski 7ffca8f009 code_samples/project_view_pane: Cleanup (#1093)
* code_samples/project_view_pane: Cleanup:

- fix bug with not refreshing "svg" files and add supporting "jpeg" extension
- fix not working "Folders Always on Top" switch
- fix extracting file extension
- change disposable from Project to ProjectViewPane
- use BulkFileListener instead of VirtualFileListener with Alarm for updating the tree for immediate updates
- use Application.invokeLater instead of SwingUtilities.invokeLater
- code cleanup

* code_samples/project_view_pane: Add project.getDisposed() condition to the Application.invokeLater() call

* code_samples/project_view_pane: Do not count non-project files

* code_samples/project_view_pane: Do not update UI too often
2023-08-02 14:32:01 +02:00
..
2023-07-12 09:01:20 +02:00
2023-07-26 14:44:10 +02:00
2023-07-12 09:01:20 +02:00
2022-11-28 17:31:11 +01:00
2023-07-26 14:44:10 +02:00

Project View Pane Demo JetBrains IntelliJ Platform SDK Docs

Reference: Project View in IntelliJ SDK Docs

Quickstart

The current demo describes an implementation of the com.intellij.projectViewPane extension point, which allows creating an additional presentation type for the Project view pane. ImagesProjectViewPane limits the project tree to the images only.

Extension Points

Name Implementation Extension Point Class
com.intellij.projectViewPane ImagesProjectViewPane AbstractProjectViewPane

Reference: Plugin Extension Points in IntelliJ SDK Docs