Introduced File binding

Charta now supports the File binding that enables editing of external files from within Charta.

The binding File has been introduced in Charta. The object supports the following three members:

NameTypeDescription
PathTextFile path without file name and including trailing slash
NameTextFile name without file path
Media typeTextMIME type of the file contents, needs not to be registered with IANA

When viewing File objects from the user interface, Charta tries to create an appropriate editor associated with the media type for the file. Currently the following media types are supported:

Media typeDescriptionIANA
application/javascriptAllows editing of Javascript filesYes
application/pascalAllows editing of pascal unitsNo
application/mysqlAllows editing of SQL files that use the MySQL dialectNo
application/xmlAllows editing of XML filesYes
text/plainAllows editing of plain text filesYes
text/cssAllows editing of Cascading Style Sheets filesYes
executable/exeAllows exploring the contents of EXE filesNo
executable/dllAllows exploring the contents of DLL filesNo
executable/libAllows exploring the contents of LIB filesNo

Berichten

Added EXE and LIB support
Aangemaakt door op 2010-08-26 10:14
I have added support for the media types executable/exe and executable/lib.
Added DLL support
Aangemaakt door op 2010-08-18 09:44
I have added support for the media type executable/dll
Added XML support
Aangemaakt door op 2010-03-19 18:06
I have added the support for the media type application/xml.
Added plain text, CSS and javascript support
Aangemaakt door op 2010-03-15 22:13

I have added the support for the media type text/plain, text/css and application/javascript.