12345678910111213141516171819202122232425262728293031323334 |
- using InABox.Core;
- namespace Comal.Classes
- {
- /* A WebStyle represents a singular stylesheet, referenced by a code that uniquely identifies it,
- * allowing it to be referenced from a specific web template. */
- public class WebStyle : Entity, IRemotable, IPersistent, ILicense<WebAccessLicense>, IExportable, IImportable, ISecure
- {
- [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)]
- [EditorSequence(1)]
- public string Code { get; set; }
- [TextBoxEditor]
- [EditorSequence(2)]
- public string Description { get; set; }
- [ScriptEditor(SyntaxLanguage.CSS)]
- [EditorSequence(3)]
- public string Style { get; set; }
- protected override void Init()
- {
- base.Init();
- Code = "";
- Description = "";
- Style = "";
- }
- public override string ToString()
- {
- return Code;
- }
- }
- }
|