From a77420e8ea7e31d743424d792583d5dc368344fa Mon Sep 17 00:00:00 2001 From: Vincent de Lachaux Date: Sat, 22 Feb 2020 19:03:15 +0100 Subject: [PATCH 1/4] Update languages.yml I would like to add, to complete the 4D programming language, specific extensions, linked to JSON & XML, for the other files used into 4D projects repositories. Samples into this repository: https://github.com/vdelachaux/4DPop - JSON ".4DProject": https://github.com/vdelachaux/4DPop/blob/master/Project/4DPop.4DProject ".4DForm": https://github.com/vdelachaux/4DPop/blob/master/Project/Sources/Forms/ASSISTANT/form.4DForm - XML .4DCatalog: https://github.com/vdelachaux/4DPop/blob/master/Project/Sources/catalog.4DCatalog .4DSettings: https://github.com/vdelachaux/4DPop/blob/master/Project/Sources/settings.4DSettings --- lib/linguist/languages.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 89a54ad9ba..a2c2b7c7ab 100755 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -2346,6 +2346,8 @@ JSON: searchable: false extensions: - ".json" + - ".4DForm" + - ".4DProject" - ".avsc" - ".geojson" - ".gltf" @@ -5881,6 +5883,8 @@ XML: - wsdl extensions: - ".xml" + - ".4DCatalog" + - ".4DSettings" - ".adml" - ".admx" - ".ant" From c2280461e6d09c06d9a61f5a1d1c171e7a275142 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Wed, 8 Jun 2022 10:46:09 +0100 Subject: [PATCH 2/4] Remove 4DCatalog and 4DSettings from XML This isn't needed as the files are correctly detected as XML already --- lib/linguist/languages.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 8ba313a94d..0a01488d00 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -7070,8 +7070,6 @@ XML: - wsdl extensions: - ".xml" - - ".4DCatalog" - - ".4DSettings" - ".adml" - ".admx" - ".ant" From 07d8218f61a0a90258be664662998c25109abaf3 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Wed, 8 Jun 2022 10:52:27 +0100 Subject: [PATCH 3/4] Add samples Source: https://github.com/vdelachaux/4DPop-Git License: MIT --- samples/JSON/4DPopGit.4DProject | 3 + samples/JSON/form.4DForm | 1038 +++++++++++++++++++++++++++++++ 2 files changed, 1041 insertions(+) create mode 100644 samples/JSON/4DPopGit.4DProject create mode 100644 samples/JSON/form.4DForm diff --git a/samples/JSON/4DPopGit.4DProject b/samples/JSON/4DPopGit.4DProject new file mode 100644 index 0000000000..139a4583a8 --- /dev/null +++ b/samples/JSON/4DPopGit.4DProject @@ -0,0 +1,3 @@ +{ + "$comment": "The project file let you override the location for most folders" +} diff --git a/samples/JSON/form.4DForm b/samples/JSON/form.4DForm new file mode 100644 index 0000000000..c4f293ffa3 --- /dev/null +++ b/samples/JSON/form.4DForm @@ -0,0 +1,1038 @@ +{ + "$4d": { + "version": "1", + "kind": "form" + }, + "windowSizingX": "variable", + "windowSizingY": "variable", + "windowMinWidth": 0, + "windowMinHeight": 0, + "windowMaxWidth": 32767, + "windowMaxHeight": 32767, + "events": [ + "onLoad", + "onActivate", + "onUnload", + "onTimer", + "onPageChange" + ], + "windowTitle": "4DPop Git", + "destination": "detailScreen", + "pages": [ + { + "objects": { + "Rectangle": { + "type": "rectangle", + "top": 0, + "left": 0, + "width": 1120, + "height": 910, + "sizingX": "grow", + "sizingY": "grow", + "stroke": "transparent", + "fill": "automatic", + "visibility": "visible", + "strokeWidth": 0 + }, + "menu": { + "type": "listbox", + "left": 0, + "top": 83, + "width": 180, + "height": 69, + "events": [], + "action": "gotoPage", + "showHeaders": false, + "fill": "transparent", + "resizingMode": "legacy", + "scrollbarHorizontal": "hidden", + "scrollbarVertical": "hidden", + "listboxType": "collection", + "dataSource": "Form:C1466.menu", + "hideFocusRing": true, + "hideSystemHighlight": false, + "horizontalLineStroke": "transparent", + "verticalLineStroke": "transparent", + "sizingY": "fixed", + "borderStyle": "none", + "sortable": false, + "visibility": "visible", + "sizingX": "fixed", + "rowHeight": "2em", + "verticalAlign": "middle", + "focusable": false, + "columns": [ + { + "header": { + "name": "Header4", + "text": "Header4" + }, + "name": "Column4", + "width": 32, + "minWidth": 32, + "maxWidth": 32, + "resizable": false, + "enterable": false, + "dataSourceTypeHint": "picture", + "pictureFormat": "proportionalCenter", + "dataSource": "This:C1470.icon", + "footer": { + "name": "Footer4" + } + }, + { + "header": { + "text": "Header1", + "name": "Header1" + }, + "name": "Column1", + "footer": { + "name": "Footer1" + }, + "dataSource": "This:C1470.label", + "enterable": false + } + ] + }, + "project": { + "type": "input", + "left": 9, + "top": 63, + "width": 137, + "height": 17, + "dataSource": "Form:C1466.project.name", + "fill": "transparent", + "borderStyle": "none", + "fontWeight": "bold", + "hideFocusRing": true, + "sizingX": "fixed", + "textAlign": "left", + "stroke": "#696969", + "enterable": false, + "focusable": false, + "contextMenu": "none" + }, + "vSeparator_1": { + "type": "line", + "top": 60, + "left": 179, + "width": 0, + "height": 850, + "stroke": "#c0c0c0", + "startPoint": "topLeft", + "class": " ", + "sizingY": "grow" + }, + "Line": { + "type": "line", + "top": 82, + "left": 0, + "width": 1120, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0", + "right": 1120 + }, + "gitVersion": { + "type": "input", + "left": 22, + "top": 893, + "width": 117, + "height": 14, + "dataSource": "Form:C1466.git.version", + "fill": "transparent", + "borderStyle": "none", + "hideFocusRing": true, + "contextMenu": "none", + "enterable": false, + "focusable": false, + "fontSize": 10, + "sizingY": "move" + }, + "Line5": { + "type": "line", + "top": 59, + "left": 0, + "width": 1120, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0", + "right": 1120 + }, + "fetch": { + "type": "button", + "text": ":xliff:fetch", + "top": 6, + "left": 7, + "width": 52, + "height": 54, + "events": [ + "onClick" + ], + "style": "toolbar", + "icon": "/RESOURCES/Images/default/fetch.png", + "textPlacement": "bottom", + "fontSize": 11, + "borderStyle": "none", + "stroke": "#696969", + "visibility": "visible", + "method": "GIT OBJECTS" + }, + "pull": { + "type": "button", + "text": ":xliff:pull", + "top": 6, + "left": 65, + "width": 52, + "height": 54, + "events": [ + "onClick" + ], + "style": "toolbar", + "icon": "/RESOURCES/Images/default/pull.png", + "textPlacement": "bottom", + "fontSize": 11, + "borderStyle": "none", + "stroke": "#696969", + "method": "GIT OBJECTS", + "visibility": "visible" + }, + "push": { + "type": "button", + "text": ":xliff:push", + "top": 6, + "left": 121, + "width": 52, + "height": 54, + "events": [ + "onClick" + ], + "style": "toolbar", + "icon": "/RESOURCES/Images/default/push.png", + "textPlacement": "bottom", + "fontSize": 11, + "borderStyle": "none", + "stroke": "#696969", + "visibility": "visible", + "method": "GIT OBJECTS" + }, + "open": { + "type": "button", + "text": ":xliff:open", + "top": 2, + "left": 1014, + "width": 86, + "height": 62, + "events": [ + "onClick" + ], + "method": "GIT OBJECTS", + "focusable": false, + "style": "toolbar", + "icon": "/RESOURCES/Images/default/open.png", + "sizingX": "move", + "fontSize": 11 + }, + "gitLogo": { + "type": "picture", + "top": 892, + "left": 3, + "width": 16, + "height": 16, + "picture": "/RESOURCES/Images/logo.png", + "pictureFormat": "scaled", + "sizingY": "move" + }, + "Line7": { + "type": "line", + "top": 152, + "left": 0, + "width": 180, + "height": 0, + "startPoint": "topLeft", + "sizingX": "fixed", + "stroke": "#c0c0c0", + "right": 180 + }, + "selector": { + "type": "list", + "left": 0, + "top": 154, + "width": 179, + "height": 720, + "events": [ + "onClick", + "onDoubleClick", + "onSelectionChange" + ], + "scrollbarVertical": "hidden", + "scrollbarHorizontal": "hidden", + "focusable": true, + "enterable": false, + "borderStyle": "none", + "sizingY": "grow", + "method": "GIT OBJECTS", + "dataSource": "Form.selector\t", + "fill": "transparent" + } + } + }, + { + "objects": { + "Text1": { + "type": "text", + "text": ":xliff:workspace", + "top": 89, + "left": 185, + "width": 182, + "height": 16, + "fontWeight": "bold" + }, + "unstaged": { + "type": "listbox", + "left": 180, + "top": 112, + "width": 299, + "height": 636, + "events": [ + "onClick", + "onDoubleClick", + "onSelectionChange" + ], + "showHeaders": false, + "resizingMode": "legacy", + "scrollbarVertical": "visible", + "listboxType": "collection", + "dataSource": "Form:C1466.unstaged", + "hideFocusRing": true, + "horizontalLineStroke": "transparent", + "verticalLineStroke": "transparent", + "sizingY": "grow", + "borderStyle": "none", + "visibility": "visible", + "currentItemSource": "Form:C1466.currentUnstaged", + "currentItemPositionSource": "Form:C1466.itemPositionUnstaged", + "selectedItemsSource": "Form:C1466.selectedUnstaged", + "sizingX": "grow", + "sortable": false, + "method": "GIT OBJECTS", + "metaSource": "GIT Metas", + "fill": "transparent", + "columns": [ + { + "header": { + "text": "Header1", + "name": "Header2" + }, + "name": "Column2", + "footer": { + "name": "Footer2" + }, + "dataSource": "This:C1470.path", + "enterable": false + } + ] + }, + "staged": { + "type": "listbox", + "left": 180, + "top": 779, + "width": 299, + "height": 130, + "events": [ + "onClick", + "onDoubleClick", + "onSelectionChange" + ], + "showHeaders": false, + "resizingMode": "legacy", + "scrollbarVertical": "visible", + "listboxType": "collection", + "dataSource": "Form:C1466.staged", + "hideFocusRing": true, + "horizontalLineStroke": "transparent", + "verticalLineStroke": "transparent", + "sizingY": "grow", + "borderStyle": "none", + "visibility": "visible", + "sizingX": "grow", + "sortable": false, + "currentItemSource": "Form:C1466.currentStaged", + "currentItemPositionSource": "Form:C1466.itemPositionStaged", + "selectedItemsSource": "Form:C1466.selectedStaged", + "method": "GIT OBJECTS", + "metaSource": "GIT Metas", + "fill": "transparent", + "columns": [ + { + "header": { + "text": "Header1", + "name": "Header3" + }, + "name": "Column3", + "footer": { + "name": "Footer3" + }, + "dataSource": "This:C1470.path", + "enterable": false + } + ] + }, + "vSeparator_2": { + "type": "line", + "top": 60, + "left": 480, + "width": 0, + "height": 850, + "stroke": "#c0c0c0", + "startPoint": "topLeft", + "sizingY": "grow" + }, + "stage": { + "type": "button", + "text": ":xliff:stage", + "top": 86, + "left": 370, + "width": 108, + "height": 22, + "events": [ + "onClick" + ], + "style": "regular", + "sizingX": "move", + "shortcutAccel": true, + "shortcutControl": false, + "shortcutShift": true, + "shortcutAlt": false, + "shortcutKey": "s", + "focusable": false, + "method": "GIT OBJECTS" + }, + "Text3": { + "type": "text", + "text": ":xliff:index", + "top": 756, + "left": 185, + "width": 177, + "height": 16, + "sizingY": "fixed", + "fontWeight": "bold" + }, + "unstage": { + "type": "button", + "text": ":xliff:unstage", + "top": 753, + "left": 370, + "width": 106, + "height": 22, + "events": [ + "onClick" + ], + "style": "regular", + "sizingX": "move", + "shortcutAccel": true, + "shortcutControl": false, + "shortcutShift": true, + "shortcutAlt": false, + "shortcutKey": "s", + "focusable": false, + "method": "GIT OBJECTS" + }, + "diffTool": { + "type": "button", + "text": "diffTool", + "top": 941, + "left": 12, + "width": 87, + "height": 38, + "events": [ + "onClick" + ], + "shortcutAccel": true, + "shortcutControl": false, + "shortcutShift": false, + "shortcutAlt": false, + "shortcutKey": "d", + "sizingY": "move", + "style": "flat", + "method": "GIT OBJECTS", + "focusable": false + }, + "vSplitter_2": { + "type": "splitter", + "left": 480, + "top": 60, + "width": 1, + "height": 850, + "borderStyle": "none", + "sizingY": "grow" + }, + "Line1": { + "type": "line", + "top": 112, + "left": 180, + "width": 300, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0" + }, + "Line2": { + "type": "line", + "top": 749, + "left": 180, + "width": 299, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0" + }, + "Line3": { + "type": "line", + "top": 779, + "left": 180, + "width": 299, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0" + }, + "hAirbag": { + "type": "button", + "text": "Button", + "top": 60, + "left": 180, + "width": 220, + "height": 6, + "events": [], + "display": false + }, + "Splitter": { + "type": "splitter", + "left": 180, + "top": 748, + "width": 299, + "height": 1, + "borderStyle": "none", + "sizingX": "grow", + "splitterMode": "resize" + }, + "diff": { + "type": "input", + "left": 486, + "top": 84, + "width": 617, + "height": 719, + "dataSource": "Form:C1466.diff", + "borderStyle": "none", + "sizingX": "grow", + "sizingY": "grow", + "scrollbarHorizontal": "automatic", + "scrollbarVertical": "automatic", + "enterable": false, + "focusable": false, + "fontSize": 12, + "styledText": true, + "storeDefaultStyle": true, + "visibility": "hidden", + "fill": "automatic" + }, + "Input1": { + "type": "input", + "left": 482, + "top": 60, + "width": 636, + "height": 17, + "dataSource": "Form:C1466.currentUnstaged.path", + "sizingX": "grow", + "enterable": false, + "contextMenu": "none", + "focusable": false, + "borderStyle": "none", + "textAlign": "center", + "stroke": "#696969", + "fontSize": 12 + }, + "Line4": { + "type": "line", + "top": 818, + "left": 481, + "width": 639, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0", + "sizingY": "move" + }, + "commitSubject": { + "type": "input", + "left": 494, + "top": 830, + "width": 609, + "height": 17, + "dataSource": "Form:C1466.commitSubject", + "placeholder": ":xliff:commitSubject", + "sizingX": "grow", + "sizingY": "move", + "hideFocusRing": true, + "events": [ + "onAfterEdit" + ], + "method": "GIT OBJECTS" + }, + "commitDescription": { + "hideFocusRing": true, + "type": "input", + "left": 494, + "top": 849, + "width": 609, + "height": 17, + "dataSource": "Form:C1466.commitDescription", + "placeholder": ":xliff:description", + "sizingX": "grow", + "sizingY": "move" + }, + "commit": { + "type": "button", + "text": ":xliff:commit", + "top": 880, + "left": 841, + "width": 264, + "height": 22, + "events": [ + "onClick" + ], + "style": "regular", + "sizingX": "move", + "focusable": true, + "sizingY": "move", + "method": "GIT OBJECTS" + }, + "comitAmend": { + "type": "checkbox", + "text": ":xliff:amend", + "top": 872, + "left": 494, + "width": 318, + "height": 16, + "events": [ + "onClick" + ], + "dataSource": "Form:C1466.amend", + "dataSourceTypeHint": "boolean", + "sizingY": "move", + "focusable": false, + "method": "GIT OBJECTS" + }, + "stageAll": { + "type": "button", + "text": "", + "top": 60, + "left": 458, + "width": 22, + "height": 22, + "events": [ + "onClick" + ], + "shortcutAccel": true, + "shortcutControl": false, + "shortcutShift": true, + "shortcutAlt": true, + "shortcutKey": "s", + "sizingY": "fixed", + "style": "toolbar", + "method": "GIT OBJECTS", + "focusable": false, + "icon": "/RESOURCES/Images/default/stageAll.png", + "sizingX": "move", + "tooltip": ":xliff:stageAll" + } + } + }, + { + "objects": { + "commits": { + "type": "listbox", + "left": 180, + "top": 60, + "width": 940, + "height": 459, + "events": [ + "onSelectionChange" + ], + "listboxType": "collection", + "dataSource": "Form:C1466.commits", + "showHeaders": false, + "horizontalLineStroke": "transparent", + "verticalLineStroke": "transparent", + "selectionMode": "single", + "scrollbarHorizontal": "hidden", + "scrollbarVertical": "visible", + "sizingX": "grow", + "hideFocusRing": true, + "sizingY": "grow", + "borderStyle": "none", + "textAlign": "left", + "method": "GIT OBJECTS", + "currentItemSource": "Form:C1466.commitsCurrent", + "currentItemPositionSource": "Form:C1466.commitsPosition", + "selectedItemsSource": "Form:C1466.commitsSelected", + "columns": [ + { + "header": { + "text": "Header1", + "name": "Header5" + }, + "name": "Column5", + "footer": { + "name": "Footer5" + }, + "dataSource": "This:C1470.title", + "width": 400, + "enterable": false, + "minWidth": 400 + }, + { + "header": { + "name": "Header6", + "text": "Header6" + }, + "name": "Column6", + "dataSource": "This:C1470.author.name", + "footer": { + "name": "Footer6" + }, + "width": 230, + "enterable": false, + "minWidth": 200 + }, + { + "header": { + "name": "Header7", + "text": "Header7" + }, + "name": "Column7", + "dataSource": "This:C1470.fingerprint.short", + "footer": { + "name": "Footer7" + }, + "width": 90, + "resizable": false, + "enterable": false, + "maxWidth": 90 + }, + { + "header": { + "name": "Header8", + "text": "Header8" + }, + "name": "Column8", + "dataSource": "This:C1470.stamp", + "footer": { + "name": "Footer8" + }, + "dataSourceTypeHint": "text", + "enterable": false, + "width": 200, + "minWidth": 200, + "maxWidth": 400 + } + ] + }, + "Splitter1": { + "type": "splitter", + "left": 180, + "top": 520, + "width": 940, + "height": 1, + "borderStyle": "none", + "sizingX": "grow", + "splitterMode": "resize", + "right": 1120 + }, + "Line6": { + "type": "line", + "top": 519, + "left": 180, + "width": 940, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0", + "right": 1120, + "sizingY": "move" + }, + "detail_list": { + "type": "listbox", + "left": 180, + "top": 654, + "width": 518, + "height": 255, + "events": [ + "onSelectionChange" + ], + "listboxType": "collection", + "dataSource": "Form:C1466.commitDetail", + "method": "GIT OBJECTS", + "resizingMode": "legacy", + "showHeaders": false, + "horizontalLineStroke": "transparent", + "verticalLineStroke": "transparent", + "selectionMode": "single", + "borderStyle": "none", + "sortable": false, + "sizingY": "grow", + "sizingX": "grow", + "scrollbarHorizontal": "hidden", + "visibility": "hidden", + "focusable": true, + "metaSource": "GIT Metas ", + "currentItemSource": "Form:C1466.commitFilesCurrent", + "currentItemPositionSource": "Form:C1466.commitFilesPosition", + "selectedItemsSource": "Form:C1466.commitFilesSelected", + "hideFocusRing": true, + "fill": "automatic", + "columns": [ + { + "header": { + "text": "Header1", + "name": "Header9" + }, + "name": "Column9", + "dataSource": "This:C1470.label", + "footer": { + "name": "Footer9" + }, + "enterable": false + } + ] + }, + "detail_authorName": { + "type": "input", + "left": 319, + "top": 530, + "width": 345, + "height": 17, + "dataSource": "Form:C1466.commitsCurrent.author.name", + "enterable": false, + "contextMenu": "none", + "borderStyle": "none", + "fontWeight": "bold", + "focusable": false, + "visibility": "hidden" + }, + "detail_authorLabel": { + "type": "text", + "text": "AUTHOR", + "top": 531, + "left": 187, + "width": 62, + "height": 16, + "stroke": "#808080", + "visibility": "hidden", + "textAlign": "right" + }, + "detail_time": { + "type": "input", + "left": 319, + "top": 562, + "width": 345, + "height": 17, + "dataSource": "Form:C1466.commitsCurrent.stamp", + "enterable": false, + "contextMenu": "none", + "borderStyle": "none", + "fontWeight": "normal", + "focusable": false, + "stroke": "#808080", + "visibility": "hidden" + }, + "detail_shaLabel": { + "type": "text", + "text": "SHA", + "top": 581, + "left": 187, + "width": 62, + "height": 16, + "stroke": "#808080", + "textAlign": "right", + "visibility": "hidden" + }, + "detail_sha": { + "type": "input", + "left": 259, + "top": 581, + "width": 325, + "height": 17, + "dataSource": "Form:C1466.commitsCurrent.fingerprint.long", + "enterable": false, + "contextMenu": "none", + "borderStyle": "none", + "fontWeight": "normal", + "focusable": false, + "stroke": "automatic", + "visibility": "hidden" + }, + "detail_parentLabel": { + "type": "text", + "text": "PARENT", + "top": 599, + "left": 187, + "width": 62, + "height": 16, + "stroke": "#808080", + "textAlign": "right", + "visibility": "hidden" + }, + "detail_parent": { + "type": "input", + "left": 259, + "top": 599, + "width": 91, + "height": 17, + "dataSource": "Form:C1466.commitsCurrent.parent.short", + "enterable": false, + "contextMenu": "none", + "borderStyle": "none", + "fontWeight": "normal", + "focusable": false, + "stroke": "#1e90ff", + "textDecoration": "underline", + "visibility": "hidden", + "events": [ + "onClick" + ], + "method": "GIT OBJECTS" + }, + "detail_separator": { + "type": "line", + "top": 521, + "left": 699, + "width": 0, + "height": 409, + "stroke": "#c0c0c0", + "startPoint": "topLeft", + "class": " ", + "sizingY": "grow", + "visibility": "hidden" + }, + "detail_splitter": { + "type": "splitter", + "left": 699, + "top": 521, + "width": 1, + "height": 410, + "sizingY": "grow", + "visibility": "hidden", + "borderStyle": "none" + }, + "detail_line": { + "type": "line", + "top": 653, + "left": 180, + "width": 518, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0", + "right": 698, + "sizingY": "fixed", + "visibility": "hidden" + }, + "detail_authorName1": { + "type": "input", + "left": 180, + "top": 631, + "width": 518, + "height": 17, + "dataSource": "Form:C1466.commitsCurrent.title", + "enterable": false, + "contextMenu": "none", + "borderStyle": "none", + "fontWeight": "bold", + "focusable": false, + "visibility": "hidden", + "textAlign": "center", + "sizingX": "grow" + }, + "detail_line1": { + "type": "line", + "top": 626, + "left": 180, + "width": 518, + "height": 0, + "startPoint": "topLeft", + "sizingX": "grow", + "stroke": "#c0c0c0", + "right": 698, + "sizingY": "fixed", + "visibility": "hidden" + }, + "detail_authorAvatar": { + "type": "input", + "left": 259, + "top": 530, + "width": 56, + "height": 49, + "dataSourceTypeHint": "picture", + "dataSource": "Form:C1466.commitsCurrent.author.avatar", + "pictureFormat": "proportionalTopLeft", + "borderStyle": "none", + "contextMenu": "none", + "enterable": false, + "focusable": false, + "visibility": "hidden" + }, + "detail_time1": { + "type": "input", + "left": 319, + "top": 546, + "width": 345, + "height": 17, + "dataSource": "Form:C1466.commitsCurrent.author.mail", + "enterable": false, + "contextMenu": "none", + "borderStyle": "none", + "fontWeight": "normal", + "focusable": false, + "stroke": "#808080", + "visibility": "hidden" + }, + "diff1": { + "type": "input", + "left": 701, + "top": 521, + "width": 402, + "height": 373, + "dataSource": "Form:C1466.diff", + "borderStyle": "none", + "sizingX": "grow", + "sizingY": "grow", + "scrollbarHorizontal": "automatic", + "scrollbarVertical": "automatic", + "enterable": false, + "focusable": false, + "fontSize": 12, + "styledText": true, + "storeDefaultStyle": true, + "visibility": "hidden", + "contextMenu": "none", + "fill": "automatic" + } + } + } + ], + "method": "method.4dm", + "width": 1120, + "height": 910, + "memorizeGeometry": true, + "editor": { + "activeView": "View 1", + "defaultView": "View 1", + "views": { + "View 1": {} + } + } +} \ No newline at end of file From ae8243586c34fdd69c46107f8b6083e506d0b32b Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Wed, 8 Jun 2022 10:57:13 +0100 Subject: [PATCH 4/4] Replace with smaller sample Source: https://github.com/4D-JP/4d-test-read-only-fields/blob/b54a3ce77eefd1e825356b0fdad70b18baf6ed1c/read-only-fields.4dbase/Project/Sources/TableForms/1/Input/form.4DForm License: MIT --- samples/JSON/form.4DForm | 1362 ++++++++++++-------------------------- 1 file changed, 431 insertions(+), 931 deletions(-) diff --git a/samples/JSON/form.4DForm b/samples/JSON/form.4DForm index c4f293ffa3..f9bb026f56 100644 --- a/samples/JSON/form.4DForm +++ b/samples/JSON/form.4DForm @@ -1,1038 +1,538 @@ { - "$4d": { - "version": "1", - "kind": "form" - }, - "windowSizingX": "variable", - "windowSizingY": "variable", - "windowMinWidth": 0, - "windowMinHeight": 0, - "windowMaxWidth": 32767, - "windowMaxHeight": 32767, + "destination": "detailScreen", + "rightMargin": 19, + "bottomMargin": 20, + "markerBody": 197, + "markerBreak": 197, + "markerFooter": 207, "events": [ "onLoad", - "onActivate", - "onUnload", + "onValidate", + "onClick", + "onHeader", + "onPrintingBreak", + "onPrintingFooter", + "onDisplayDetail", + "onOutsideCall", + "onDoubleClick", + "onDrop", + "onMenuSelect", + "onPluginArea", + "onDataChange", + "onDragOver", + "onPrintingDetail", + "onOpenDetail", + "onCloseDetail", "onTimer", + "onAfterKeystroke", + "onLoadRecord", + "onAfterEdit", + "onBeginDragOver", + "onBoundVariableChange", "onPageChange" ], - "windowTitle": "4DPop Git", - "destination": "detailScreen", + "pageFormat": { + "paperName": "A4", + "paperWidth": "842pt", + "paperHeight": "595pt" + }, "pages": [ + null, { "objects": { - "Rectangle": { - "type": "rectangle", - "top": 0, - "left": 0, - "width": 1120, - "height": 910, - "sizingX": "grow", - "sizingY": "grow", - "stroke": "transparent", - "fill": "automatic", - "visibility": "visible", - "strokeWidth": 0 - }, - "menu": { - "type": "listbox", - "left": 0, - "top": 83, - "width": 180, - "height": 69, - "events": [], - "action": "gotoPage", - "showHeaders": false, - "fill": "transparent", - "resizingMode": "legacy", - "scrollbarHorizontal": "hidden", - "scrollbarVertical": "hidden", - "listboxType": "collection", - "dataSource": "Form:C1466.menu", - "hideFocusRing": true, - "hideSystemHighlight": false, - "horizontalLineStroke": "transparent", - "verticalLineStroke": "transparent", - "sizingY": "fixed", - "borderStyle": "none", - "sortable": false, - "visibility": "visible", - "sizingX": "fixed", - "rowHeight": "2em", - "verticalAlign": "middle", - "focusable": false, - "columns": [ - { - "header": { - "name": "Header4", - "text": "Header4" - }, - "name": "Column4", - "width": 32, - "minWidth": 32, - "maxWidth": 32, - "resizable": false, - "enterable": false, - "dataSourceTypeHint": "picture", - "pictureFormat": "proportionalCenter", - "dataSource": "This:C1470.icon", - "footer": { - "name": "Footer4" - } - }, - { - "header": { - "text": "Header1", - "name": "Header1" - }, - "name": "Column1", - "footer": { - "name": "Footer1" - }, - "dataSource": "This:C1470.label", - "enterable": false - } - ] - }, - "project": { - "type": "input", - "left": 9, - "top": 63, - "width": 137, + "テキスト6": { + "type": "text", + "top": 93, + "left": 24, + "width": 515, "height": 17, - "dataSource": "Form:C1466.project.name", - "fill": "transparent", - "borderStyle": "none", - "fontWeight": "bold", - "hideFocusRing": true, - "sizingX": "fixed", - "textAlign": "left", - "stroke": "#696969", - "enterable": false, - "focusable": false, - "contextMenu": "none" - }, - "vSeparator_1": { - "type": "line", - "top": 60, - "left": 179, - "width": 0, - "height": 850, - "stroke": "#c0c0c0", - "startPoint": "topLeft", - "class": " ", - "sizingY": "grow" - }, - "Line": { - "type": "line", - "top": 82, - "left": 0, - "width": 1120, - "height": 0, - "startPoint": "topLeft", "sizingX": "grow", - "stroke": "#c0c0c0", - "right": 1120 - }, - "gitVersion": { - "type": "input", - "left": 22, - "top": 893, - "width": 117, - "height": 14, - "dataSource": "Form:C1466.git.version", - "fill": "transparent", - "borderStyle": "none", - "hideFocusRing": true, - "contextMenu": "none", - "enterable": false, - "focusable": false, - "fontSize": 10, - "sizingY": "move" + "stroke": "#000000", + "text": "Table_1" }, - "Line5": { + "線7": { "type": "line", - "top": 59, - "left": 0, - "width": 1120, - "height": 0, - "startPoint": "topLeft", - "sizingX": "grow", - "stroke": "#c0c0c0", - "right": 1120 - }, - "fetch": { - "type": "button", - "text": ":xliff:fetch", - "top": 6, - "left": 7, - "width": 52, - "height": 54, - "events": [ - "onClick" - ], - "style": "toolbar", - "icon": "/RESOURCES/Images/default/fetch.png", - "textPlacement": "bottom", - "fontSize": 11, - "borderStyle": "none", - "stroke": "#696969", - "visibility": "visible", - "method": "GIT OBJECTS" + "top": 77, + "left": 19, + "width": 644, + "sizingX": "grow" }, - "pull": { - "type": "button", - "text": ":xliff:pull", - "top": 6, - "left": 65, - "width": 52, - "height": 54, + "bFirst": { + "type": "pictureButton", + "top": 16, + "left": 21, + "width": 48, + "height": 48, + "tooltip": { + "$ref": "/SOURCES/tips.json#/先頭レコード" + }, + "action": "firstRecord", + "rowCount": 4, + "picture": "/RESOURCES/Images/Buttons/LightGrey/FirstRecord.png", + "switchWhenRollover": true, + "switchBackWhenReleased": true, + "useLastFrameAsDisabled": true, "events": [ "onClick" - ], - "style": "toolbar", - "icon": "/RESOURCES/Images/default/pull.png", - "textPlacement": "bottom", - "fontSize": 11, - "borderStyle": "none", - "stroke": "#696969", - "method": "GIT OBJECTS", - "visibility": "visible" + ] }, - "push": { - "type": "button", - "text": ":xliff:push", - "top": 6, - "left": 121, - "width": 52, - "height": 54, + "bPrevious": { + "type": "pictureButton", + "top": 16, + "left": 84, + "width": 48, + "height": 48, + "tooltip": { + "$ref": "/SOURCES/tips.json#/前レコード" + }, + "action": "previousRecord", + "rowCount": 4, + "picture": "/RESOURCES/Images/Buttons/LightGrey/PreviousRecord.png", + "switchWhenRollover": true, + "switchBackWhenReleased": true, + "useLastFrameAsDisabled": true, "events": [ "onClick" - ], - "style": "toolbar", - "icon": "/RESOURCES/Images/default/push.png", - "textPlacement": "bottom", - "fontSize": 11, - "borderStyle": "none", - "stroke": "#696969", - "visibility": "visible", - "method": "GIT OBJECTS" + ] }, - "open": { - "type": "button", - "text": ":xliff:open", - "top": 2, - "left": 1014, - "width": 86, - "height": 62, + "bNext": { + "type": "pictureButton", + "top": 16, + "left": 147, + "width": 48, + "height": 48, + "tooltip": { + "$ref": "/SOURCES/tips.json#/次レコード" + }, + "action": "nextRecord", + "rowCount": 4, + "picture": "/RESOURCES/Images/Buttons/LightGrey/NextRecord.png", + "switchWhenRollover": true, + "switchBackWhenReleased": true, + "useLastFrameAsDisabled": true, "events": [ "onClick" - ], - "method": "GIT OBJECTS", - "focusable": false, - "style": "toolbar", - "icon": "/RESOURCES/Images/default/open.png", - "sizingX": "move", - "fontSize": 11 - }, - "gitLogo": { - "type": "picture", - "top": 892, - "left": 3, - "width": 16, - "height": 16, - "picture": "/RESOURCES/Images/logo.png", - "pictureFormat": "scaled", - "sizingY": "move" - }, - "Line7": { - "type": "line", - "top": 152, - "left": 0, - "width": 180, - "height": 0, - "startPoint": "topLeft", - "sizingX": "fixed", - "stroke": "#c0c0c0", - "right": 180 - }, - "selector": { - "type": "list", - "left": 0, - "top": 154, - "width": 179, - "height": 720, - "events": [ - "onClick", - "onDoubleClick", - "onSelectionChange" - ], - "scrollbarVertical": "hidden", - "scrollbarHorizontal": "hidden", - "focusable": true, - "enterable": false, - "borderStyle": "none", - "sizingY": "grow", - "method": "GIT OBJECTS", - "dataSource": "Form.selector\t", - "fill": "transparent" - } - } - }, - { - "objects": { - "Text1": { - "type": "text", - "text": ":xliff:workspace", - "top": 89, - "left": 185, - "width": 182, - "height": 16, - "fontWeight": "bold" - }, - "unstaged": { - "type": "listbox", - "left": 180, - "top": 112, - "width": 299, - "height": 636, - "events": [ - "onClick", - "onDoubleClick", - "onSelectionChange" - ], - "showHeaders": false, - "resizingMode": "legacy", - "scrollbarVertical": "visible", - "listboxType": "collection", - "dataSource": "Form:C1466.unstaged", - "hideFocusRing": true, - "horizontalLineStroke": "transparent", - "verticalLineStroke": "transparent", - "sizingY": "grow", - "borderStyle": "none", - "visibility": "visible", - "currentItemSource": "Form:C1466.currentUnstaged", - "currentItemPositionSource": "Form:C1466.itemPositionUnstaged", - "selectedItemsSource": "Form:C1466.selectedUnstaged", - "sizingX": "grow", - "sortable": false, - "method": "GIT OBJECTS", - "metaSource": "GIT Metas", - "fill": "transparent", - "columns": [ - { - "header": { - "text": "Header1", - "name": "Header2" - }, - "name": "Column2", - "footer": { - "name": "Footer2" - }, - "dataSource": "This:C1470.path", - "enterable": false - } ] }, - "staged": { - "type": "listbox", - "left": 180, - "top": 779, - "width": 299, - "height": 130, + "bLast": { + "type": "pictureButton", + "top": 16, + "left": 210, + "width": 48, + "height": 48, + "tooltip": { + "$ref": "/SOURCES/tips.json#/最終レコード" + }, + "action": "lastRecord", + "rowCount": 4, + "picture": "/RESOURCES/Images/Buttons/LightGrey/LastRecord.png", + "switchWhenRollover": true, + "switchBackWhenReleased": true, + "useLastFrameAsDisabled": true, "events": [ - "onClick", - "onDoubleClick", - "onSelectionChange" - ], - "showHeaders": false, - "resizingMode": "legacy", - "scrollbarVertical": "visible", - "listboxType": "collection", - "dataSource": "Form:C1466.staged", - "hideFocusRing": true, - "horizontalLineStroke": "transparent", - "verticalLineStroke": "transparent", - "sizingY": "grow", - "borderStyle": "none", - "visibility": "visible", - "sizingX": "grow", - "sortable": false, - "currentItemSource": "Form:C1466.currentStaged", - "currentItemPositionSource": "Form:C1466.itemPositionStaged", - "selectedItemsSource": "Form:C1466.selectedStaged", - "method": "GIT OBJECTS", - "metaSource": "GIT Metas", - "fill": "transparent", - "columns": [ - { - "header": { - "text": "Header1", - "name": "Header3" - }, - "name": "Column3", - "footer": { - "name": "Footer3" - }, - "dataSource": "This:C1470.path", - "enterable": false - } + "onClick" ] }, - "vSeparator_2": { - "type": "line", - "top": 60, - "left": 480, - "width": 0, - "height": 850, - "stroke": "#c0c0c0", - "startPoint": "topLeft", - "sizingY": "grow" - }, - "stage": { - "type": "button", - "text": ":xliff:stage", - "top": 86, - "left": 370, - "width": 108, - "height": 22, + "bDelete": { + "type": "pictureButton", + "top": 16, + "left": 273, + "width": 48, + "height": 48, + "tooltip": { + "$ref": "/SOURCES/tips.json#/レコード削除" + }, + "action": "deleteRecord", + "rowCount": 4, + "picture": "/RESOURCES/Images/Buttons/LightGrey/DeleteRecord.png", + "switchWhenRollover": true, + "switchBackWhenReleased": true, + "useLastFrameAsDisabled": true, "events": [ "onClick" - ], - "style": "regular", - "sizingX": "move", - "shortcutAccel": true, - "shortcutControl": false, - "shortcutShift": true, - "shortcutAlt": false, - "shortcutKey": "s", - "focusable": false, - "method": "GIT OBJECTS" - }, - "Text3": { - "type": "text", - "text": ":xliff:index", - "top": 756, - "left": 185, - "width": 177, - "height": 16, - "sizingY": "fixed", - "fontWeight": "bold" + ] }, - "unstage": { - "type": "button", - "text": ":xliff:unstage", - "top": 753, - "left": 370, - "width": 106, - "height": 22, + "bCancel": { + "type": "pictureButton", + "top": 16, + "left": 336, + "width": 48, + "height": 48, + "tooltip": { + "$ref": "/SOURCES/tips.json#/キャンセル" + }, + "action": "cancel", + "rowCount": 4, + "picture": "/RESOURCES/Images/Buttons/LightGrey/Cancel.png", + "switchWhenRollover": true, + "switchBackWhenReleased": true, + "useLastFrameAsDisabled": true, "events": [ "onClick" - ], - "style": "regular", - "sizingX": "move", - "shortcutAccel": true, - "shortcutControl": false, - "shortcutShift": true, - "shortcutAlt": false, - "shortcutKey": "s", - "focusable": false, - "method": "GIT OBJECTS" + ] }, - "diffTool": { - "type": "button", - "text": "diffTool", - "top": 941, - "left": 12, - "width": 87, - "height": 38, + "bValidate": { + "type": "pictureButton", + "top": 16, + "left": 399, + "width": 48, + "height": 48, + "tooltip": { + "$ref": "/SOURCES/tips.json#/OK" + }, + "action": "accept", + "rowCount": 4, + "picture": "/RESOURCES/Images/Buttons/LightGrey/Validate.png", + "switchWhenRollover": true, + "switchBackWhenReleased": true, + "useLastFrameAsDisabled": true, "events": [ "onClick" - ], - "shortcutAccel": true, - "shortcutControl": false, - "shortcutShift": false, - "shortcutAlt": false, - "shortcutKey": "d", - "sizingY": "move", - "style": "flat", - "method": "GIT OBJECTS", - "focusable": false - }, - "vSplitter_2": { - "type": "splitter", - "left": 480, - "top": 60, - "width": 1, - "height": 850, - "borderStyle": "none", - "sizingY": "grow" - }, - "Line1": { - "type": "line", - "top": 112, - "left": 180, - "width": 300, - "height": 0, - "startPoint": "topLeft", - "sizingX": "grow", - "stroke": "#c0c0c0" - }, - "Line2": { - "type": "line", - "top": 749, - "left": 180, - "width": 299, - "height": 0, - "startPoint": "topLeft", - "sizingX": "grow", - "stroke": "#c0c0c0" - }, - "Line3": { - "type": "line", - "top": 779, - "left": 180, - "width": 299, - "height": 0, - "startPoint": "topLeft", - "sizingX": "grow", - "stroke": "#c0c0c0" + ] }, - "hAirbag": { - "type": "button", - "text": "Button", - "top": 60, - "left": 180, - "width": 220, - "height": 6, - "events": [], - "display": false + "テキスト8": { + "type": "text", + "top": 146, + "left": 30, + "width": 59, + "height": 17, + "textAlign": "right", + "text": "ID : " }, - "Splitter": { - "type": "splitter", - "left": 180, - "top": 748, - "width": 299, - "height": 1, - "borderStyle": "none", - "sizingX": "grow", - "splitterMode": "resize" + "テキスト9": { + "type": "text", + "top": 173, + "left": 30, + "width": 59, + "height": 17, + "textAlign": "right", + "text": "Field_2 : " }, - "diff": { - "type": "input", - "left": 486, - "top": 84, - "width": 617, - "height": 719, - "dataSource": "Form:C1466.diff", - "borderStyle": "none", - "sizingX": "grow", - "sizingY": "grow", - "scrollbarHorizontal": "automatic", - "scrollbarVertical": "automatic", - "enterable": false, - "focusable": false, - "fontSize": 12, - "styledText": true, - "storeDefaultStyle": true, - "visibility": "hidden", - "fill": "automatic" + "テキスト10": { + "type": "text", + "top": 200, + "left": 30, + "width": 59, + "height": 17, + "textAlign": "right", + "text": "Field_3 : " }, - "Input1": { + "ID": { "type": "input", - "left": 482, - "top": 60, - "width": 636, + "top": 146, + "left": 94, + "width": 64, "height": 17, - "dataSource": "Form:C1466.currentUnstaged.path", - "sizingX": "grow", + "dataSource": "[Table_1:1]ID:1", + "dataSourceTypeHint": "integer", + "textAlign": "left", + "focusable": false, + "fill": "transparent", + "borderStyle": "sunken", "enterable": false, "contextMenu": "none", - "focusable": false, - "borderStyle": "none", - "textAlign": "center", - "stroke": "#696969", - "fontSize": 12 - }, - "Line4": { - "type": "line", - "top": 818, - "left": 481, - "width": 639, - "height": 0, - "startPoint": "topLeft", - "sizingX": "grow", - "stroke": "#c0c0c0", - "sizingY": "move" + "dragging": "none", + "dropping": "none", + "events": [ + "onLoad", + "onValidate", + "onClick", + "onHeader", + "onPrintingBreak", + "onPrintingFooter", + "onDisplayDetail", + "onDataChange", + "onPrintingDetail" + ] }, - "commitSubject": { + "Field_2": { "type": "input", - "left": 494, - "top": 830, - "width": 609, + "top": 173, + "left": 94, + "width": 305, "height": 17, - "dataSource": "Form:C1466.commitSubject", - "placeholder": ":xliff:commitSubject", - "sizingX": "grow", - "sizingY": "move", - "hideFocusRing": true, + "dataSource": "[Table_1:1]Field_2:2", + "textAlign": "left", + "fill": "#FFFFFF", + "borderStyle": "sunken", + "dragging": "none", + "dropping": "none", "events": [ - "onAfterEdit" - ], - "method": "GIT OBJECTS" + "onLoad", + "onValidate", + "onClick", + "onHeader", + "onPrintingBreak", + "onPrintingFooter", + "onDisplayDetail", + "onDataChange", + "onPrintingDetail" + ] }, - "commitDescription": { - "hideFocusRing": true, + "Field_3": { "type": "input", - "left": 494, - "top": 849, - "width": 609, + "top": 200, + "left": 94, + "width": 305, "height": 17, - "dataSource": "Form:C1466.commitDescription", - "placeholder": ":xliff:description", - "sizingX": "grow", - "sizingY": "move" - }, - "commit": { - "type": "button", - "text": ":xliff:commit", - "top": 880, - "left": 841, - "width": 264, - "height": 22, - "events": [ - "onClick" - ], - "style": "regular", - "sizingX": "move", - "focusable": true, - "sizingY": "move", - "method": "GIT OBJECTS" - }, - "comitAmend": { - "type": "checkbox", - "text": ":xliff:amend", - "top": 872, - "left": 494, - "width": 318, - "height": 16, - "events": [ - "onClick" - ], - "dataSource": "Form:C1466.amend", - "dataSourceTypeHint": "boolean", - "sizingY": "move", - "focusable": false, - "method": "GIT OBJECTS" - }, - "stageAll": { - "type": "button", - "text": "", - "top": 60, - "left": 458, - "width": 22, - "height": 22, - "events": [ - "onClick" - ], - "shortcutAccel": true, - "shortcutControl": false, - "shortcutShift": true, - "shortcutAlt": true, - "shortcutKey": "s", - "sizingY": "fixed", - "style": "toolbar", - "method": "GIT OBJECTS", - "focusable": false, - "icon": "/RESOURCES/Images/default/stageAll.png", - "sizingX": "move", - "tooltip": ":xliff:stageAll" - } - } - }, - { - "objects": { - "commits": { - "type": "listbox", - "left": 180, - "top": 60, - "width": 940, - "height": 459, - "events": [ - "onSelectionChange" - ], - "listboxType": "collection", - "dataSource": "Form:C1466.commits", - "showHeaders": false, - "horizontalLineStroke": "transparent", - "verticalLineStroke": "transparent", - "selectionMode": "single", - "scrollbarHorizontal": "hidden", - "scrollbarVertical": "visible", - "sizingX": "grow", - "hideFocusRing": true, - "sizingY": "grow", - "borderStyle": "none", + "dataSource": "[Table_1:1]Field_3:3", "textAlign": "left", - "method": "GIT OBJECTS", - "currentItemSource": "Form:C1466.commitsCurrent", - "currentItemPositionSource": "Form:C1466.commitsPosition", - "selectedItemsSource": "Form:C1466.commitsSelected", - "columns": [ - { - "header": { - "text": "Header1", - "name": "Header5" - }, - "name": "Column5", - "footer": { - "name": "Footer5" - }, - "dataSource": "This:C1470.title", - "width": 400, - "enterable": false, - "minWidth": 400 - }, - { - "header": { - "name": "Header6", - "text": "Header6" - }, - "name": "Column6", - "dataSource": "This:C1470.author.name", - "footer": { - "name": "Footer6" - }, - "width": 230, - "enterable": false, - "minWidth": 200 - }, - { - "header": { - "name": "Header7", - "text": "Header7" - }, - "name": "Column7", - "dataSource": "This:C1470.fingerprint.short", - "footer": { - "name": "Footer7" - }, - "width": 90, - "resizable": false, - "enterable": false, - "maxWidth": 90 - }, - { - "header": { - "name": "Header8", - "text": "Header8" - }, - "name": "Column8", - "dataSource": "This:C1470.stamp", - "footer": { - "name": "Footer8" - }, - "dataSourceTypeHint": "text", - "enterable": false, - "width": 200, - "minWidth": 200, - "maxWidth": 400 - } - ] - }, - "Splitter1": { - "type": "splitter", - "left": 180, - "top": 520, - "width": 940, - "height": 1, - "borderStyle": "none", - "sizingX": "grow", - "splitterMode": "resize", - "right": 1120 - }, - "Line6": { - "type": "line", - "top": 519, - "left": 180, - "width": 940, - "height": 0, - "startPoint": "topLeft", - "sizingX": "grow", - "stroke": "#c0c0c0", - "right": 1120, - "sizingY": "move" - }, - "detail_list": { - "type": "listbox", - "left": 180, - "top": 654, - "width": 518, - "height": 255, + "fill": "#FFFFFF", + "borderStyle": "sunken", + "dragging": "none", + "dropping": "none", "events": [ - "onSelectionChange" - ], - "listboxType": "collection", - "dataSource": "Form:C1466.commitDetail", - "method": "GIT OBJECTS", - "resizingMode": "legacy", - "showHeaders": false, - "horizontalLineStroke": "transparent", - "verticalLineStroke": "transparent", - "selectionMode": "single", - "borderStyle": "none", - "sortable": false, - "sizingY": "grow", - "sizingX": "grow", - "scrollbarHorizontal": "hidden", - "visibility": "hidden", - "focusable": true, - "metaSource": "GIT Metas ", - "currentItemSource": "Form:C1466.commitFilesCurrent", - "currentItemPositionSource": "Form:C1466.commitFilesPosition", - "selectedItemsSource": "Form:C1466.commitFilesSelected", - "hideFocusRing": true, - "fill": "automatic", - "columns": [ - { - "header": { - "text": "Header1", - "name": "Header9" - }, - "name": "Column9", - "dataSource": "This:C1470.label", - "footer": { - "name": "Footer9" - }, - "enterable": false - } + "onLoad", + "onValidate", + "onClick", + "onHeader", + "onPrintingBreak", + "onPrintingFooter", + "onDisplayDetail", + "onDataChange", + "onPrintingDetail" ] }, - "detail_authorName": { + "Variable": { "type": "input", - "left": 319, - "top": 530, - "width": 345, + "top": 94, + "left": 418, + "width": 211, "height": 17, - "dataSource": "Form:C1466.commitsCurrent.author.name", + "dataSource": "Read only state:C362([Table_1:1])", + "dataSourceTypeHint": "undefined", + "focusable": false, + "fill": "transparent", + "borderStyle": "none", "enterable": false, "contextMenu": "none", - "borderStyle": "none", - "fontWeight": "bold", - "focusable": false, - "visibility": "hidden" + "dragging": "none", + "dropping": "none" }, - "detail_authorLabel": { + "Text": { "type": "text", - "text": "AUTHOR", - "top": 531, - "left": 187, - "width": 62, - "height": 16, - "stroke": "#808080", - "visibility": "hidden", - "textAlign": "right" + "top": 94, + "left": 122, + "width": 276, + "height": 17, + "text": "Read only state([Table_1])" }, - "detail_time": { + "Variable1": { "type": "input", - "left": 319, - "top": 562, - "width": 345, + "top": 114, + "left": 418, + "width": 211, "height": 17, - "dataSource": "Form:C1466.commitsCurrent.stamp", + "dataSource": "Locked:C147([Table_1:1])", + "dataSourceTypeHint": "undefined", + "focusable": false, + "fill": "transparent", + "borderStyle": "none", "enterable": false, "contextMenu": "none", - "borderStyle": "none", - "fontWeight": "normal", - "focusable": false, - "stroke": "#808080", - "visibility": "hidden" + "dragging": "none", + "dropping": "none" + }, + "Text1": { + "type": "text", + "top": 114, + "left": 122, + "width": 276, + "height": 17, + "text": "Locked([Table_1])" }, - "detail_shaLabel": { + "テキスト1": { "type": "text", - "text": "SHA", - "top": 581, - "left": 187, - "width": 62, - "height": 16, - "stroke": "#808080", + "top": 326, + "left": 30, + "width": 59, + "height": 17, "textAlign": "right", - "visibility": "hidden" + "text": "ID : " }, - "detail_sha": { - "type": "input", - "left": 259, - "top": 581, - "width": 325, + "テキスト2": { + "type": "text", + "top": 353, + "left": 30, + "width": 59, "height": 17, - "dataSource": "Form:C1466.commitsCurrent.fingerprint.long", - "enterable": false, - "contextMenu": "none", - "borderStyle": "none", - "fontWeight": "normal", - "focusable": false, - "stroke": "automatic", - "visibility": "hidden" + "textAlign": "right", + "text": "Field_2 : " }, - "detail_parentLabel": { + "テキスト3": { "type": "text", - "text": "PARENT", - "top": 599, - "left": 187, - "width": 62, - "height": 16, - "stroke": "#808080", + "top": 380, + "left": 30, + "width": 59, + "height": 17, "textAlign": "right", - "visibility": "hidden" + "text": "Field_3 : " }, - "detail_parent": { + "ID1": { "type": "input", - "left": 259, - "top": 599, - "width": 91, + "top": 326, + "left": 94, + "width": 64, "height": 17, - "dataSource": "Form:C1466.commitsCurrent.parent.short", + "dataSource": "[Table_2:2]ID:1", + "dataSourceTypeHint": "integer", + "textAlign": "left", + "focusable": false, + "fill": "transparent", + "borderStyle": "sunken", "enterable": false, "contextMenu": "none", - "borderStyle": "none", - "fontWeight": "normal", - "focusable": false, - "stroke": "#1e90ff", - "textDecoration": "underline", - "visibility": "hidden", + "dragging": "none", + "dropping": "none", "events": [ - "onClick" - ], - "method": "GIT OBJECTS" - }, - "detail_separator": { - "type": "line", - "top": 521, - "left": 699, - "width": 0, - "height": 409, - "stroke": "#c0c0c0", - "startPoint": "topLeft", - "class": " ", - "sizingY": "grow", - "visibility": "hidden" - }, - "detail_splitter": { - "type": "splitter", - "left": 699, - "top": 521, - "width": 1, - "height": 410, - "sizingY": "grow", - "visibility": "hidden", - "borderStyle": "none" + "onLoad", + "onValidate", + "onClick", + "onHeader", + "onPrintingBreak", + "onPrintingFooter", + "onDisplayDetail", + "onDataChange", + "onPrintingDetail" + ] }, - "detail_line": { - "type": "line", - "top": 653, - "left": 180, - "width": 518, - "height": 0, - "startPoint": "topLeft", - "sizingX": "grow", - "stroke": "#c0c0c0", - "right": 698, - "sizingY": "fixed", - "visibility": "hidden" + "Field_1": { + "type": "input", + "top": 353, + "left": 94, + "width": 305, + "height": 17, + "dataSource": "[Table_2:2]Field_2:2", + "textAlign": "left", + "fill": "#FFFFFF", + "borderStyle": "sunken", + "dragging": "none", + "dropping": "none", + "events": [ + "onLoad", + "onValidate", + "onClick", + "onHeader", + "onPrintingBreak", + "onPrintingFooter", + "onDisplayDetail", + "onDataChange", + "onPrintingDetail" + ] }, - "detail_authorName1": { + "Field_4": { "type": "input", - "left": 180, - "top": 631, - "width": 518, + "top": 380, + "left": 94, + "width": 305, "height": 17, - "dataSource": "Form:C1466.commitsCurrent.title", - "enterable": false, - "contextMenu": "none", - "borderStyle": "none", - "fontWeight": "bold", - "focusable": false, - "visibility": "hidden", - "textAlign": "center", - "sizingX": "grow" + "dataSource": "[Table_2:2]Field_3:3", + "textAlign": "left", + "fill": "#FFFFFF", + "borderStyle": "sunken", + "dragging": "none", + "dropping": "none", + "events": [ + "onLoad", + "onValidate", + "onClick", + "onHeader", + "onPrintingBreak", + "onPrintingFooter", + "onDisplayDetail", + "onDataChange", + "onPrintingDetail" + ] }, - "detail_line1": { - "type": "line", - "top": 626, - "left": 180, - "width": 518, - "height": 0, - "startPoint": "topLeft", + "テキスト4": { + "type": "text", + "top": 273, + "left": 24, + "width": 515, + "height": 17, "sizingX": "grow", - "stroke": "#c0c0c0", - "right": 698, - "sizingY": "fixed", - "visibility": "hidden" + "stroke": "#000000", + "text": "Table_2" }, - "detail_authorAvatar": { + "Variable2": { "type": "input", - "left": 259, - "top": 530, - "width": 56, - "height": 49, - "dataSourceTypeHint": "picture", - "dataSource": "Form:C1466.commitsCurrent.author.avatar", - "pictureFormat": "proportionalTopLeft", + "top": 274, + "left": 418, + "width": 211, + "height": 17, + "dataSource": "Read only state:C362([Table_2:2])", + "dataSourceTypeHint": "undefined", + "focusable": false, + "fill": "transparent", "borderStyle": "none", - "contextMenu": "none", "enterable": false, - "focusable": false, - "visibility": "hidden" + "contextMenu": "none", + "dragging": "none", + "dropping": "none" }, - "detail_time1": { - "type": "input", - "left": 319, - "top": 546, - "width": 345, + "Text2": { + "type": "text", + "top": 274, + "left": 122, + "width": 276, "height": 17, - "dataSource": "Form:C1466.commitsCurrent.author.mail", - "enterable": false, - "contextMenu": "none", - "borderStyle": "none", - "fontWeight": "normal", - "focusable": false, - "stroke": "#808080", - "visibility": "hidden" + "text": "Read only state([Table_2])" }, - "diff1": { + "Variable3": { "type": "input", - "left": 701, - "top": 521, - "width": 402, - "height": 373, - "dataSource": "Form:C1466.diff", + "top": 294, + "left": 418, + "width": 211, + "height": 17, + "dataSource": "Locked:C147([Table_2:2])", + "dataSourceTypeHint": "undefined", + "focusable": false, + "fill": "transparent", "borderStyle": "none", - "sizingX": "grow", - "sizingY": "grow", - "scrollbarHorizontal": "automatic", - "scrollbarVertical": "automatic", "enterable": false, - "focusable": false, - "fontSize": 12, - "styledText": true, - "storeDefaultStyle": true, - "visibility": "hidden", "contextMenu": "none", - "fill": "automatic" + "dragging": "none", + "dropping": "none" + }, + "Text3": { + "type": "text", + "top": 294, + "left": 122, + "width": 276, + "height": 17, + "text": "Locked([Table_2])" } } } ], - "method": "method.4dm", - "width": 1120, - "height": 910, - "memorizeGeometry": true, "editor": { "activeView": "View 1", "defaultView": "View 1", "views": { - "View 1": {} + "View 1": {}, + "View 2": { + "objects": [ + "テキスト6", + "線7" + ] + }, + "View 3": { + "objects": [ + "bFirst", + "bPrevious", + "bNext", + "bLast", + "bDelete", + "bCancel", + "bValidate" + ] + }, + "View 4": {}, + "View 5": {}, + "View 6": {}, + "View 7": {}, + "View 8": {}, + "View 9": {} } } } \ No newline at end of file