Author: penyaskito
Date: 2008-07-06 10:47:30-0700
New Revision: 15184
Added:
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionBodyField.java (contents, props changed)
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionLanguageField.java (contents, props changed)
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionModel3.java (contents, props changed)
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionPanel.java (contents, props changed)
branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLInitialValueExpressionModel.java (contents, props changed)
Log:
Added infrastructure for new expression models without dependencies to the property panels. Copied some code from the core.
Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionBodyField.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionBodyField.java?view=auto&rev=15184
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionBodyField.java 2008-07-06 10:47:30-0700
@@ -0,0 +1,127 @@
+// $Id$
+// Copyright (c) 1996-2008 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+package org.argouml.core.propertypanels.ui;
+import java.beans.PropertyChangeEvent;
+import java.beans.PropertyChangeListener;
+
+import javax.swing.JTextArea;
+import javax.swing.event.DocumentEvent;
+import javax.swing.event.DocumentListener;
+
+import org.apache.log4j.Logger;
+import org.argouml.i18n.Translator;
+import org.argouml.ui.LookAndFeelMgr;
+
+/**
+ * This text field shows the body of a UML expression.
+ *
+ */
+public class UMLExpressionBodyField extends JTextArea
+ implements DocumentListener, PropertyChangeListener {
+
+ /**
+ * Logger.
+ */
+ private static final Logger LOG =
+ Logger.getLogger(UMLExpressionBodyField.class);
+
+ private UMLExpressionModel3 model;
+ private boolean notifyModel;
+
+ /**
+ * The constructor.
+ *
+ * @param expressionModel
+ * Expression model, should be shared between Language and Body
+ * fields
+ * @param notify
+ * Set to true to forward events to model. Only one of Language
+ * and Body fields should have this set to true.
+ */
+ public UMLExpressionBodyField(UMLExpressionModel3 expressionModel,
+ boolean notify) {
+ model = expressionModel;
+ notifyModel = notify;
+ getDocument().addDocumentListener(this);
+ setToolTipText(Translator.localize("label.body.tooltip"));
+ setFont(LookAndFeelMgr.getInstance().getStandardFont());
+ setRows(2); // make it stretch vertically
+ }
+
+ /*
+ * @see org.argouml.uml.ui.UMLUserInterfaceComponent#targetChanged()
+ */
+ public void targetChanged() {
+ LOG.debug("UMLExpressionBodyField: targetChanged");
+ if (notifyModel) {
+ model.targetChanged();
+ }
+ update();
+ }
+
+ /*
+ * @see org.argouml.uml.ui.UMLUserInterfaceComponent#targetReasserted()
+ */
+ public void targetReasserted() {
+ }
+
+ /* TODO: This does not work - no event arrives. */
+ public void propertyChange(PropertyChangeEvent event) {
+ LOG.debug("UMLExpressionBodyField: propertySet" + event);
+ update();
+ }
+
+ private void update() {
+ String oldText = getText();
+ String newText = model.getBody();
+
+ if (oldText == null || newText == null || !oldText.equals(newText)) {
+ if (oldText != newText) {
+ setText(newText);
+ }
+ }
+ }
+
+ /*
+ * @see javax.swing.event.DocumentListener#changedUpdate(javax.swing.event.DocumentEvent)
+ */
+ public void changedUpdate(final DocumentEvent p1) {
+ model.setBody(getText());
+ }
+
+ /*
+ * @see javax.swing.event.DocumentListener#removeUpdate(javax.swing.event.DocumentEvent)
+ */
+ public void removeUpdate(final DocumentEvent p1) {
+ model.setBody(getText());
+ }
+
+ /*
+ * @see javax.swing.event.DocumentListener#insertUpdate(javax.swing.event.DocumentEvent)
+ */
+ public void insertUpdate(final DocumentEvent p1) {
+ model.setBody(getText());
+ }
+}
Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionLanguageField.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionLanguageField.java?view=auto&rev=15184
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionLanguageField.java 2008-07-06 10:47:30-0700
@@ -0,0 +1,102 @@
+// $Id$
+// Copyright (c) 1996-2006 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+package org.argouml.core.propertypanels.ui;
+import javax.swing.JTextField;
+import javax.swing.event.DocumentEvent;
+import javax.swing.event.DocumentListener;
+
+import org.argouml.i18n.Translator;
+import org.argouml.ui.LookAndFeelMgr;
+
+/**
+ * This text field shows the language of a UML expression.
+ */
+public class UMLExpressionLanguageField extends JTextField implements
+ DocumentListener {
+
+ private UMLExpressionModel3 model;
+ private boolean notifyModel;
+
+ /**
+ * Creates a new field that selects the language for an expression.
+ *
+ * @param m Expression model, should be shared between
+ * Language and Body fields
+ * @param n Only one of Language and Body fields should
+ * forward events to model
+ */
+ public UMLExpressionLanguageField(UMLExpressionModel3 m, boolean n) {
+ model = m;
+ notifyModel = n;
+ getDocument().addDocumentListener(this);
+ setToolTipText(Translator.localize("label.language.tooltip"));
+ setFont(LookAndFeelMgr.getInstance().getStandardFont());
+ }
+
+ /*
+ * @see org.argouml.uml.ui.UMLUserInterfaceComponent#targetChanged()
+ */
+ public void targetChanged() {
+ if (notifyModel) model.targetChanged();
+ update();
+ }
+
+ /*
+ * @see org.argouml.uml.ui.UMLUserInterfaceComponent#targetReasserted()
+ */
+ public void targetReasserted() {
+ }
+
+ private void update() {
+ String oldText = getText();
+ String newText = model.getLanguage();
+ if (oldText == null || newText == null || !oldText.equals(newText)) {
+ if (oldText != newText) {
+ setText(newText);
+ }
+ }
+ }
+
+ /*
+ * @see javax.swing.event.DocumentListener#changedUpdate(javax.swing.event.DocumentEvent)
+ */
+ public void changedUpdate(final DocumentEvent p1) {
+ model.setLanguage(getText());
+ }
+
+ /*
+ * @see javax.swing.event.DocumentListener#removeUpdate(javax.swing.event.DocumentEvent)
+ */
+ public void removeUpdate(final DocumentEvent p1) {
+ model.setLanguage(getText());
+ }
+
+ /*
+ * @see javax.swing.event.DocumentListener#insertUpdate(javax.swing.event.DocumentEvent)
+ */
+ public void insertUpdate(final DocumentEvent p1) {
+ model.setLanguage(getText());
+ }
+}
Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionModel3.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionModel3.java?view=auto&rev=15184
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionModel3.java 2008-07-06 10:47:30-0700
@@ -0,0 +1,164 @@
+// $Id$
+// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+package org.argouml.core.propertypanels.ui;
+
+import org.argouml.model.Model;
+import org.argouml.ui.targetmanager.TargetListener;
+
+/**
+ * @author mkl
+ * @author penyaskito
+ */
+public abstract class UMLExpressionModel3 implements TargetListener {
+ private String propertyName;
+ private Object/*MExpression*/ expression;
+ private boolean mustRefresh;
+ private static final String EMPTYSTRING = "";
+
+ /**
+ * The constructor.
+ *
+ * @param c the container of UML user interface components
+ * @param name the name of the property
+ */
+ public UMLExpressionModel3(String name) {
+ propertyName = name;
+ mustRefresh = true;
+ }
+
+ /**
+ * When the target is changed, we must refresh.
+ */
+ public void targetChanged() {
+ mustRefresh = true;
+ expression = null;
+ }
+
+
+ /**
+ * @return the expression
+ */
+ public abstract Object getExpression();
+
+ /**
+ * @param expr the expression
+ */
+ public abstract void setExpression(Object expr);
+
+ /**
+ * @return a new expression
+ */
+ public abstract Object newExpression();
+
+
+ /**
+ * @return the language of the expression
+ */
+ public String getLanguage() {
+ if (mustRefresh) {
+ expression = getExpression();
+ }
+ if (expression == null) {
+ return EMPTYSTRING;
+ }
+ return Model.getDataTypesHelper().getLanguage(expression);
+ }
+
+ /**
+ * @return The body text of the expression.
+ */
+ public String getBody() {
+ if (mustRefresh) {
+ expression = getExpression();
+ }
+ if (expression == null) {
+ return EMPTYSTRING;
+ }
+ return Model.getDataTypesHelper().getBody(expression);
+ }
+
+ /**
+ * @param lang the language of the expression
+ */
+ public void setLanguage(String lang) {
+
+ boolean mustChange = true;
+ if (expression != null) {
+ String oldValue =
+ Model.getDataTypesHelper().getLanguage(expression);
+ if (oldValue != null && oldValue.equals(lang)) {
+ mustChange = false;
+ }
+ }
+ if (mustChange) {
+ String body = EMPTYSTRING;
+ if (expression != null
+ && Model.getDataTypesHelper().getBody(expression) != null) {
+ body = Model.getDataTypesHelper().getBody(expression);
+ }
+
+ setExpression(lang, body);
+ }
+ }
+
+ /**
+ * @param body the body text of the expression
+ */
+ public void setBody(String body) {
+ boolean mustChange = true;
+ if (expression != null) {
+ Object oldValue = Model.getDataTypesHelper().getBody(expression);
+ if (oldValue != null && oldValue.equals(body)) {
+ mustChange = false;
+ }
+ }
+ if (mustChange) {
+ String lang = null;
+ if (expression != null) {
+ lang = Model.getDataTypesHelper().getLanguage(expression);
+ }
+ if (lang == null) {
+ lang = EMPTYSTRING;
+ }
+
+ setExpression(lang, body);
+ }
+ }
+
+ /**
+ * @param lang the language of the expression
+ * @param body the body text of the expression
+ */
+ private void setExpression(String lang, String body) {
+ // Expressions are DataTypes, not independent model elements
+ // be careful not to reuse them
+ if (mustRefresh || expression == null) {
+ expression = newExpression();
+ }
+ expression = Model.getDataTypesHelper().setLanguage(expression, lang);
+ expression = Model.getDataTypesHelper().setBody(expression, body);
+ setExpression(expression);
+ }
+}
Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionPanel.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionPanel.java?view=auto&rev=15184
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLExpressionPanel.java 2008-07-06 10:47:30-0700
@@ -0,0 +1,56 @@
+// $Id$
+// Copyright (c) 2008 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+package org.argouml.core.propertypanels.ui;
+
+import javax.swing.JPanel;
+import javax.swing.JScrollPane;
+import javax.swing.border.TitledBorder;
+
+import org.tigris.swidgets.LabelledLayout;
+
+
+/**
+ *
+ * @author penyaskito
+ */
+public class UMLExpressionPanel extends JPanel {
+
+ private UMLExpressionModel3 model;
+
+ public UMLExpressionPanel(UMLExpressionModel3 model, String title) {
+
+ super(new LabelledLayout());
+ TitledBorder border = new TitledBorder(title);
+ this.setBorder(border);
+
+ this.model = model;
+
+ add(new UMLExpressionLanguageField(model,
+ false));
+ add(new JScrollPane(new UMLExpressionBodyField(
+ model, true)));
+ }
+
+}
Added: branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLInitialValueExpressionModel.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLInitialValueExpressionModel.java?view=auto&rev=15184
==============================================================================
--- (empty file)
+++ branches/xmlpropertypanels-penyaskito-soc08/argouml-core-propertypanels-scratch/src/org/argouml/core/propertypanels/ui/UMLInitialValueExpressionModel.java 2008-07-06 10:47:30-0700
@@ -0,0 +1,99 @@
+// $Id$
+// Copyright (c) 2008 The Regents of the University of California. All
+// Rights Reserved. Permission to use, copy, modify, and distribute this
+// software and its documentation without fee, and without a written
+// agreement is hereby granted, provided that the above copyright notice
+// and this paragraph appear in all copies. This software program and
+// documentation are copyrighted by The Regents of the University of
+// California. The software program and documentation are supplied "AS
+// IS", without any accompanying services from The Regents. The Regents
+// does not warrant that the operation of the program will be
+// uninterrupted or error-free. The end-user understands that the program
+// was developed for research purposes and is advised not to rely
+// exclusively on the program for any reason. IN NO EVENT SHALL THE
+// UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
+// SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
+// ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
+// THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
+// SUCH DAMAGE. THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
+// PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
+// CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT,
+// UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+
+package org.argouml.core.propertypanels.ui;
+
+import java.beans.PropertyChangeEvent;
+import java.beans.PropertyChangeListener;
+
+import org.argouml.ui.targetmanager.TargetEvent;
+import org.argouml.ui.targetmanager.TargetListener;
+import org.argouml.uml.ui.UMLExpressionModel2;
+
+/**
+ *
+ * @author penyaskito
+ */
+public class UMLInitialValueExpressionModel
+ extends UMLExpressionModel3 {
+
+ public UMLInitialValueExpressionModel() {
+ super("initial value");
+ }
+
+ public UMLInitialValueExpressionModel(String name) {
+ super(name);
+ }
+
+ /**
+ * @return
+ * @see org.argouml.uml.ui.UMLExpressionModel2#getExpression()
+ */
+ @Override
+ public Object getExpression() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ /**
+ * @return
+ * @see org.argouml.uml.ui.UMLExpressionModel2#newExpression()
+ */
+ @Override
+ public Object newExpression() {
+ // TODO: Auto-generated method stub
+ return null;
+ }
+
+ /**
+ * @param expr
+ * @see org.argouml.uml.ui.UMLExpressionModel2#setExpression(java.lang.Object)
+ */
+ @Override
+ public void setExpression(Object expr) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void targetAdded(TargetEvent e) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void targetRemoved(TargetEvent e) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void targetSet(TargetEvent e) {
+ // TODO: Auto-generated method stub
+
+ }
+
+ public void propertyChange(PropertyChangeEvent evt) {
+ // TODO: Auto-generated method stub
+
+ }
+
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.