Exemplo n.º 1
0
 public ScAbstractCommandControl newPostNameCommandControl(
     String label, ScCommand c, boolean openNewWindow) {
   ScImage k = new ScImage();
   k.setLabel(label);
   k.setStaticUrl(getPostImageAdaptor());
   if (c != null) k.setCommand(c);
   k.setOpenNewWindow(openNewWindow);
   return k;
 }
 public ScImage newOperatorImage(String hint, ScCommand c, boolean openNewWindow) {
   ScImage e = newOperatorImage(hint);
   e.setCommand(c);
   e.setOpenNewWindow(openNewWindow);
   return e;
 }