com.vividsolutions.jump.workbench.plugin.util
Class LayerNameGenerator

java.lang.Object
  extended by com.vividsolutions.jump.workbench.plugin.util.LayerNameGenerator

public class LayerNameGenerator
extends java.lang.Object

Utility methods for generating layer names.

Version:
1.0
Author:
Martin Davis

Constructor Summary
LayerNameGenerator()
           
 
Method Summary
static java.lang.String generateOperationOnLayerName(java.lang.String opName, java.lang.String srcLayerName)
          Generates a name for a layer containing features produced by running an operation on another layer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerNameGenerator

public LayerNameGenerator()
Method Detail

generateOperationOnLayerName

public static java.lang.String generateOperationOnLayerName(java.lang.String opName,
                                                            java.lang.String srcLayerName)
Generates a name for a layer containing features produced by running an operation on another layer.

Parameters:
opName - a short name for the operation
srcLayerName - the input layer name
Returns:
a new layer name