From d3e66cce88fc4c8be8a6f89f8e7bf5d25f117f07 Mon Sep 17 00:00:00 2001 From: Naoghuman Date: Fri, 8 Mar 2019 19:48:26 +0100 Subject: [PATCH] #56 [api] Add new interface 'FXMLRegisterable'. --- ...ease_v0.3.0-PRERELEASE_2019-03-dd_HH-mm.md | 3 +- .../lib/fxml/core/FXMLRegisterable.java | 35 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/main/java/com/github/naoghuman/lib/fxml/core/FXMLRegisterable.java diff --git a/release/Release_v0.3.0-PRERELEASE_2019-03-dd_HH-mm.md b/release/Release_v0.3.0-PRERELEASE_2019-03-dd_HH-mm.md index 64ce277..c831600 100644 --- a/release/Release_v0.3.0-PRERELEASE_2019-03-dd_HH-mm.md +++ b/release/Release_v0.3.0-PRERELEASE_2019-03-dd_HH-mm.md @@ -12,6 +12,8 @@ and connect them to a controller (called the presenter). #### Feature +#56 [api] Add new interface 'FXMLRegisterable'. +#45 [api] Create new interface FXMLModelable. @@ -20,7 +22,6 @@ and connect them to a controller (called the presenter). #50 [api] Enhance FXMLModel.get(Class'T', String) to return an Optional'T'. #48 [test] Enhance the method DefaultFXMLValidator.requireEndsWith(...). #47 [api] Create 'FXMLModel.EMPTY' instance in the class FXMLModel. -#45 [api] Create new interface FXMLModelable. #42 [test] Rename the demo applications to fit the necessities from the api. diff --git a/src/main/java/com/github/naoghuman/lib/fxml/core/FXMLRegisterable.java b/src/main/java/com/github/naoghuman/lib/fxml/core/FXMLRegisterable.java new file mode 100644 index 0000000..763e4a6 --- /dev/null +++ b/src/main/java/com/github/naoghuman/lib/fxml/core/FXMLRegisterable.java @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2018 - 2019 Naoghuman's dream + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package com.github.naoghuman.lib.fxml.core; + +/** + * + * @since 0.3.0-PRERELEASE + * @version 0.3.0-PRERELEASE + * @author Naoghuman + */ +public interface FXMLRegisterable { + + /** + * + * @since 0.3.0-PRERELEASE + * @version 0.3.0-PRERELEASE + * @author Naoghuman + */ + public void register(); + +}