Ejemplo n.º 1
0
 /** Gets the Noun for this Operation */
 public String getNoun(NetworkItemModel<?> op2) {
   assert !isUnary()
       : "The Unary Operation " + name() + " has no Noun"; // $NON-NLS-1$ //$NON-NLS-2$
   assert op2 != null
       : "Can't perform binary operation "
           + name()
           + "without a second operand"; //$NON-NLS-1$ $NON-NLS-2$
   return op2.getName();
 }
Ejemplo n.º 2
0
 @Override
 public String getVerb(NetworkItemModel<?> op1) {
   return ConstantsManager.getInstance().getMessages().detachNetwork(op1.getName());
 }