Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "E4/Scripting/Tutorials"

< E4‎ | Scripting
(Created page with "= Tutorial = This page aim to explain how to create your first script. = Create a new project = In order to create a new project we have to import (In the Example category ...")
 
(Create a new project)
Line 7: Line 7:
 
In this example you will find a Script called Script__Create_new_script_project.py.  
 
In this example you will find a Script called Script__Create_new_script_project.py.  
 
To use right click on the PacakgeExplorer view and select Script > ScriptUtils > Create a new Script Project.
 
To use right click on the PacakgeExplorer view and select Script > ScriptUtils > Create a new Script Project.
 +
 +
[[File:CreateANewProject.png]]
  
 
Follow the wizard.
 
Follow the wizard.

Revision as of 10:19, 21 November 2013

Tutorial

This page aim to explain how to create your first script.


Create a new project

In order to create a new project we have to import (In the Example category File > New > Examples... > Scripting Example > Python Examples) In this example you will find a Script called Script__Create_new_script_project.py. To use right click on the PacakgeExplorer view and select Script > ScriptUtils > Create a new Script Project.

CreateANewProject.png

Follow the wizard. It will ask for:

Here you have your first script ready.

Tips

  • To fill it you can see the page regarding the script Metadata.
  • You can look at the module documentation available in Help > Help Contents. In this window you will find a catagory called "Scripting Category"
  • Tips: There a lot available samples in the Example Examples section of Eclipse (File > New > Examples... > Scripting Examples)

Back to the top