public class ViewSetupAttributes extends Object
Constructor and Description |
---|
ViewSetupAttributes() |
Modifier and Type | Method and Description |
---|---|
static XmlIoEntity<?> |
createXmlIoForName(String name) |
static String |
getNameForClass(Class<? extends Entity> klass) |
static void |
registerManually(Class<? extends XmlIoEntity<?>> xmlIoClass)
Register an
XmlIoEntity attribute IO class manually. |
public static XmlIoEntity<?> createXmlIoForName(String name)
public static void registerManually(Class<? extends XmlIoEntity<?>> xmlIoClass)
XmlIoEntity
attribute IO class manually. This can be
used in case scijava-common is not present or cannot be used for other
reasons.
For example I had the case where I wanted to use a jar build by Eclipse
for a partially compiling project in Fiji. In this case (because it's
build by eclipse, the annotation index was not present.xmlIoClass
- the class to register.Copyright © 2015–2021 Fiji. All rights reserved.