Package org.locationtech.udig.project.internal.commands.edit

Examples of org.locationtech.udig.project.internal.commands.edit.SetEditFeatureCommand


     * @see SimpleFeature
     * @see Layer
     * @see UndoableMapCommand
     */
    public UndoableMapCommand createSetEditFeatureCommand( SimpleFeature feature, ILayer layer ) {
        return new SetEditFeatureCommand(feature, layer);
    }
View Full Code Here


     * @return a new {@linkplain SetEditFeatureCommand}object.
     * @see UndoableMapCommand
     * @see SimpleFeature
     */
    public UndoableMapCommand createSetEditFeatureCommand( SimpleFeature feature ) {
        return new SetEditFeatureCommand(feature);
    }
View Full Code Here

     * @return a new {@linkplain SetEditFeatureCommand}object that sets the current editable
     *         SimpleFeature to null..
     * @see UndoableMapCommand
     */
    public UndoableMapCommand createNullEditFeatureCommand() {
        return new SetEditFeatureCommand((SimpleFeature) null, (ILayer) null);
    }
View Full Code Here

                // shouldn't happen.
            }

            final CompositeCommand compComm = new CompositeCommand();
            //Sets the feature (with the edited values) used in the view as the editFeature
            compComm.getCommands().add(new SetEditFeatureCommand(editedFeature));
            //Write the changes to the actual dataset
            compComm.getCommands().add(new WriteEditFeatureCommand());
            context.sendASyncCommand(compComm);

            setEnabled(false);
View Full Code Here

     * @see SimpleFeature
     * @see Layer
     * @see UndoableMapCommand
     */
    public UndoableMapCommand createSetEditFeatureCommand( SimpleFeature feature, ILayer layer ) {
        return new SetEditFeatureCommand(feature, layer);
    }
View Full Code Here

     * @return a new {@linkplain SetEditFeatureCommand}object.
     * @see UndoableMapCommand
     * @see SimpleFeature
     */
    public UndoableMapCommand createSetEditFeatureCommand( SimpleFeature feature ) {
        return new SetEditFeatureCommand(feature);
    }
View Full Code Here

     * @return a new {@linkplain SetEditFeatureCommand}object that sets the current editable
     *         SimpleFeature to null..
     * @see UndoableMapCommand
     */
    public UndoableMapCommand createNullEditFeatureCommand() {
        return new SetEditFeatureCommand((SimpleFeature) null, (ILayer) null);
    }
View Full Code Here

                // shouldn't happen.
            }

            final CompositeCommand compComm = new CompositeCommand();
            //Sets the feature (with the edited values) used in the view as the editFeature
            compComm.getCommands().add(new SetEditFeatureCommand(editedFeature));
            //Write the changes to the actual dataset
            compComm.getCommands().add(new WriteEditFeatureCommand());
            context.sendASyncCommand(compComm);

            setEnabled(false);
View Full Code Here

TOP

Related Classes of org.locationtech.udig.project.internal.commands.edit.SetEditFeatureCommand

Copyright © 2018 www.massapicom. 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.