|
From: <de...@us...> - 2009-03-18 17:22:32
|
Revision: 106
http://jmax-phoenix.svn.sourceforge.net/jmax-phoenix/?rev=106&view=rev
Author: dececco
Date: 2009-03-18 16:22:27 +0000 (Wed, 18 Mar 2009)
Log Message:
-----------
Forgotten file
Added Paths:
-----------
trunk/core/jmax/jmax/editors/patcher/actions/OpenObjectAction.java
Added: trunk/core/jmax/jmax/editors/patcher/actions/OpenObjectAction.java
===================================================================
--- trunk/core/jmax/jmax/editors/patcher/actions/OpenObjectAction.java (rev 0)
+++ trunk/core/jmax/jmax/editors/patcher/actions/OpenObjectAction.java 2009-03-18 16:22:27 UTC (rev 106)
@@ -0,0 +1,53 @@
+/*
+ * jMax Phoenix
+ *
+ * Copyright (C) 2008 by Maurizio De Cecco, Francois Dechelle, Enzo Maggi.
+ *
+ * This program 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 2
+ * of the License, or (at your option) any later version.
+ *
+ * See file LICENSE for further informations on licensing terms.
+ *
+ * This program 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * Based on Ircam jMax, by Maurizio De Cecco, Francois Dechelle, Enzo Maggi, Norbert Schnell.
+ *
+ * Based in turn on the Ircam Max/ISPW by Miller Puckette.
+ *
+ *
+ */
+
+
+package jmax.editors.patcher.actions;
+
+import java.awt.*;
+import java.awt.event.*;
+
+import javax.swing.*;
+import javax.swing.event.*;
+
+import jmax.*;
+import jmax.editors.patcher.*;
+
+public class OpenObjectAction extends MenuAction
+{
+ public OpenObjectAction(ErmesSketchWindow editor)
+ {
+ super(editor);
+ }
+
+ public void doAction(ErmesSketchWindow editor)
+ {
+ if (ErmesSelection.patcherSelection.getOwner() == editor.itsSketchPad)
+ ErmesSelection.patcherSelection.editContent();
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|