Esempio n. 1
0
 public boolean setTextEditMenu(JPopupMenu popup) {
   if (isText()) {
     popup.add(CoordinateEdit.getTextEditAction(this, "EditText"));
     return true;
   }
   return false;
 }
Esempio n. 2
0
 /** Scale percentage return true if popup is set */
 public boolean setScaleMenu(JPopupMenu popup) {
   if (isIcon() && _displayLevel > Editor.BKG) {
     popup.add(CoordinateEdit.getScaleEditAction(this));
     return true;
   }
   return false;
 }