[jboss-svn-commits] JBL Code SVN: r20850 - labs/jbossrules/trunk/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Jul 1 00:40:15 EDT 2008


Author: arhan
Date: 2008-07-01 00:40:15 -0400 (Tue, 01 Jul 2008)
New Revision: 20850

Added:
   labs/jbossrules/trunk/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/Editor.java
Log:
the common interface class added for content editors

Added: labs/jbossrules/trunk/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/Editor.java
===================================================================
--- labs/jbossrules/trunk/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/Editor.java	                        (rev 0)
+++ labs/jbossrules/trunk/drools-guvnor/src/main/java/org/drools/guvnor/client/ruleeditor/Editor.java	2008-07-01 04:40:15 UTC (rev 20850)
@@ -0,0 +1,35 @@
+package org.drools.guvnor.client.ruleeditor;
+
+import org.drools.guvnor.client.rpc.RuleAsset;
+
+/*
+ * Copyright 2008 JBoss Inc
+ *
+ * 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.
+ */
+
+
+/**
+ * A marker interface to indicate the content editor to be included to EditorLauncher code generation
+ *
+ * we can replace this interface with annotation if we upgrade to GWT v1.5
+ *
+ * @author Anton Arhipov
+ */
+public interface Editor {
+
+    String getWrapperClass();
+
+    public String  add();
+
+}
\ No newline at end of file




More information about the jboss-svn-commits mailing list