Skip to content

intechstudio/plugin-sample-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Grid Editor package project

This repository contains a sample project for the Grid Editor Package system. The project can be imported into the currently released Editor version.

The package will show a text area and a button in the preferences window pane. The package will periodically send a message that is shown in the text area, and the button can also be used to print another message in the text area.

Overview

Packages for the Grid Editor generally consists of two parts:

  • The main JavaScript module containing the logic of the package. The code runs in a NodeJS environment with no special restrictions. The package can communicate with the Editor core through a special interface.
  • A preferences panel window shown in the Preferences pane. The code for the preferences must be a single HTML page. This is run in the renderer process of the Electron application. The preferences panel can request a MessagePort to communicate with the NodeJS part of the package.

Installation

Packages are run from the packages folder of the Grid Editor user data folder (by default, found inside the 'Document' folder under grid-userdata). Each package can be found inside it's separate folder.

The sample project repository can be directly cloned into the packages folder. The package should then be shown inside the packages list in the Preferences window pane.

When developing a package, changes can be seen depending on what is being modified:

  • For the NodeJS module, changes are only applied after the Editor is restarted.
  • Changes in the preferences window can be seen after a package disable-enable cycle.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published