Ejemplo n.º 1
0
 @Override
 public void setActive(final boolean active) {
   super.setActive(active);
   IToolContext context = getContext();
   if (active && context.getMapLayers().size() > 0) {
     String message = "Arc Tool activated, specify first point";
     StatusBar.setStatusBarMessage(context, message);
   } else {
     StatusBar.setStatusBarMessage(context, ""); // $NON-NLS-1$
   }
 }
Ejemplo n.º 2
0
 @Override
 public void setActive(final boolean active) {
   super.setActive(active);
   IToolContext context = getContext();
   if (active && context.getMapLayers().size() > 0) {
     String message = Messages.TrimTool_draw_line_to_trim;
     StatusBar.setStatusBarMessage(context, message);
   } else {
     StatusBar.setStatusBarMessage(context, ""); // $NON-NLS-1$
   }
 }