|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectViewPart
net.refractions.udig.tool.select.TableView
public class TableView
Table view for selected Layer, may choose to display FeatureSource with out supporting selection in the future.
Currently this is a playground using the FeatureTable to look at a FeautreSource, syncing up the slection with the Layer's filter will come next.Long term responsibilities include:
Field Summary | |
---|---|
protected static java.lang.String |
ANY
|
protected boolean |
editing
Indicates that the a feature is being updated by the table view so it is not necessary to load the change indicated by the feature event. |
protected boolean |
filterChange
Indicates that the selection filter has changed while inactive |
protected boolean |
reloadNeeded
Indicates that the features in the view need to be reloaded when the view is visible again. |
protected boolean |
updatingLayerFilter
Indicates that the view is updating the layer's filter because the selection on the table has changed. |
Constructor Summary | |
---|---|
TableView()
Construct SelectView . |
Method Summary | |
---|---|
protected void |
activate()
|
void |
addSelectionChangedListener(ISelectionChangedListener listener)
|
void |
createPartControl(Composite parent)
|
protected void |
deactivate()
|
void |
dispose()
|
void |
editFeatureChanged(Feature feature)
|
protected void |
editorActivated(MapPart editor)
Watch current editor to indicate current selectable layers. |
IToolContext |
getContext()
|
ISelection |
getSelection()
|
protected void |
reloadFeatures(ILayer notifierLayer)
|
void |
removeSelectionChangedListener(ISelectionChangedListener listener)
|
void |
setContext(IToolContext newContext)
|
void |
setFocus()
|
void |
setSelection(ISelection selection)
|
protected void |
updateSelection(ILayer notifierLayer)
|
protected void |
updateTable(ILayer notifierLayer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String ANY
protected volatile boolean reloadNeeded
protected volatile boolean filterChange
protected volatile boolean editing
protected volatile boolean updatingLayerFilter
Constructor Detail |
---|
public TableView()
SelectView
.
Don't do setup here - there is an init method you can override that has access to configuration and stuff.
Method Detail |
---|
public void createPartControl(Composite parent)
protected void activate()
protected void deactivate()
protected void editorActivated(MapPart editor)
editor
- public void setFocus()
public void dispose()
protected void updateSelection(ILayer notifierLayer)
protected void updateTable(ILayer notifierLayer)
protected void reloadFeatures(ILayer notifierLayer)
public void addSelectionChangedListener(ISelectionChangedListener listener)
public ISelection getSelection()
public void removeSelectionChangedListener(ISelectionChangedListener listener)
public void setSelection(ISelection selection)
public void editFeatureChanged(Feature feature)
public IToolContext getContext()
public void setContext(IToolContext newContext)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |