Please see the download section for what you need to download and install. Once that is done you should launch Eclipse and select 'Window -> Open Perspective -> Other...'. Then select 'SLIDE'.
(Click on each image for a larger view.)
Start by File->New Project Select 'SLIDE Project' This will walk through the process of creating a new project. The first page is the typical project creation page prompting for the name and location of the new project. Next you will prompted for the type of project.
Your project type choices are:
For the first two choices you must specify the location of the policy. Again in the first case it will be copied and in the second case it is just keeping a reference.
For the first choice there is an additional screen of some advanced options to allow you to skip copying some files that you may not need. For example special version control files that shouldn't be copied.
Once your project has been created you can use the 'Policy Explorer' (default left side panel of workspace) to navigate through the policy. This view is designed to show you only files related to the source of the policy. By double clicking on a module it will be opened in the Module Editor (by default in the center of the workspace).
To help with creating new modules there is the new module wizard. You get to this by selecting 'File -> New', then 'SLIDE Module'. Select the project you want to add the module into (required). Fill in the name of the new module you are creating. Select the layer (optional if you are working on a module project referencing headers). You can either select a layer that already exists or type in a new layer. Fill in the summary for the layer (required) and the version (required). The description is optional but you should fill it in to help others know what your module does.
If you press 'Finish' now and it will create mostly balnk module files for you. The information inserted will be the documentation (in correctly formed XML) and update the modules.conf file.
You can continue onto the next page in the wizard to select default policy code that can be automatically generated. You choose the policy to create based on your selections in the list. Expand dropdown to show sub-items. All paths are optional, but if you don't fill them in the entry will not be created in the file context (.fc) file. There are three templates to choose from:
To help with creating new interfaces there is a New Interface Wizard. You get to this by right clicking in the 'Interfaces' editor (or an .if file) and select 'Create Interface...'. You fill in the interface name, summary, description (optionally) and parameter. Then add parameters (name and description). When you press 'Finish' it will generate the 'interface' block along with the comments in correctly formed XML.
By right clicking on the project and selecting the 'Properties' choice (or menu 'Project -> Properties') you get to the project properties. In here you have the ability to reset the reference policy (for a module project). Modify the build.conf file in a GUI editor. In addition the ability to edit booleans.conf, tunables.conf, and modules.conf based on the type of project. For referenced policy some of these things might not be editable.
The SLIDE plugin preferences allow you to set a default reference policy location and features of the editor including coloring and functionality. You get to the preferences from the menu 'Window -> Preferences', the select 'SLIDE Preferences'.
The plugin adds a new tab into the standard Eclipse search dialog to allow you to easily search through the policy for specific type and declarations. The search results show up in the standard Eclipse 'Search' view. The search is broken down into three sections:
Type Enforcement:
Interface:
File Context: