if (validCIdentifier.matcher(String.valueOf(value)).matches()) {
controller.setObjectProperty(getUID(), getKind(), ObjectProperties.LABEL, String.valueOf(value));
}
- // no break on purpose
+ // no break on purpose
case ANNOTATION:
controller.setObjectProperty(getUID(), getKind(), ObjectProperties.DESCRIPTION, String.valueOf(value));
break;
}
/*
- * At that point, the sourcePoint, targetPoint and points are valid values (but may be unknown) encode them to the the CONTROL_POINTS
- */
+ * At that point, the sourcePoint, targetPoint and points are valid values (but may be unknown) encode them to the the CONTROL_POINTS
+ */
// Allocate some space to contains them all
int nbOfPoints = 2 + points.size();
import com.mxgraph.io.mxCellCodec;
import com.mxgraph.io.mxCodec;
import com.mxgraph.model.mxICell;
-import com.mxgraph.util.mxConstants;
import org.scilab.modules.xcos.utils.XcosConstants;
/**
import org.scilab.modules.types.ScilabType;
import org.scilab.modules.xcos.JavaController;
import org.scilab.modules.xcos.ObjectProperties;
-import org.scilab.modules.xcos.VectorOfDouble;
import org.scilab.modules.xcos.block.BasicBlock;
import org.scilab.modules.xcos.graph.XcosDiagram;
import org.scilab.modules.xcos.io.ScilabTypeCoder;
import java.awt.dnd.InvalidDnDOperationException;
import java.awt.event.MouseListener;
import java.lang.ref.WeakReference;
-import java.util.logging.Level;
import java.util.logging.Logger;
import org.scilab.modules.gui.messagebox.ScilabModalDialog;
import com.mxgraph.model.mxGeometry;
import com.mxgraph.model.mxIGraphModel;
-import com.mxgraph.util.mxConstants;
import com.mxgraph.util.mxStyleUtils;
-import org.scilab.modules.graph.utils.ScilabGraphConstants;
import org.scilab.modules.graph.utils.StyleMap;
/**