Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Nov 5, 2011
1 parent d58fa82 commit cd0f75d
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions src/main/org/nlogo/api/DummyExtensionManager.scala
@@ -1,29 +1,30 @@
// (C) 2011 Uri Wilensky. https://github.com/NetLogo/NetLogo

package org.nlogo.api

class DummyExtensionManager extends ExtensionManager {
private def unsupported = throw new UnsupportedOperationException
def storeObject(obj:AnyRef) { }
def retrieveObject():AnyRef = unsupported
def storeObject(obj: AnyRef) { }
def retrieveObject(): AnyRef = unsupported
def initializeHubNet() { }
def readExtensionObject(extname:String,typeName:String,value:String):ExtensionObject = unsupported
def readFromString(src:String):AnyRef = unsupported
def readExtensionObject(extname: String, typeName: String, value: String): ExtensionObject = unsupported
def readFromString(src: String): AnyRef = unsupported
def reset() = unsupported
def startFullCompilation() { }
def finishFullCompilation() { }
def anyExtensionsLoaded() = false
def replaceIdentifier(name:String):Primitive = null
def importExtension(jarPath:String,errors:ErrorSource) = unsupported
def resolvePath(path:String):String = unsupported
def resolvePathAsURL(path:String):String = unsupported
def dumpExtensions():String = unsupported
def dumpExtensionPrimitives():String = unsupported
def getSource(filename:String):String =
def replaceIdentifier(name: String): Primitive = null
def importExtension(jarPath: String, errors: ErrorSource) = unsupported
def resolvePath(path: String): String = unsupported
def resolvePathAsURL(path: String): String = unsupported
def dumpExtensions(): String = unsupported
def dumpExtensionPrimitives(): String = unsupported
def getSource(filename: String): String =
if(filename == "aggregate") ""
else unsupported
def wrap(prim:Primitive,name:String):TokenHolder = unsupported
def addToLibraryPath(classManager:AnyRef,directory:String) = unsupported
def getFile(path:String) = unsupported
def wrap(prim: Primitive, name: String): TokenHolder = unsupported
def addToLibraryPath(classManager: AnyRef, directory: String) = unsupported
def getFile(path: String) = unsupported
def getJarPaths = unsupported
def getExtensionNames = unsupported
def profilingEnabled = false
Expand Down

0 comments on commit cd0f75d

Please sign in to comment.