From c13e1bd656c27f9240a230f152e2b171ef9823b4 Mon Sep 17 00:00:00 2001 From: Marcel Kronfeld Date: Wed, 24 Feb 2010 11:05:57 +0000 Subject: [PATCH] Merging MK branch rev 453: Removing sun.beans.editors, replaced non-free jpeg codec. --- src/eva2/server/go/MOCCOStandalone.java | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/eva2/server/go/MOCCOStandalone.java b/src/eva2/server/go/MOCCOStandalone.java index ed9f058e..0bb587d6 100644 --- a/src/eva2/server/go/MOCCOStandalone.java +++ b/src/eva2/server/go/MOCCOStandalone.java @@ -372,31 +372,6 @@ public class MOCCOStandalone implements InterfaceGOStandalone, InterfacePopulati } } - public void findViewFor(GeneralGOEProperty editor) { - if (editor.m_Editor instanceof sun.beans.editors.BoolEditor) { - editor.m_View = new PropertyBoolSelector(editor.m_Editor); - } else { - if (editor.m_Editor instanceof sun.beans.editors.DoubleEditor) { - editor.m_View = new PropertyText(editor.m_Editor); - } else { - if (editor.m_Editor.isPaintable() && editor.m_Editor.supportsCustomEditor()) { - editor.m_View = new PropertyPanel(editor.m_Editor); - } else { - if (editor.m_Editor.getTags() != null ) { - editor.m_View = new PropertyValueSelector(editor.m_Editor); - } else { - if (editor.m_Editor.getAsText() != null) { - editor.m_View = new PropertyText(editor.m_Editor); - } else { - System.out.println("Warning: Property \"" + editor.m_Name - + "\" has non-displayabale editor. Skipping."); - } - } - } - } - } - } - /*********************************************************************************************** * InterfaceGOStandalone */