[Jiemamy-notify] commit [1917] Collectionで保持しているFieldの型がjava .util. Map等のInterfaceではなくObservableMap等のObservable系になっていたものをInterface系に修正。

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 9月 15日 (月) 19:14:03 JST


Revision: 1917
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jiemamy&view=rev&rev=1917
Author:   shin1
Date:     2008-09-15 19:14:03 +0900 (Mon, 15 Sep 2008)

Log Message:
-----------
Collectionで保持しているFieldの型がjava.util.Map等のInterfaceではなくObservableMap等のObservable系になっていたものをInterface系に修正。

Modified Paths:
--------------
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/RootModel.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/presentation/DiagramPresentationModel.java


-------------- next part --------------
Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/RootModel.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/RootModel.java	2008-09-12 19:37:21 UTC (rev 1916)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/RootModel.java	2008-09-15 10:14:03 UTC (rev 1917)
@@ -54,10 +54,10 @@
 	private String schemaName;
 	
 	/** ドメインのリスト */
-	private ObservableList<DomainModel> domains = ObservableList.decorate(new ArrayList<DomainModel>());
+	private List<DomainModel> domains = ObservableList.decorate(new ArrayList<DomainModel>());
 	
 	/** ノードのリスト */
-	private ObservableSet<AbstractNodeModel> nodes = ObservableSet.decorate(new HashSet<AbstractNodeModel>());
+	private Set<AbstractNodeModel> nodes = ObservableSet.decorate(new HashSet<AbstractNodeModel>());
 	
 	/**
 	 * コネクションのリスト
@@ -67,8 +67,7 @@
 	 * (対する、テーブルとカラムの間には親子の従属関係がある)
 	 * その為、connectionはnodeにぶら下がる形でなく、RootModelの中でリストを持ってみた。
 	 */
-	private ObservableSet<AbstractConnectionModel> connections =
-			ObservableSet.decorate(new HashSet<AbstractConnectionModel>());
+	private Set<AbstractConnectionModel> connections = ObservableSet.decorate(new HashSet<AbstractConnectionModel>());
 	
 	/**
 	 * ダイアグラム表現(レイアウト等)のリスト
@@ -77,7 +76,7 @@
 	 * presentationモデルを分離してCollectionで持つことにより、複数の表現を保持できる。
 	 * (FOOテーブルとその周辺のER図、BARテーブルとその周辺のER図... 等)
 	 */
-	private ObservableList<DiagramPresentationModel> diagramPresentations =
+	private List<DiagramPresentationModel> diagramPresentations =
 			ObservableList.decorate(new ArrayList<DiagramPresentationModel>());
 	
 	/**
@@ -87,8 +86,7 @@
 	 * データセットモデルを分離してCollectionで持つことにより、複数のデータセットを保持できる。
 	 * (テストA用のデータセット、テストB用のデータセット... 等)
 	 */
-	private ObservableList<InsertDataSetModel> insertDataSets =
-			ObservableList.decorate(new ArrayList<InsertDataSetModel>());
+	private List<InsertDataSetModel> insertDataSets = ObservableList.decorate(new ArrayList<InsertDataSetModel>());
 	
 
 	/**

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/presentation/DiagramPresentationModel.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/presentation/DiagramPresentationModel.java	2008-09-12 19:37:21 UTC (rev 1916)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/presentation/DiagramPresentationModel.java	2008-09-15 10:14:03 UTC (rev 1917)
@@ -48,7 +48,7 @@
 	 * 
 	 * 表示されるノードであれば矩形情報を持ち、非表示であればエントリを持たない。
 	 */
-	private ObservableMap<AbstractNodeModel, JmRectangle> nodeLayouts =
+	private Map<AbstractNodeModel, JmRectangle> nodeLayouts =
 			ObservableMap.decorate(new HashMap<AbstractNodeModel, JmRectangle>());
 	
 	/**


Jiemamy-notify メーリングリストの案内
アーカイブの一覧に戻る