-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f22f9d5
commit 6f56d35
Showing
7 changed files
with
63 additions
and
25 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Diagram> | ||
<ID>JAVA</ID> | ||
<OriginalElement>smarthomesimulator.model</OriginalElement> | ||
<nodes> | ||
<node x="917.0" y="0.0">smarthomesimulator.model.SHP</node> | ||
<node x="0.0" y="999.0">smarthomesimulator.model.Zone</node> | ||
<node x="0.0" y="752.0">smarthomesimulator.model.Door</node> | ||
<node x="662.0" y="252.0">smarthomesimulator.model.Profile.Role</node> | ||
<node x="963.0" y="752.0">smarthomesimulator.model.Light</node> | ||
<node x="384.0" y="752.0">smarthomesimulator.model.RoomTest</node> | ||
<node x="0.0" y="0.0">smarthomesimulator.model.Simulator</node> | ||
<node x="636.0" y="0.0">smarthomesimulator.model.Profile</node> | ||
<node x="686.0" y="752.0">smarthomesimulator.model.ConsoleOutput</node> | ||
<node x="369.0" y="0.0">smarthomesimulator.model.Room</node> | ||
<node x="192.0" y="752.0">smarthomesimulator.model.Window</node> | ||
</nodes> | ||
<notes /> | ||
<edges> | ||
<edge source="smarthomesimulator.model.Profile.Role" target="smarthomesimulator.model.Profile"> | ||
<point x="0.0" y="-125.5" /> | ||
<point x="0.0" y="101.0" /> | ||
</edge> | ||
</edges> | ||
<settings layout="Hierarchic Group" zoom="1.0" x="540.5" y="387.5" /> | ||
<SelectedNodes> | ||
<node>smarthomesimulator.model.SHP</node> | ||
</SelectedNodes> | ||
<Categories> | ||
<Category>Inner Classes</Category> | ||
<Category>Properties</Category> | ||
<Category>Methods</Category> | ||
<Category>Constructors</Category> | ||
<Category>Fields</Category> | ||
</Categories> | ||
<SCOPE>All</SCOPE> | ||
<VISIBILITY>private</VISIBILITY> | ||
</Diagram> | ||
|
5 changes: 1 addition & 4 deletions
5
smart-home-simulator/src/main/java/smarthomesimulator/interfaces/Observable.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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
package smarthomesimulator.interfaces; | ||
|
||
public interface Observable { | ||
|
||
public void attachObserver(Observer o); | ||
public void detachObserver(Observer o); | ||
public void notifyObserver(Observable observable); | ||
void notifyObserver(Observable observable); | ||
} |
2 changes: 1 addition & 1 deletion
2
smart-home-simulator/src/main/java/smarthomesimulator/interfaces/Observer.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package smarthomesimulator.interfaces; | ||
|
||
public interface Observer { | ||
public void update(Observable o); | ||
void update(Observable o); | ||
} |
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 was deleted.
Oops, something went wrong.