Merging MK branch rev 453: Removing sun.beans.editors, replaced non-free jpeg codec.
This commit is contained in:
parent
f08cd297ab
commit
c13e1bd656
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user