Examples of demarcateUOW()


Examples of com.volantis.mcs.eclipse.common.odom.undo.UndoRedoManager.demarcateUOW()

        for (int i = 0; i < items.length; i++) {
            patterns[i] = (String) items[i];
        }

        UndoRedoManager undoRedoManager = context.getUndoRedoManager();
        undoRedoManager.demarcateUOW();

        selectedDeviceIdentification.removeChangeListener(odomChangeListener);
        try {
            context.getDeviceRepositoryAccessorManager().setDeviceTACs(
                    getSelectedDeviceName(), patterns);
View Full Code Here

Examples of com.volantis.mcs.eclipse.common.odom.undo.UndoRedoManager.demarcateUOW()

                    getSelectedDeviceName(), patterns);
        } catch (RepositoryException e) {
            EclipseCommonPlugin.handleError(ABPlugin.getDefault(), e);
        } finally {
            selectedDeviceIdentification.addChangeListener(odomChangeListener);
            undoRedoManager.demarcateUOW();
        }
    }

    /**
     * Returns the name of the currently selected device or null if no device
View Full Code Here

Examples of com.volantis.mcs.eclipse.common.odom.undo.UndoRedoManager.demarcateUOW()

     * @param vocabulary the new value for the vocabulary.
     */
    private void updateVocabulary(String vocabulary) {
        selectedElement.removeChangeListener(selectedElementListener);
        UndoRedoManager undoRedoManager = context.getUndoRedoManager();
        undoRedoManager.demarcateUOW();
        try {
            if (vocabulary != null && vocabulary.length() > 0) {
                selectedElement.setAttribute(
                        DeviceRepositorySchemaConstants.VOCABULARY_ATTRIBUTE_NAME,
                        vocabulary);
View Full Code Here

Examples of com.volantis.mcs.eclipse.common.odom.undo.UndoRedoManager.demarcateUOW()

                        DeviceRepositorySchemaConstants.VOCABULARY_ATTRIBUTE_NAME);
                updateUAProfName(null);
            }
        } finally {
            selectedElement.removeChangeListener(selectedElementListener);
            undoRedoManager.demarcateUOW();
        }
    }

    /**
     * Update the element with the new value(s)
View Full Code Here

Examples of com.volantis.mcs.eclipse.common.odom.undo.UndoRedoManager.demarcateUOW()

     */
    private void updateUAProfName(String uaProfName) {
        selectedElement.removeChangeListener(selectedElementListener);

        UndoRedoManager undoRedoManager = context.getUndoRedoManager();
        undoRedoManager.demarcateUOW();

        try {
            Element uaProfElement = getUAProfElement();
            if ((uaProfName == null) || (uaProfName.trim().length() == 0)) {
                if (uaProfElement != null) {
View Full Code Here

Examples of com.volantis.mcs.eclipse.common.odom.undo.UndoRedoManager.demarcateUOW()

                        DeviceRepositorySchemaConstants.UAPROF_ATTRIBUTE_NAME,
                        uaProfName);
            }
        } finally {
            selectedElement.addChangeListener(selectedElementListener);
            undoRedoManager.demarcateUOW();
        }
    }

    /**
     * Update the control with the specified value.
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.