Search This Blog

Monday, March 26, 2012

How can I extend the Visual Editor for other language, like C++?

The Visual Editor of The Black Toolkit was made to work with many programming languages, and be extended for other needs of RAD Visual programming...

The good part is: ...just with XML.

The Componentset API is here:

Acctually the Black Toolkit supports (natively) is Web documents (HTML, PHP, JSP, ASP), Java Swing with NullLayout. But you can write the componentset for your favorite language, without recompiling the IDE.

I have too much work in developing the toolkit plus writing the componentsets.  Because of this I had to drop the Win32 Form, to work on it some months later. Someone wants to help me?

Sunday, March 25, 2012

Creting your own language support in the Black Toolkit

This is an easy part. The IDE doesn't need to be recompiled for this.

  1. Go to the languages folder and copy the en.ini to <your_country_code>.ini
  2. The file encoding is UTF-8. Edit <your_country_code>.ini, changing just the values part to your language's text.
  3. Make sure to keep %s, %d, %f from values part because they will be expanded in printf()/Format() functions. Like "Do you wish to save %s". The %s will be expanded to the file name.
  4. Start the editor. Choose from menu Configurations->Languages and choose your language.

Tuesday, March 6, 2012

Connecting to a remote Black Toolkit through X11 and SSH

 The black toolkit has some advantages, in being centered in a X11-forwarded SSH server, above others editors:

  • It is faster compared to most of editors, consuming less resources.
  • It runs on Linux.
  • SSH is open source.

To connect the black toolkit in a Linux server you need:
  1. Install Black Toolkit in the Linux server.
  2. Turn on SSH server, if it is not already enabled.
  3. Enable X11 forwarding in SSH server (X11Forwarding yes), on /etc/ssh/shhd_config, and restart SSH.

Now, in the client side, it depends of the operating system:

On Windows, you need to install XMing for access SSH.

  1. Activate XMing service
  2. Configure XLaunch to call blacktoolkit, instead of Xterm, and call the software.

Running Black Toolkit (from a Linux server) on Windows XP

For Linux client is a bit simple, just install SSH-client (already comes with) package and do:
$ ssh -p <port> <-X or -Y> <-C> user@server blacktoolkit

You can use it in cell phones, like Android:

  1. Install ConnectBot and QVD.
  2. Start QVD service.
  3. Start ConnectBot and configure connection.
  4. Remember to do a port forward of the port 6000 for ConnectBot.
  5. Connect with ConnectBot and call the program you want, or blacktoolkit.
  6. Now see the QVD window. 
  7. The Xvncpro home page contains the documentation for double-clicks, right-clicks, etc.

I hope had helped everyone.