Revision: 3627
Author: [email protected]
Date: Mon Jun 14 14:04:09 2010
Log: NEW - bug 2458: Create Critic Manager
http://trillian.sqlpower.ca/bugzilla/show_bug.cgi?id=2458
Removed an unnecessary interface.
http://code.google.com/p/power-architect/source/detail?r=3627
Deleted:
/trunk/src/main/java/ca/sqlpower/architect/ddl/critic/CriticSettings.java
Modified:
/trunk/src/main/java/ca/sqlpower/architect/ddl/critic/CriticAndSettings.java
=======================================
---
/trunk/src/main/java/ca/sqlpower/architect/ddl/critic/CriticSettings.java
Tue Jun 8 14:56:35 2010
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2010, SQL Power Group Inc.
- *
- * This file is part of SQL Power Architect.
- *
- * SQL Power Architect 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.
- *
- * SQL Power Architect 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 <http://www.gnu.org/licenses/>.
- */
-
-package ca.sqlpower.architect.ddl.critic;
-
-import ca.sqlpower.architect.ddl.critic.CriticAndSettings.Severity;
-import ca.sqlpower.object.SPObject;
-import ca.sqlpower.object.annotation.Accessor;
-import ca.sqlpower.object.annotation.Mutator;
-
-/**
- * The settings of a specific {...@link Critic}. Includes if the critic is
enabled
- * and any additional settings to decide how to criticize the object model.
- */
-public interface CriticSettings extends SPObject {
-
- /**
- * Returns the severity level of this critic.
- */
- @Accessor
- public Severity getSeverity();
-
- /**
- * Sets the severity level of this critic. For used to identify how
- * important the criticisms created by this critic is to users.
- */
- @Mutator
- public void setSeverity(Severity severity);
-}
=======================================
---
/trunk/src/main/java/ca/sqlpower/architect/ddl/critic/CriticAndSettings.java
Wed Jun 9 12:02:33 2010
+++
/trunk/src/main/java/ca/sqlpower/architect/ddl/critic/CriticAndSettings.java
Mon Jun 14 14:04:09 2010
@@ -33,7 +33,7 @@
* The settings of a specific {...@link Critic}. Includes if the critic is
enabled
* and any additional settings to decide how to criticize the object model.
*/
-public abstract class CriticAndSettings extends AbstractSPObject
implements CriticSettings, Critic {
+public abstract class CriticAndSettings extends AbstractSPObject
implements Critic {
/**
* Defines an absolute ordering of the child types of this class.