New Permission Wizard

The New Scout Permission wizard can be used to create a new permission classes. To start the wizard use File  New  Other…​ or press Ctrl+N as described in section Scout Wizards.

sdk new permission
Figure 1. The new Permission wizard

In the case of Figure 1 the package org.eclipse.scout.apps.helloworld.shared.helloworld has been selected in the Package Explorer. The only wizard fields that then needs to be filled in manually is the Name fields.

By clicking on the Finish button the wizard is started and the specified component is created.

Wizard Fields and Default Values

Most of the fields of the Figure 1 will be filled with default values depending on the current context of the IDE. The context can be derived from a package selected in the Package Explorer or from the class in the active Java Editor.

Source Folder

The source folder of the Maven shared module used for the creation of the permission class. The default value is the src/main/java folder in the Maven shared module.

Package

The Java package that will contain the permission class. The Scout SDK will try to guess the package name from the current context.

Name

The name of the permission class. According to Scout conventions the class name ends with the suffix Permission.

Super Class

The super class for the form. BasicPermission is the default value.

Created Components

In the Figure 1 example shown above the Scout SDK will create the following components.

  • In Maven module helloworld.shared

    • The MyPermission class in folder src/main/java and package org.eclipse.scout.apps.helloworld.shared.helloworld


Go back to the Scout Wizards.

Do you want to improve this document? Have a look at the sources on GitHub.