You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by mg...@apache.org on 2017/01/05 22:09:11 UTC

[03/50] cayenne-modeler git commit: Added some customized placeholder text.

Added some customized placeholder text.


Project: http://git-wip-us.apache.org/repos/asf/cayenne-modeler/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-modeler/commit/1835b7bf
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-modeler/tree/1835b7bf
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-modeler/diff/1835b7bf

Branch: refs/heads/master
Commit: 1835b7bf32a664509722105e9caf26df277a6896
Parents: 65618c0
Author: mrg <bl...@gmail.com>
Authored: Thu Sep 22 07:02:24 2016 -0400
Committer: mrg <bl...@gmail.com>
Committed: Thu Sep 22 07:02:24 2016 -0400

----------------------------------------------------------------------
 src/main/resources/layouts/DatabaseEntityColumnsTabLayout.fxml  | 3 +++
 src/main/resources/layouts/ObjectEntityAttributesTabLayout.fxml | 3 +++
 src/main/resources/layouts/SplashLayout.fxml                    | 3 +++
 3 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne-modeler/blob/1835b7bf/src/main/resources/layouts/DatabaseEntityColumnsTabLayout.fxml
----------------------------------------------------------------------
diff --git a/src/main/resources/layouts/DatabaseEntityColumnsTabLayout.fxml b/src/main/resources/layouts/DatabaseEntityColumnsTabLayout.fxml
index a8c9ccd..4f9b75c 100644
--- a/src/main/resources/layouts/DatabaseEntityColumnsTabLayout.fxml
+++ b/src/main/resources/layouts/DatabaseEntityColumnsTabLayout.fxml
@@ -37,6 +37,9 @@
                </VBox.margin>
             </HBox>
             <TableView fx:id="attributesTableView" VBox.vgrow="ALWAYS">
+              <placeholder>
+                <Label text="No database columns have been defined; please add them using the toolbar above." />
+              </placeholder>
                <columns>
                   <TableColumn fx:id="primaryKeyColumn" editable="false" maxWidth="25.0" minWidth="25.0" prefWidth="25.0" resizable="false" sortable="false" text="K" />
                   <TableColumn fx:id="mandatoryColumn" editable="false" maxWidth="25.0" minWidth="25.0" prefWidth="25.0" resizable="false" sortable="false" text="M" />

http://git-wip-us.apache.org/repos/asf/cayenne-modeler/blob/1835b7bf/src/main/resources/layouts/ObjectEntityAttributesTabLayout.fxml
----------------------------------------------------------------------
diff --git a/src/main/resources/layouts/ObjectEntityAttributesTabLayout.fxml b/src/main/resources/layouts/ObjectEntityAttributesTabLayout.fxml
index a4dd268..9ee2e3e 100644
--- a/src/main/resources/layouts/ObjectEntityAttributesTabLayout.fxml
+++ b/src/main/resources/layouts/ObjectEntityAttributesTabLayout.fxml
@@ -38,6 +38,9 @@
                </VBox.margin>
             </HBox>
             <TableView fx:id="attributesTableView" VBox.vgrow="ALWAYS">
+               <placeholder>
+                  <Label text="No Java attributes have been defined; please add them using the toolbar above." />
+               </placeholder>
                <columns>
                   <TableColumn fx:id="attributeIsInheritedColumn" editable="false" maxWidth="25.0" minWidth="25.0" prefWidth="25.0" resizable="false" sortable="false" text="I" />
                   <TableColumn fx:id="attributeUsedForLockingColumn" editable="false" maxWidth="25.0" minWidth="25.0" prefWidth="25.0" resizable="false" sortable="false" text="L" />

http://git-wip-us.apache.org/repos/asf/cayenne-modeler/blob/1835b7bf/src/main/resources/layouts/SplashLayout.fxml
----------------------------------------------------------------------
diff --git a/src/main/resources/layouts/SplashLayout.fxml b/src/main/resources/layouts/SplashLayout.fxml
index 1d70c70..7b1ab12 100644
--- a/src/main/resources/layouts/SplashLayout.fxml
+++ b/src/main/resources/layouts/SplashLayout.fxml
@@ -41,6 +41,9 @@
                </font>
             </Label>
             <ListView fx:id="projectListView" onKeyTyped="#onKeyTyped" onMouseClicked="#onOpenProjectSelected" prefHeight="200.0" prefWidth="200.0">
+               <placeholder>
+                  <Label text="No previously opened projects found; please open or create a new one." />
+               </placeholder>
                <VBox.margin>
                   <Insets left="20.0" right="20.0" />
                </VBox.margin>