public class GetLayerOp extends AbstractOperation<Layer>
Modifier | Constructor and Description |
---|---|
protected |
GetLayerOp(ScriptingContext context) |
Modifier and Type | Method and Description |
---|---|
GetLayerOp |
fromFile(java.lang.String fileName) |
GetLayerOp |
fromWorld(World2 world) |
Layer |
go() |
GetLayerOp |
withName(java.lang.String name) |
goCalled, sanityCheckFileName
protected GetLayerOp(ScriptingContext context)
public GetLayerOp fromFile(java.lang.String fileName)
public GetLayerOp fromWorld(World2 world)
public GetLayerOp withName(java.lang.String name)
public Layer go() throws ScriptException
ScriptException