fun run() { amIActive = true val inputFile: String = args.get(0) if (inputFile.lowercase(Locale.getDefault()).contains(".dep")) { calculateRaster() } else if (inputFile.lowercase(Locale.getDefault()).contains(".shp")) { calculateVector() } else { showFeedback("There was a problem reading the input file.") } }
Used to execute this plugin tool .