Jmix Tool Window
Jmix tool window is designed to represent significant elements of the project. It normally opens on the left side of the IDE. You can change the position of the tool window in the IDE, see IntelliJ IDEA documentation.
Sections
-
Build Scripts contains two main project scripts:
-
build.gradle
defines the build configuration. -
settings.gradle
defines the project name and the set of modules.
-
-
Configuration includes application configuration files:
-
application.properties
- defines database connection parameters, logging levels and other properties of the Spring Boot application. -
OnboardingApplication
- the main application class of the project.
-
-
Add-ons displays the list of Jmix add-ons installed for the project.
-
Data Stores displays and manages the list of data stores the project is connected to and their Liquibase changelogs. By default, there is only one Main data store.
-
Data Model displays and manages the data model of the project. It contains entities and their related elements like UI views and beans.
There are subsections Refers to and Referenced by under every entity. They show dependencies between entities, embedded attributes, and inheritance relationships.
-
Refers to shows references to other entities.
-
Referenced by shows entities that have references to this entity.
These subsections help you to explore the data model and navigate to related entities by using the context menu and Jump to Source actions.
-
-
User Interface contains everything related to Jmix UI:
-
Views shows the controller and descriptor files of the UI views.
-
Themes contains CSS files of the application theme.
-
Message Bundle opens the message bundle of the application.
-
Main Menu opens the Menu Designer.
-
-
Beans displays Spring beans defined in the project.
-
Security contains security settings roles.
-
Deployment lets you quickly deploy a containerized application to the cloud.
-
Sources lets you switch to the Project tree.
-
Double-click the Tests item opens the Project tree in the
src/test/java
folder.
Context Menu
Context menu allows you to create new elements. For example, right-clicking on the User Interface calls actions related to the views and themes of the user interface.
Toolbar
The toolbar provides quick access to commonly used actions and settings.
Creating New Elements
In the New group of actions, you can find the project elements you need to create.
For example, JPA Entity opens the dialog for creating an entity.
Settings
This group of actions provides access to some project settings.
In the Project Properties editor, you can configure your project.
Marketplace action opens the Add-ons window, where you can manage add-ons included in your project.
Account Information action opens the Jmix Subscription dialog where you can view details about your account and subscription.
Gradle
-
Re-Import Gradle Project runs Gradle project synchronization which is necessary for Studio functioning. Use this action if the automatic synchronization has failed, for example, due to network inaccessibility or invalid repository configuration.
Also, you should use this action to apply changes that you made manually in the
build.gradle
,gradle.properties
or in some other Gradle settings. -
Assemble and Clean run frequently used Gradle tasks:
assemble
andclean
. -
Zip Project opens a dialog for the
zipProject
Gradle task that can be used for code sharing purposes. -
Edit Gradle Properties opens
~/.gradle/gradle.properties
file for editing.
Help
-
Jmix Documentation opens the documentation website in browser.
-
Third-Party Libraries opens a dialog that provides information about third-party libraries.
-
Welcome opens the welcome screen.
Assigning Shortcuts
You can assign shortcuts for some frequently used actions. Open File → Settings → Keymap window and find Plugins → Jmix in the tree to assign a shortcut.
For more details, see IntelliJ IDEA documentation.