Package org.gvsig.vcsgis.lib.workspace
Class ChangesImpl<CHANGE extends VCSGisChange>
java.lang.Object
org.gvsig.tools.dispose.impl.AbstractDisposable
org.gvsig.vcsgis.lib.workspace.ChangesImpl<CHANGE>
- Type Parameters:
CHANGE-
- All Implemented Interfaces:
org.gvsig.tools.dispose.Disposable,org.gvsig.tools.swing.api.ChangeListenerSupport,org.gvsig.tools.util.GetItem64<CHANGE>,org.gvsig.tools.util.GetItemWithSize64<CHANGE>,org.gvsig.tools.util.IsEmpty,org.gvsig.tools.util.Size64,VCSGisWorkspaceChanges<CHANGE>
public abstract class ChangesImpl<CHANGE extends VCSGisChange>
extends org.gvsig.tools.dispose.impl.AbstractDisposable
implements VCSGisWorkspaceChanges<CHANGE>
- Author:
- gvSIG Team
-
Constructor Summary
ConstructorsConstructorDescriptionChangesImpl(org.gvsig.tools.util.GetItemWithSize64<org.gvsig.fmap.dal.feature.Feature> changes, String selectedFieldName) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChangeListener(ChangeListener listener) voidaddSelectionInterval(long start, long end) voidprotected abstract CHANGEcreateChange(org.gvsig.fmap.dal.feature.Feature f) protected voidget64(long position) booleanbooleanisEmpty()booleanisSelectedIndex(long index) booleanbooleanisSelectionFromEntitiesEmpty(List<VCSGisEntity> entities) voidvoidvoidremoveChangeListener(ChangeListener listener) voidremoveSelectionInterval(long start, long end) voidvoidsetSelectionInterval(long start, long end) longsize64()protected abstract voidupdateChange(org.gvsig.fmap.dal.feature.FeatureStore store, CHANGE change) Methods inherited from class org.gvsig.tools.dispose.impl.AbstractDisposable
dispose, disposeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gvsig.tools.dispose.Disposable
dispose
-
Constructor Details
-
ChangesImpl
public ChangesImpl(org.gvsig.tools.util.GetItemWithSize64<org.gvsig.fmap.dal.feature.Feature> changes, String selectedFieldName)
-
-
Method Details
-
createChange
-
updateChange
-
addSelectionInterval
public void addSelectionInterval(long start, long end) - Specified by:
addSelectionIntervalin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
removeSelectionInterval
public void removeSelectionInterval(long start, long end) - Specified by:
removeSelectionIntervalin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
setSelectionInterval
public void setSelectionInterval(long start, long end) - Specified by:
setSelectionIntervalin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
clearSelection
public void clearSelection()- Specified by:
clearSelectionin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
setSelectionAll
public void setSelectionAll()- Specified by:
setSelectionAllin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
process
- Specified by:
processin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
isSelectedIndex
public boolean isSelectedIndex(long index) - Specified by:
isSelectedIndexin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
isSelectionEmpty
public boolean isSelectionEmpty()- Specified by:
isSelectionEmptyin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
isSelectionFromEntitiesEmpty
- Specified by:
isSelectionFromEntitiesEmptyin interfaceVCSGisWorkspaceChanges<CHANGE extends VCSGisChange>
-
size64
public long size64()- Specified by:
size64in interfaceorg.gvsig.tools.util.Size64
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceorg.gvsig.tools.util.IsEmpty
-
get64
- Specified by:
get64in interfaceorg.gvsig.tools.util.GetItem64<CHANGE extends VCSGisChange>
-
addChangeListener
- Specified by:
addChangeListenerin interfaceorg.gvsig.tools.swing.api.ChangeListenerSupport
-
getChangeListeners
- Specified by:
getChangeListenersin interfaceorg.gvsig.tools.swing.api.ChangeListenerSupport
-
removeChangeListener
- Specified by:
removeChangeListenerin interfaceorg.gvsig.tools.swing.api.ChangeListenerSupport
-
removeAllChangeListener
public void removeAllChangeListener()- Specified by:
removeAllChangeListenerin interfaceorg.gvsig.tools.swing.api.ChangeListenerSupport
-
hasChangeListeners
public boolean hasChangeListeners()- Specified by:
hasChangeListenersin interfaceorg.gvsig.tools.swing.api.ChangeListenerSupport
-
doDispose
protected void doDispose() throws org.gvsig.tools.exception.BaseException- Specified by:
doDisposein classorg.gvsig.tools.dispose.impl.AbstractDisposable- Throws:
org.gvsig.tools.exception.BaseException
-