-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from dolfdijkstra/gst-foundation-12
12.0.1 release
- Loading branch information
Showing
29 changed files
with
980 additions
and
626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
gsf-core/src/main/java/tools/gsf/navigation/ConfigurableNode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* Copyright 2016 Function1. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package tools.gsf.navigation; | ||
|
||
/** | ||
* @author Freddy Villalba | ||
* | ||
* | ||
*/ | ||
public interface ConfigurableNode<T extends Node<T>> { | ||
|
||
|
||
/** | ||
* Add a child at the end of this node's list of children. | ||
* | ||
* If children must be ordered in any particular way, it's the caller's responsibility to add them in the right order. | ||
* | ||
* This method must be invoked BEFORE setParent. Calling it AFTER setParent will throw a runtime exception. | ||
* | ||
* @param node | ||
*/ | ||
void addChild(T node); | ||
|
||
/** | ||
* Can only be called once per instance. Otherwise, a runtime exception will be thrown. | ||
* @param node | ||
*/ | ||
void setParent(T node); | ||
|
||
/** | ||
* Breaks the relationship between this node and all of its children, meaning: | ||
* | ||
* - This node is not the parent of any of its children anymore. | ||
* - The removed nodes are not this node's children anymore. | ||
* | ||
*/ | ||
void removeChildren(); | ||
|
||
/** | ||
* Breaks the relationship between this node and the specified child, meaning: | ||
* | ||
* - This node is not the parent of the specified child anymore. | ||
* - The removed node is not this node's child anymore. | ||
* | ||
* The method returns true if the specified child was removed, false otherwise. | ||
* | ||
* @param child The child node we want to remove | ||
* @return true if the node was removed, false otherwise | ||
*/ | ||
boolean removeChild(T child); | ||
|
||
} |
53 changes: 0 additions & 53 deletions
53
gsf-core/src/main/java/tools/gsf/navigation/LightweightSitePlanNavService.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.