コード例 #1
0
 /** Override parent's behaviour by enabling start and end object observing */
 @Override
 public void setValidated(boolean validated) {
   super.setValidated(validated);
   if (!enabledStartObjectObserving) {
     enableStartObjectObserving(startObject);
   }
   if (!enabledEndObjectObserving) {
     enableEndObjectObserving(endObject);
   }
 }
コード例 #2
0
 public void observeRelevantObjects() {
   enableStartObjectObserving(getStartObject());
   enableEndObjectObserving(getEndObject());
 }
コード例 #3
0
 public final void setEndObject(ShapeGraphicalRepresentation<?> anEndObject) {
   endObject = anEndObject;
   if (!enabledEndObjectObserving) {
     enableEndObjectObserving(endObject);
   }
 }