App Definition
The app definition includes the version, the supported languages and the content items. You can add an additional file, for example, to include a tutorial for the app.
Step-by-Step
- To create an app definition select New in the File tab. Alternatively, you can select the New icon in the Quick Access Toolbar.
- In the New SmartAnalyzer App SDK Project dialog box choose App Definition.
- Enter a name for the SmartAnalyzer App SDK Project. The name has to comply with the Windows guidelines for file and folder names.
- Specify the location of the file to be created by clicking the Browse button.
- Click OK.
-
In the General area the name, the alias and the version number are shown. You can change them. The name is the content item name in SmartAnalyzer, the maximum length is 128 characters. You do not have to consider any Windows guidelines when entering the name, any character is allowed.
- Minimum IDEA version that supports an app. The version is calculated from the minimum versions of all content items (the highest minimum version is chosen). It is possible that the minimum version is calculated correctly only after the app has been built.
- Select the app description files by clicking the corresponding Browse button. The description will be shown in SmartAnalyzer in the App Management dialog box.
- Select an app icon. If you do not select any icon, a predefined icon will be used by default.
- If you want to add an additional file to the app, for instance a tutorial or an executable file, click the browse button next to the Additional Files. A dialog box opens where you can select the file you want to add.
- In the field Target Languages open the dialog box Specify Target Language via the Browse button to select the language(s) the app should be created for.
- To select the Content Items Included click the corresponding Browse button.
- If you have created a This workflow will be shown in SmartAnalyzer after a user has selected the app.You can create a workflow via New - App Workflow. This workflow is a guidance for the user of how to work with the app. you can add it to the app. Click the Browse button in the App Workflow field and select the corresponding file.
- Save the app definition.
Working with SmartAnalyzer App SDK Projects you can open a context menu by right-clicking on a card-index tab.
In the context menu for content items you can select the following tasks:
| Command | Description |
|---|---|
| Close | Closes the current content item tab. If the tab is not saved, you will be asked whether you want to save it or not. |
| Close all | All currently opened content items will be closed. If one of them is not saved yet, you will be asked whether you want to save it or not. |
| Close all except this | Closes all content item tabs except the one the command was called from. If one of the content item tabs to be closed is not saved yet, you will be asked whether you want to save it or not. |
| Duplicate content item | This command duplicates an existing content item. A dialog box opens where you can enter a name for the content item. The duplicated content item gets a new unique ID. |
| Create Labeled Import Routine | This command is only active for Standard Import Routines. The command creates a new content item of type "Labeled Import Routine". In this case the project folder can only be created when saving the properties grid context. Only in this case the name of the new project is known. |
| Create app based on opened items | This command allows creating a demo app. In contrast to creating testing apps, apps created with this command will be IP protected and will have their own fixed icon and its own fixed app ID. This function is only available as of IDEA version 10.1. |
| Open folder | Opens the project folder of the currently selected content item in Windows explorer. |