Package org.locationtech.udig.project.internal

Examples of org.locationtech.udig.project.internal.EditManager.commitTransaction()


                 
                    EditManager editManagerInternal = mapEditor.getMap().getEditManagerInternal();
         
                    SaveMapRunnable.Result result = saveTemporaryLayers();
                    if( result == Result.NO_TEMP_LAYERS ){
              editManagerInternal.commitTransaction();

              success[0] = true;
                    } else {
                      success[0] = false;
                    }
View Full Code Here


                 
                    EditManager editManagerInternal = mapEditor.getMap().getEditManagerInternal();
         
                    SaveMapPaletteRunnable.Result result = saveTemporaryLayers();
                    if( result == Result.NO_TEMP_LAYERS ){
              editManagerInternal.commitTransaction();

              success[0] = true;
                    } else {
                      success[0] = false;
                    }
View Full Code Here

        assertTrue(store.getTransaction() == Transaction.AUTO_COMMIT);
        //remove starts again
        store.removeFeatures(Filter.INCLUDE);
        assertTrue(store.getTransaction() != Transaction.AUTO_COMMIT);
        //done
        manager.commitTransaction();
        assertTrue(store.getTransaction() == Transaction.AUTO_COMMIT);
    }
   
}
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.