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, sanityCheckFileNameprotected 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