Class LayerManager


  • public class LayerManager
    extends Object
    Either 'editor' or 'editorFactory' must be given:
    • 'editor' must be a LayerEditor
    • 'editorFactory' must be a com.bc.ceres.core.ExtensionFactory that produces instances of LayerEditor.
     <editor field="layerEditorClass" type="java.lang.Class"/>
     <editorFactory field="layerEditorFactoryClass" type="java.lang.Class"/>
     
    At least 'layer' or 'layerType' must be given:
    • 'layer' must be a com.bc.ceres.glayer.Layer
    • 'layerType' must be a com.bc.ceres.glayer.LayerType.
     <layer field="layerClass" type="java.lang.Class"/>
     <layerType field="layerTypeClass" type="java.lang.Class"/>
     
    • Field Detail

      • LOG

        public static final Logger LOG
    • Constructor Detail

      • LayerManager

        protected LayerManager()
    • Method Detail

      • createLayerSourceDescriptor

        public static DefaultLayerSourceDescriptor createLayerSourceDescriptor​(org.openide.filesystems.FileObject fileObject)
      • registerLayerEditorDescriptor

        public static void registerLayerEditorDescriptor​(org.openide.filesystems.FileObject fileObject)
                                                  throws Exception
        Throws:
        Exception
      • getClassAttribute

        public static <T> Class<T> getClassAttribute​(org.openide.filesystems.FileObject fileObject,
                                                     String attributeName,
                                                     Class<T> expectedType,
                                                     boolean required)