svn commit: r17014 - trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelTemplateParameter.java
Bob Tarling <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: bobtarling
Date: 2009-04-01 12:14:28-0700
New Revision: 17014
Modified:
trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelTemplateParameter.java
Log:
Comment out changes that break the build.
Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelTemplateParameter.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelTemplateParameter.java?view=diff&pathrev=17014&r1=17013&r2=17014
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelTemplateParameter.java (original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/PropPanelTemplateParameter.java 2009-04-01 12:14:28-0700
@@ -4,8 +4,8 @@
import org.argouml.uml.ui.UMLPlainTextDocument;
import org.argouml.uml.ui.UMLTextField2;
-import org.omg.uml.foundation.core.ModelElement;
-import org.omg.uml.foundation.core.TemplateParameter;
+//import org.omg.uml.foundation.core.ModelElement;
+//import org.omg.uml.foundation.core.TemplateParameter;
public class PropPanelTemplateParameter extends PropPanelStructuralFeature {
@@ -26,27 +26,28 @@
public UMLTemplateParameterDocument(String name) {
super(name);
}
-
- private ModelElement getParameter() {
- Object target = getTarget();
- if (target instanceof TemplateParameter) {
- Object parameter = ( (TemplateParameter)target).getParameter();
- if (parameter instanceof ModelElement) {
- return (ModelElement)parameter;
- }
- throw new IllegalArgumentException(parameter.getClass().getName() +" is not a ModelElement");
- }
- throw new IllegalArgumentException(target.getClass().getName() +" is not a TemplateParameter");
- }
+//
+// private ModelElement getParameter() {
+// Object target = getTarget();
+// if (target instanceof TemplateParameter) {
+// Object parameter = ( (TemplateParameter)target).getParameter();
+// if (parameter instanceof ModelElement) {
+// return (ModelElement)parameter;
+// }
+// throw new IllegalArgumentException(parameter.getClass().getName() +" is not a ModelElement");
+// }
+// throw new IllegalArgumentException(target.getClass().getName() +" is not a TemplateParameter");
+// }
@Override
protected void setProperty(String text) {
- getParameter().setName(text);
+// getParameter().setName(text);
}
@Override
protected String getProperty() {
- return getParameter().getName();
+ return "";
+// return getParameter().getName();
}
}
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=1509953
To unsubscribe from this discussion, e-mail: [[email protected]].