[Jiemamy-notify:1538] commit [2746] 不要なsuper呼び出し記述を削除。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 2月 27日 (金) 19:00:14 JST


Revision: 2746
          http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=2746
Author:   daisuke_m
Date:     2009-02-27 19:00:14 +0900 (Fri, 27 Feb 2009)

Log Message:
-----------
不要なsuper呼び出し記述を削除。

Modified Paths:
--------------
    artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/editcommand/impl/DeleteColumnFromColumnRefListCommand.java
    artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/facade/JiemamyFacadeImpl.java
    artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/IterableNodeList.java
    artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/editcommand/AddProfileToDiaglamCommand.java
    artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/editcommand/DeleteProfileFromDiaglamCommand.java
    vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/action/SaveDiagramImageAction.java
    vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/command/EditForeignKeyModelCommand.java
    vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/dialog/table/TableEditDialogRecordTab.java
    vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/figure/ColumnFigure.java
    vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/wizard/NewDiagramWizard.java


-------------- next part --------------
Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/editcommand/impl/DeleteColumnFromColumnRefListCommand.java
===================================================================
--- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/editcommand/impl/DeleteColumnFromColumnRefListCommand.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/editcommand/impl/DeleteColumnFromColumnRefListCommand.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -52,7 +52,6 @@
 	 * @param column
 	 */
 	public DeleteColumnFromColumnRefListCommand(JiemamyElement target, List<ColumnRef> columnRefList, ColumnModel column) {
-		super();
 		// List内での削除対象columnのindexを探す。
 		int i = 0;
 		for (ColumnRef ref : columnRefList) {
@@ -81,7 +80,6 @@
 	 */
 	public DeleteColumnFromColumnRefListCommand(JiemamyElement target, List<ColumnRef> columnRefList,
 			ColumnModel column, int index) {
-		super();
 		this.target = target;
 		this.columnRefList = columnRefList;
 		this.column = column;

Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/facade/JiemamyFacadeImpl.java
===================================================================
--- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/facade/JiemamyFacadeImpl.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/facade/JiemamyFacadeImpl.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -27,7 +27,12 @@
 import org.jiemamy.editcommand.CommandProcessor;
 import org.jiemamy.editcommand.CommandProcessorImpl;
 import org.jiemamy.editcommand.impl.AddEntityToRootCommand;
+import org.jiemamy.editcommand.impl.AddForeignKeyCommand;
+import org.jiemamy.editcommand.impl.DeleteEntityFromRootCommand;
+import org.jiemamy.editcommand.impl.DeleteForeignKeyCommand;
+import org.jiemamy.model.attribute.constraint.ForeignKeyModel;
 import org.jiemamy.model.entity.EntityModel;
+import org.jiemamy.model.entity.TableModel;
 
 /**
  * Jiemamyに対するファサードの実装クラス。
@@ -71,6 +76,12 @@
 		undoStack.push(command.getNegateCommand());
 	}
 	
+	public void addForeignKey(TableModel table, ForeignKeyModel foreignKey) {
+		AddForeignKeyCommand command = new AddForeignKeyCommand(table, foreignKey);
+		command.execute(commandProcessor);
+		undoStack.push(command.getNegateCommand());
+	}
+	
 	/**
 	 * TODO for daisuke
 	 */
@@ -84,6 +95,19 @@
 		undoStack.push(command.getNegateCommand());
 	}
 	
+	public void removeEntity(EntityModel entity) {
+		DeleteEntityFromRootCommand command =
+				new DeleteEntityFromRootCommand(jiemamy.getFactory().getRootModel(), entity);
+		command.execute(commandProcessor);
+		undoStack.push(command.getNegateCommand());
+	}
+	
+	public void removeForeignKey(TableModel table, ForeignKeyModel foreignKey) {
+		DeleteForeignKeyCommand command = new DeleteForeignKeyCommand(table, foreignKey);
+		command.execute(commandProcessor);
+		undoStack.push(command.getNegateCommand());
+	}
+	
 	/**
 	 * TODO for daisuke
 	 */

Modified: artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/IterableNodeList.java
===================================================================
--- artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/IterableNodeList.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ artemis/trunk/jiemamy-core/src/main/java/org/jiemamy/utils/IterableNodeList.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -67,7 +67,6 @@
 		 * @param nodeList
 		 */
 		public NodeListIterator(NodeList nodeList) {
-			super();
 			Validate.notNull(nodeList);
 			this.nodeList = nodeList;
 		}

Modified: artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/editcommand/AddProfileToDiaglamCommand.java
===================================================================
--- artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/editcommand/AddProfileToDiaglamCommand.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/editcommand/AddProfileToDiaglamCommand.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -51,7 +51,6 @@
 	 * @param nodeProfile ノードの見た目の情報を保持する{@link NodeProfile}
 	 */
 	public AddProfileToDiaglamCommand(RootModel root, int diagramIndex, NodeAdapter nodeAdapter, NodeProfile nodeProfile) {
-		super();
 		this.root = root;
 		this.diagramIndex = diagramIndex;
 		this.nodeAdapter = nodeAdapter;

Modified: artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/editcommand/DeleteProfileFromDiaglamCommand.java
===================================================================
--- artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/editcommand/DeleteProfileFromDiaglamCommand.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ artemis/trunk/jiemamy-view/src/main/java/org/jiemamy/editcommand/DeleteProfileFromDiaglamCommand.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -50,7 +50,6 @@
 	 * @param nodeAdapter ノードを識別するための{@link NodeAdapter}
 	 */
 	public DeleteProfileFromDiaglamCommand(RootModel root, int diagramIndex, NodeAdapter nodeAdapter) {
-		super();
 		this.root = root;
 		this.diagramIndex = diagramIndex;
 		this.nodeAdapter = nodeAdapter;

Modified: vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/action/SaveDiagramImageAction.java
===================================================================
--- vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/action/SaveDiagramImageAction.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/action/SaveDiagramImageAction.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -176,7 +176,6 @@
 		 * @param rootModel
 		 */
 		public GraphicWizard(IProject project, RootModel rootModel) {
-			super();
 			this.project = project;
 			setWindowTitle("Graphic");
 		}

Modified: vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/command/EditForeignKeyModelCommand.java
===================================================================
--- vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/command/EditForeignKeyModelCommand.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/command/EditForeignKeyModelCommand.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -48,7 +48,6 @@
 	 * @param afterEditMemento 編集後のmemento
 	 */
 	public EditForeignKeyModelCommand(ForeignKeyModel targetModel, Memento beforeEditMemento, Memento afterEditMemento) {
-		super();
 		this.targetModel = targetModel;
 		this.beforeEditMemento = beforeEditMemento;
 		this.afterEditMemento = afterEditMemento;

Modified: vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/dialog/table/TableEditDialogRecordTab.java
===================================================================
--- vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/dialog/table/TableEditDialogRecordTab.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/dialog/table/TableEditDialogRecordTab.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -165,7 +165,6 @@
 //		 * @param targetModel
 //		 */
 //		public RecordTableEditor(TableModel targetModel) {
-//			super();
 //			tableModel = targetModel;
 //		}
 //		

Modified: vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/figure/ColumnFigure.java
===================================================================
--- vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/figure/ColumnFigure.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/editor/figure/ColumnFigure.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -46,7 +46,6 @@
 	 * インスタンスを生成する。
 	 */
 	public ColumnFigure() {
-		super();
 		setBorder(new MarginBorder(VERTICAL_MARGIN, HORIZONTAL_MARGIN, VERTICAL_MARGIN, HORIZONTAL_MARGIN));
 	}
 	

Modified: vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/wizard/NewDiagramWizard.java
===================================================================
--- vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/wizard/NewDiagramWizard.java	2009-02-27 09:58:00 UTC (rev 2745)
+++ vesta/trunk/org.jiemamy.eclipse/src/main/java/org/jiemamy/eclipse/wizard/NewDiagramWizard.java	2009-02-27 10:00:14 UTC (rev 2746)
@@ -57,7 +57,6 @@
 	 * Instantiates a new new diagram wizard.
 	 */
 	public NewDiagramWizard() {
-		super();
 		setNeedsProgressMonitor(true);
 		setWindowTitle("New Jiemamy Database Diagram"); // RESOURCE
 	}



Jiemamy-notify メーリングリストの案内
Back to archive index