};
blackboard.addListener(currentBlackboardListener);
}
private void setRegion( ProcessingRegionStyle processingStyle ) {
ProcessingRegion region = new ProcessingRegion(processingStyle.west, processingStyle.east, processingStyle.south,
processingStyle.north, processingStyle.rows, processingStyle.cols);
if (isProcessingNorth) {
text.setText(String.valueOf(processingStyle.north));
} else if (isProcessingSouth) {
text.setText(String.valueOf(processingStyle.south));
} else if (isProcessingWest) {
text.setText(String.valueOf(processingStyle.west));
} else if (isProcessingEast) {
text.setText(String.valueOf(processingStyle.east));
} else if (isProcessingCols) {
text.setText(String.valueOf(processingStyle.cols));
} else if (isProcessingRows) {
text.setText(String.valueOf(processingStyle.rows));
} else if (isProcessingXres) {
text.setText(String.valueOf(region.getWEResolution()));
} else if (isProcessingYres) {
text.setText(String.valueOf(region.getNSResolution()));
}
}