Examples of Axis


Examples of fr.soleil.salsa.view.tool.Axis

     *
     * @param axis
     * @return
     */
    public Axis convertAxis(DisplayAxis axis) {
        Axis result = null;
        if (axis != null) {
            switch (axis) {
                case X:
                    result = Axis.X;
                    break;
View Full Code Here

Examples of fr.soleil.salsa.view.tool.Axis

            }
            else {
                // If no display is recorded, this is the default behavior.
                List<ISensor> sensorsList = useConfig ? config.getSensorsList() : scanResult
                        .getSensorsList();
                Axis axis = null;
                for (ISensor sensor : sensorsList) {
                    if (sensor.isEnabled()) {
                        Data tempData = new Data();
                        tempData.setName(sensor.getName().toLowerCase());
                        if (!isConfig2D) {
View Full Code Here

Examples of fr.soleil.salsa.view.tool.Axis

     *
     * @param axis
     * @return
     */
    public Axis convertAxis(DisplayAxis axis) {
        Axis result = null;
        if (axis != null) {
            switch (axis) {
                case X:
                    result = Axis.X;
                    break;
View Full Code Here

Examples of fr.soleil.salsa.view.tool.Axis

        boolean valueChanged = false;

        if (event.getType() == TableModelEvent.UPDATE) {
            if (column != -1 && row != -1) {
                String choosedAxisValue = mainTable.getValueAt(row, column).toString();
                Axis newAxis;
                if (choosedAxisValue.equals("")) {
                    newAxis = null;
                    if (datasList.get(row).getAxis() != newAxis) {
                        valueChanged = true;
                        datasList.get(row).setAxis(newAxis);
View Full Code Here

Examples of fr.soleil.salsa.view.tool.Axis

     *
     * @param axis
     * @return
     */
    public Axis convertAxis(DisplayAxis axis) {
        Axis result = null;
        if (axis != null) {
            switch (axis) {
                case X:
                    result = Axis.X;
                    break;
View Full Code Here

Examples of fr.soleil.salsa.view.tool.Axis

        int column = event.getColumn();

        if (event.getType() == TableModelEvent.UPDATE) {
            if (column != -1 && row != -1) {
                String choosedAxisValue = mainTable.getValueAt(row, column).toString();
                Axis newAxis;
                if (choosedAxisValue.equals("")) {
                    newAxis = null;
                    datasList.get(row).setAxis(newAxis);
                    if (display != null && datasList != null) {
                        notifyController();
                    }
                    return;
                }
                else {
                    newAxis = Axis.valueOf(choosedAxisValue);
                }
                if (display.getType().equals(Display.Type.TYPE_1D) && newAxis != null) {
                    if (newAxis.equals(Axis.X)) {
                        for (Data data : datasList) {
                            if (display.getDataAxis(data) != null) {
                                if (display.getDataAxis(data).equals(newAxis)
                                        && datasList.indexOf(data) != row) {
                                    data.setAxis(null);
View Full Code Here

Examples of fr.soleil.salsa.view.tool.Axis

        boolean valueChanged = false;

        if (event.getType() == TableModelEvent.UPDATE) {
            if (column != -1 && row != -1) {
                String choosedAxisValue = mainTable.getValueAt(row, column).toString();
                Axis newAxis;
                if (choosedAxisValue.equals("")) {
                    newAxis = null;
                    if (datasList.get(row).getAxis() != newAxis) {
                        valueChanged = true;
                        datasList.get(row).setAxis(newAxis);
View Full Code Here

Examples of gov.nasa.arc.mct.fastplot.view.Axis

    GregorianCalendar zeroCal = new GregorianCalendar();
    zeroCal.setTimeInMillis(0);
   
    Mockito.when(mockPlot.isUserOperationsLocked()).thenReturn(false);
    rectangle = new Rectangle(0,0,100,100);
    final Axis timeAxis = new Axis();
    final PinSupport pins = new PinSupport() {
      Pinnable timeAxisPin = timeAxis.createPin();


      @Override
      protected void informPinned(boolean pinned) {
        timeAxisPin.setPinned(pinned);
View Full Code Here

Examples of hudson.matrix.Axis

        AxisList list = new AxisList();
        List<String> values = new LinkedList<String>();
        for (int slaveInx : slaveInxes) {
            values.add(slaves.get(slaveInx).getLabelString());
        }
        list.add(new Axis("label",values));
        project.setAxes(list);
    }
View Full Code Here

Examples of hudson.matrix.Axis

        assertEquals(0, downstreamProjects.size());
    }
   
    public void testMatrixDependency() throws Exception {
        MatrixProject matrixProject = createMatrixProject();
        matrixProject.setAxes(new AxisList(new Axis("foo", "a", "b")));
        FreeStyleProject freestyleProject = createFreeStyleProjectWithFingerprints(singleContents, singleFiles);
        addFingerprinterToProject(matrixProject, singleContents, singleFiles);

        hudson.rebuildDependencyGraph();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.