Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First you have to set the import location, that has to be a project or a folder in that in your workspace. If you want to choose an example which creates an own project no location has to be set. Then one or more examples has to be choosen. The examples are sorted by categories. So you are able to choose that example that is most import to you. When selecting a example a preview picture appears. With a click on that, a maximum representation of that pictures appears. With finishing the import wizard by clicking Finish you should see your new example in an editor saved in selected location. If not, type F5 or contextmenu and refresh may help.

Export

...

Image Removed

Here you have to fill some attributes of your new example. The name should be meaningful and consists of at least four characters. Minimum number of characters of author field is three. The contact can be something like a homepage or a email address. People will contact you, if something doesn´t work with your example or if there are some extensions and so on. The description field is really important, because that´s the only way to introduce your example, to explain how it works and what is it for. So, it is better to write a sentence more as less. After setting all fields you can type Next button to navigate to the next wizardpage.

Image Removed

Here you determine the resources you want to pack to an example. You see on the left side a folderchooser with projects of your workspace and on the right side a filechooser. The filechooser refreshes by selecting a folder. You can mark some file, folders or hole projects. All marked elements represents the resources of your new example. These elements appear in the list under the choosers. When somebody will import your generated example, the marked elements of that list will open directly in an editor after finishing the import wizard, models could be meaningful.

Image Removed

Here you have to set first the destination location of your new example. It is important to choose a existing plugin project or a folder in that.
You are able to set a preview picture. That can be a png, bmp or jpg. Important for structuring the examples is to allocate at least one category to your example. New categories can be created over the New... button. If you dislike your generated new categories, use Revert to set the list back. However be economical with new categories. The better way is to think, if your example can be added to existing categories. Finally use Finish button and your example will generate.
Now you have generated a local example. Use git to check it in.

Behind the Curtain

An example created with KEX contains some attributes like id, title and so on. Furthermore contains an example a sequence of resources and categories. A category represents a container for examples. That often means a editor like synccharts. Hereafter the number behind the attribute is 1 if required and 0 if optional.

...