From afee34b4b44aec4088ab12f8d2ce19d2c0b571d6 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Wed, 29 Jun 2011 01:04:14 +0000 Subject: [PATCH] SDK: - cleanup some packages, move some classes - better names for some classes git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7774 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../com/jme3/gde/core/filters/FilterPostProcessorNode.java | 3 ++- .../{AddFilterAction.java => actions/NewFilterPopup.java} | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) rename sdk/jme3-core/src/com/jme3/gde/core/filters/{AddFilterAction.java => actions/NewFilterPopup.java} (93%) diff --git a/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterPostProcessorNode.java b/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterPostProcessorNode.java index 7e1c979e8..9900dca22 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterPostProcessorNode.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/filters/FilterPostProcessorNode.java @@ -31,6 +31,7 @@ */ package com.jme3.gde.core.filters; +import com.jme3.gde.core.filters.actions.NewFilterPopup; import com.jme3.gde.core.assets.FilterDataObject; import com.jme3.gde.core.scene.SceneApplication; import com.jme3.post.Filter; @@ -131,7 +132,7 @@ public class FilterPostProcessorNode extends AbstractNode { public Action[] getActions(boolean context) { // return super.getActions(context); return new Action[]{ - new AddFilterAction(this) + new NewFilterPopup(this) }; } diff --git a/sdk/jme3-core/src/com/jme3/gde/core/filters/AddFilterAction.java b/sdk/jme3-core/src/com/jme3/gde/core/filters/actions/NewFilterPopup.java similarity index 93% rename from sdk/jme3-core/src/com/jme3/gde/core/filters/AddFilterAction.java rename to sdk/jme3-core/src/com/jme3/gde/core/filters/actions/NewFilterPopup.java index bc214ac15..ed3f5f496 100644 --- a/sdk/jme3-core/src/com/jme3/gde/core/filters/AddFilterAction.java +++ b/sdk/jme3-core/src/com/jme3/gde/core/filters/actions/NewFilterPopup.java @@ -29,8 +29,9 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package com.jme3.gde.core.filters; +package com.jme3.gde.core.filters.actions; +import com.jme3.gde.core.filters.FilterPostProcessorNode; import com.jme3.gde.core.filters.actions.NewFilterAction; import com.jme3.gde.core.undoredo.AbstractUndoableSceneEdit; import com.jme3.gde.core.undoredo.SceneUndoRedoManager; @@ -49,11 +50,11 @@ import org.openide.util.actions.Presenter; * * @author normenhansen */ -public class AddFilterAction extends AbstractAction implements Presenter.Popup { +public class NewFilterPopup extends AbstractAction implements Presenter.Popup { protected FilterPostProcessorNode filterNode; - public AddFilterAction(FilterPostProcessorNode node) { + public NewFilterPopup(FilterPostProcessorNode node) { this.filterNode = node; }