addRegionListener();
ILayer processingRegionLayer = OmsBoxPlugin.getDefault().getProcessingRegionMapGraphic();
IStyleBlackboard blackboard = processingRegionLayer.getStyleBlackboard();
Object object = blackboard.get(ProcessingRegionStyleContent.ID);
if (object instanceof ProcessingRegionStyle) {
ProcessingRegionStyle processingStyle = (ProcessingRegionStyle) object;
setRegion(processingStyle);
}
}
text.addDisposeListener(new DisposeListener(){