diff options
author | ctrlaltca <> | 2012-07-24 18:45:25 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-24 18:45:25 +0000 |
commit | bb1b020a37785acf824c7c76bf5a1f868e826297 (patch) | |
tree | 27ebd8b222f2760cd64d2ed054f3fc50830ba3e9 /editors/Textmate/Prado.tmbundle/Snippets | |
parent | 59ef1ca568d8e20a726e343556113c117ce5022c (diff) |
updated plugin for textmate editor (works on "sublime text editor 2", too): added activecontrols
Diffstat (limited to 'editors/Textmate/Prado.tmbundle/Snippets')
39 files changed, 697 insertions, 1 deletions
diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveBoundColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveBoundColumn.tmSnippet new file mode 100644 index 00000000..435ab639 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveBoundColumn.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveBoundColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0</string> + <key>name</key> + <string>TActiveBoundColumn</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveBoundColumn</string> + <key>uuid</key> + <string>354DA91A-33CD-4FB0-90E3-0A4585E995B0</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveButtonColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveButtonColumn.tmSnippet new file mode 100644 index 00000000..91cd7cd8 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveButtonColumn.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveButtonColumn CommandName="${2:Button Command}" Text="${3:Text on Button}" HeaderText="${4}" />$0</string> + <key>name</key> + <string>TActiveButtonColumn</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveButtonColumn</string> + <key>uuid</key> + <string>C6C2565E-7BFA-4AAA-9073-A28E9D47092B</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBox.tmSnippet new file mode 100644 index 00000000..5c49b59f --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBox.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveCheckBox ID="${1:checkBox1}" Text="${2:CheckBox Text}" OnCallback="${3:$1_oncallback}" />$0</string> + <key>name</key> + <string>TActiveCheckBox</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveCheckBox</string> + <key>uuid</key> + <string>E19C9489-DA1B-4986-9408-688A8E920AF9</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBoxColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBoxColumn.tmSnippet new file mode 100644 index 00000000..8f2df592 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCheckBoxColumn.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveCheckBoxColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0</string> + <key>name</key> + <string>TActiveCheckBoxColumn</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveCheckBoxColumn</string> + <key>uuid</key> + <string>98E1BD23-033B-4638-B5DD-A424B86906C9</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveClientScript.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveClientScript.tmSnippet new file mode 100644 index 00000000..3d050930 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveClientScript.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveClientScript ScriptUrl="${1:<%~ ${2:script.js} %>}" />$0</string> + <key>name</key> + <string>TActiveClientScript</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveClientScript</string> + <key>uuid</key> + <string>3FDEA00B-494B-40E1-AC1C-410F60599AEE</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveCustomValidator (TValidator).tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCustomValidator (TValidator).tmSnippet new file mode 100644 index 00000000..a1dd6969 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveCustomValidator (TValidator).tmSnippet @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveCustomValidator + ControlToValidate="${1:controlIDToValidate}" + OnCallback="${2:validator_oncallback}" + OnServerValidate="${3:customValidate}"${4: + ClientValidationFunction="${5:clientSideCustomValidate}"} + ErrorMessage="${6:required}" />$0</string> + <key>name</key> + <string>TActiveCustomValidator (TValidator)</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveCustomValidator</string> + <key>uuid</key> + <string>DDD64493-7F4F-4A90-9A8A-F8C63F36ACBF</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataGrid.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataGrid.tmSnippet new file mode 100644 index 00000000..d26c7b82 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataGrid.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveDataGrid ID="${1:grid1}" AutoGenerateColumns="${2:true}"> + $0 +</com:TActiveDataGrid></string> + <key>name</key> + <string>TActiveDataGrid</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveDataGrid</string> + <key>uuid</key> + <string>7BB2320B-07B0-4884-BF6C-E512DDEA0AD1</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataList.tmSnippet new file mode 100644 index 00000000..84168b35 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDataList.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveDataList ID="${1:list1}" > + $0 +</com:TActiveDataList></string> + <key>name</key> + <string>TActiveDataList</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveDataList</string> + <key>uuid</key> + <string>2DF77966-ACAD-4EA1-AB59-8C1EF76E25A8</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDatePicker.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDatePicker.tmSnippet new file mode 100644 index 00000000..0b8901ee --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDatePicker.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveDatePicker ID="${1:datePicker1}" onCallback="${2:$1_oncallback}" DateFormat="${3:dd/MM/yyyy}" ${4:InputMode="${5:DropDownList}"} />$0</string> + <key>name</key> + <string>TActiveDatePicker</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveDatePicker</string> + <key>uuid</key> + <string>8DA69D71-DC3A-448E-A82D-65D5B8262AAC</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownList.tmSnippet new file mode 100644 index 00000000..69259510 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownList.tmSnippet @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveDropDownList ID="${1:dropDownList1}" OnCallback="${2:$1_oncallback}"> + ${3:<com:TListItem Value="${4:value 1}" Text="${5:item 1}" /> + <com:TListItem Value="${6:value 2}" Text="${7:item 2}" />}$0 +</com:TActiveDropDownList></string> + <key>name</key> + <string>TActiveDropDownList</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveDropDownList</string> + <key>uuid</key> + <string>57A48175-D2DD-42C6-868B-6A74ADA4155D</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownListColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownListColumn.tmSnippet new file mode 100644 index 00000000..4000e98c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveDropDownListColumn.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveDropDownListColumn DataTextField="${2:Field Name from Data Source}" DataValueField="${3:Field Name from Data Source}" HeaderText="${4:Dropdown}" />$0</string> + <key>name</key> + <string>TActiveDropDownListColumn</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveDropDownListColumn</string> + <key>uuid</key> + <string>795E3928-00F7-4631-9E54-355B8AD152BD</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveEditCommandColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveEditCommandColumn.tmSnippet new file mode 100644 index 00000000..72e943ac --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveEditCommandColumn.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveEditCommandColumn ButtonType="${1:LinkButton}" EditText="${2:Edit}" UpdateText="${3:Update}" CancelText="${4:Cancel}" />$0</string> + <key>name</key> + <string>TActiveEditCommandColumn</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveEditCommandColumn</string> + <key>uuid</key> + <string>2CC7381B-9C43-4D8C-9952-F40960A5CCD7</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveFileUpload.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveFileUpload.tmSnippet new file mode 100644 index 00000000..8843b937 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveFileUpload.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveFileUpload ID="${1:file1}" OnFileUpload="${2:${1}_Uploaded}" />$0</string> + <key>name</key> + <string>TActiveFileUpload</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveFileUpload</string> + <key>uuid</key> + <string>043A530C-4916-4965-AF83-B7C22FD69D8B</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveHiddenField.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveHiddenField.tmSnippet new file mode 100644 index 00000000..9d1f1e7e --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveHiddenField.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveHiddenField ID="${1:hiddenField1}" Value="${2:value}" />$0</string> + <key>name</key> + <string>TActiveHiddenField</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveHiddenField</string> + <key>uuid</key> + <string>BB4574A8-82FE-42CB-AC3B-CB7DA6493C66</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveHyperLink.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveHyperLink.tmSnippet new file mode 100644 index 00000000..ea93645b --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveHyperLink.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveHyperLink NavigateUrl="${1:http://www.pradosoft.com/}" Text="${2:PradoSoft.com}" />$0</string> + <key>name</key> + <string>TActiveHyperLink</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveHyperLink</string> + <key>uuid</key> + <string>58AFD59A-2117-48FC-BDCE-8265A4B91DEA</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveImage.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImage.tmSnippet new file mode 100644 index 00000000..bd99c6a7 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImage.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveImage ImageUrl=<%~ ${1:hello_world.gif} %> AlternateText="${1}" />$0</string> + <key>name</key> + <string>TActiveImage</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveImage</string> + <key>uuid</key> + <string>082A1F65-8783-4E3B-8133-236F96B2FC66</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet new file mode 100644 index 00000000..b008a27c --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveImageButton.tmSnippet @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveImageButton + ID="${1:imageButton1}" + ImageUrl=<%~ ${2:hello_world.gif} %> + Text="${3:hello world}" + OnClick="${4:${1}_Clicked}" + OnCallback="${5:${1}_oncallback}" +/>$0</string> + <key>name</key> + <string>TActiveImageButton</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveImageButton</string> + <key>uuid</key> + <string>3773B612-FAE7-4A6F-8F9A-382CC9ABEF56</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveLabel.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLabel.tmSnippet new file mode 100644 index 00000000..39c9b585 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLabel.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveLabel ID="${1:label1}" ${2:Text="${3:Label 1}"} />$0</string> + <key>name</key> + <string>TActiveLabel</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveLabel</string> + <key>uuid</key> + <string>6C32556F-551C-4DC1-B211-FE493A1AF959</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveLinkButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLinkButton.tmSnippet new file mode 100644 index 00000000..be11c9cd --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLinkButton.tmSnippet @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveLinkButton + ID="${1:linkButton1}" + Text="${2:Click Me}" + OnClick="${3:${1}_Clicked}" + OnCallback="${3:${1}_oncallback}" +/>$0</string> + <key>name</key> + <string>TActiveLinkButton</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveLinkButton</string> + <key>uuid</key> + <string>FE59932A-8624-4C3A-AA29-D151050D95E1</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveListBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveListBox.tmSnippet new file mode 100644 index 00000000..684df869 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveListBox.tmSnippet @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveListBox ID="${1:listBox1}"> + ${2:<com:TListItem Value="${3:value 1}" Text="${4:item 1}" /> + <com:TListItem Value="${5:value 2}" Text="${6:item 2}" />}$0 +</com:TActiveListBox></string> + <key>name</key> + <string>TActiveListBox</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveListBox</string> + <key>uuid</key> + <string>1CF971B4-2744-465D-8FD7-D464B3C44BA9</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveLiteralColumn.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLiteralColumn.tmSnippet new file mode 100644 index 00000000..5d8982a7 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveLiteralColumn.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveLiteralColumn DataField="${2:Field Name from Data Source}" HeaderText="${3:${2}}" />$0</string> + <key>name</key> + <string>TActiveLiteralColumn</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveLiteralColumn</string> + <key>uuid</key> + <string>BE8CB4DD-0348-4049-A784-28B994B28F91</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveMultiView.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveMultiView.tmSnippet new file mode 100644 index 00000000..17c0e668 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveMultiView.tmSnippet @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveMultiView ID="${1:multiView1}" ActiveViewIndex="${2:0}"> + ${3:<com:TView ID="${4:view1}"> + ${5:<!-- view1 content -->} + </com:TView> + <com:TView ID="${6:view2}"> + ${7:<!-- view2 content -->} + </com:TView>}$0 +</com:TActiveMultiView></string> + <key>name</key> + <string>TActiveMultiView</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveMultiView</string> + <key>uuid</key> + <string>E4AC4EB3-83F6-4EE2-BBF7-1C637D295824</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActivePager.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActivePager.tmSnippet new file mode 100644 index 00000000..bff6a489 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActivePager.tmSnippet @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActivePager + ControlToPaginate="${2:dataGrid1}" + OnPageIndexChanged="${3:pagerIndexChanged}" + OnCallback="${4:pagerCallback}" +/>$0</string> + <key>name</key> + <string>TActivePager</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActivePager</string> + <key>uuid</key> + <string>DB28C735-5DDB-4444-8287-0CEBCA238D0C</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActivePanel.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActivePanel.tmSnippet new file mode 100644 index 00000000..12692819 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActivePanel.tmSnippet @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActivePanel ID="${1:panel1}"> + $0 +</com:TActivePanel></string> + <key>name</key> + <string>TActivePanel</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActivePanel</string> + <key>uuid</key> + <string>B81D6985-26B0-4807-872A-2D435BB1AE5C</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButton.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButton.tmSnippet new file mode 100644 index 00000000..2bec5f66 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButton.tmSnippet @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveRadioButton + ID="${1:radioButton1}" + Text="${2:RadioButton Text}" + OnCallback="${3:$1_oncallback}" +/>$0</string> + <key>name</key> + <string>TActiveRadioButton</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveRadioButton</string> + <key>uuid</key> + <string>BB717BF2-0E69-419A-BC67-1E8FFBE64A21</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButtonList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButtonList.tmSnippet new file mode 100644 index 00000000..193f23ea --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRadioButtonList.tmSnippet @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveRadioButtonList ID="${1:radioButtonList1}" OnCallback="${3:$1_oncallback}"> + ${2:<com:TListItem Value="${3:value 1}" Text="${4:item 1}" /> + <com:TListItem Value="${5:value 2}" Text="${6:item 2}" />}$0 +</com:TActiveRadioButtonList></string> + <key>name</key> + <string>TActiveRadioButtonList</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveRadioButtonList</string> + <key>uuid</key> + <string>6B8DF597-018E-4344-9853-B2DB9AF8BDD7</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveRatingList.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRatingList.tmSnippet new file mode 100644 index 00000000..e0953243 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRatingList.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveRatingList ID="${1:ratingList1}" OnCallback="${3:$1_oncallback}" />$0</string> + <key>name</key> + <string>TActiveRatingList</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveRatingList</string> + <key>uuid</key> + <string>057EB744-BAB2-40A4-A694-444F32616388</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveRepeater.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRepeater.tmSnippet new file mode 100644 index 00000000..63fa9f69 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveRepeater.tmSnippet @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveRepeater ID="${1:repeater1}" DataKeys="${2:Data key field}"> + <prop:EmptyTemplate> + ${3:<!-- content -->} + </prop:EmptyTemplate> + <prop:HeaderTemplate> + ${4:<!-- content -->} + </prop:HeaderTemplate> + <prop:ItemTemplate> + ${5:<!-- content -->} + </prop:ItemTemplate> + <prop:FooterTemplate> + ${6:<!-- content -->} + </prop:FooterTemplate> +</com:TActiveRepeater></string> + <key>name</key> + <string>TActiveRepeater</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveRepeater</string> + <key>uuid</key> + <string>2A8B6705-FDDB-42E3-9332-9BC8C8293B7B</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableCell.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableCell.tmSnippet new file mode 100644 index 00000000..28d55a74 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableCell.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveTableCell>${1:cell 1}</com:TActiveTableCell>$0</string> + <key>name</key> + <string>TActiveTableCell</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveTableCell</string> + <key>uuid</key> + <string>6BF2C151-51EA-4165-93E9-ECC5133E558D</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableRow.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableRow.tmSnippet new file mode 100644 index 00000000..516fe286 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTableRow.tmSnippet @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveTableRow> + ${1:<com:TActiveTableCell>${2:cell 1}</com:TActiveTableCell> + <com:TActiveTableCell>${3:cell 2}</com:TActiveTableCell>}$0 +</com:TActiveTableRow></string> + <key>name</key> + <string>TActiveTableRow</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveTableRow</string> + <key>uuid</key> + <string>6D11476C-C336-40A8-A39B-207B531FBAD3</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TActiveTextBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTextBox.tmSnippet new file mode 100644 index 00000000..df9889a7 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TActiveTextBox.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TActiveTextBox ID="${1:textbox1}" />$0</string> + <key>name</key> + <string>TActiveTextBox</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TActiveTextBox</string> + <key>uuid</key> + <string>66A8F08B-0A0B-47D8-B8F4-58173B0458AE</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet new file mode 100644 index 00000000..2e257124 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TAutoComplete.tmSnippet @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TAutoComplete + ID="${1:textbox1}" + OnSuggest="${2:$1_suggestNames}" + OnSuggestionSelected="${3:$1_suggestionSelected1}" + ResultPanel.CssClass="${4:acomplete}" + Suggestions.DataKeyField="${5:id}" +> + <prop:Suggestions.ItemTemplate> + <li><%# ${6:\$this->Data['name']} %></li> + </prop:Suggestions.ItemTemplate> +</com:TAutoComplete>$0</string> + <key>name</key> + <string>TAutoComplete</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TAutoComplete</string> + <key>uuid</key> + <string>49C6A148-2B66-4220-849D-C59A21FF4281</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCallback.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCallback.tmSnippet new file mode 100644 index 00000000..a0386636 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCallback.tmSnippet @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TCallback ID="${1:callback1}" OnCallback="${2:$1_oncallback}" /> +<script type="text/javascript"> + function do_callback1() + { + var request = <%= $this->${3:$1}->ActiveControl->Javascript %>; + request.dispatch(); + } +</script></string> + <key>name</key> + <string>TCallback</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TCallback</string> + <key>uuid</key> + <string>B2C49ECC-2119-4609-9DE6-E85DA4FD7630</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet index e543353e..109d9726 100644 --- a/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet +++ b/editors/Textmate/Prado.tmbundle/Snippets/TCustomValidator.tmSnippet @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>content</key> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet new file mode 100644 index 00000000..fb6951de --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TDropContainer.tmSnippet @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TDropContainer + CssClass="${1:cart}" + ID="${2:cart}" + AcceptCssClass="${3:draggable}" + HoverCssClass="${4:cart-hover}" + OnDrop="${5:addItemToCart}" + OnCallback="${6:redrawCart}" +> +<!-- content --> +</com:TDropContainer></string> + <key>name</key> + <string>TDropContainer</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TDropContainer</string> + <key>uuid</key> + <string>427727D2-E017-48F9-BA6D-4D7435395419</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TEventTriggeredCallback.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TEventTriggeredCallback.tmSnippet new file mode 100644 index 00000000..a238c6d0 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TEventTriggeredCallback.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TEventTriggeredCallback ControlID="${1:ControlID}" EventName="${2:focus}" OnCallback="${3:event_callback}" /></string> + <key>name</key> + <string>TEventTriggeredCallback</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TEventTriggeredCallback</string> + <key>uuid</key> + <string>37F7D48C-F74E-4DF0-9CF1-2E1378FFDF49</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TInPlaceTextBox.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TInPlaceTextBox.tmSnippet new file mode 100644 index 00000000..f957be06 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TInPlaceTextBox.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TInPlaceTextBox ID="${1:textbox1}" Text="${2:text}" OnTextChanged="${3:textChanged}"/>$0</string> + <key>name</key> + <string>TInPlaceTextBox</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TInPlaceTextBox</string> + <key>uuid</key> + <string>0B978CED-4C7D-42B0-A55C-214E0A095C3E</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TTimeTriggeredCallback.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TTimeTriggeredCallback.tmSnippet new file mode 100644 index 00000000..961e9249 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TTimeTriggeredCallback.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TTimeTriggeredCallback Interval="${1:5}" OnCallback="${2:time_callback}" /></string> + <key>name</key> + <string>TTimeTriggeredCallback</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TTimeTriggeredCallback</string> + <key>uuid</key> + <string>56EA2FDF-FED2-438F-9CDB-DEA87ED7DC39</string> +</dict> +</plist> diff --git a/editors/Textmate/Prado.tmbundle/Snippets/TValueTriggeredCallback.tmSnippet b/editors/Textmate/Prado.tmbundle/Snippets/TValueTriggeredCallback.tmSnippet new file mode 100644 index 00000000..c559cad3 --- /dev/null +++ b/editors/Textmate/Prado.tmbundle/Snippets/TValueTriggeredCallback.tmSnippet @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string><com:TValueTriggeredCallback ControlID="${1:ControlID}" PropertyName="${2:value}" OnCallback="${3:value_callback}" /></string> + <key>name</key> + <string>TValueTriggeredCallback</string> + <key>scope</key> + <string>text.html</string> + <key>tabTrigger</key> + <string>TValueTriggeredCallback</string> + <key>uuid</key> + <string>59B41626-5E20-4FA4-9FAD-6B1511ED1A33</string> +</dict> +</plist> |