ccc.client.gwt.core
Interface SingleSelectionModel

All Known Implementing Classes:
ResourceTable

public interface SingleSelectionModel

API for accessing a dual-pane resource view.

Author:
Civic Computing Ltd.

Method Summary
 void create(ResourceSummary model)
          Deprecated. 
 void move(ResourceSummary model, ResourceSummary newParent, ResourceSummary oldParent)
          Deprecated. 
 ResourceSummary tableSelection()
          Access the currently selected table record.
 ResourceSummary treeSelection()
          Access the currently selected tree node.
 void update(ResourceSummary model)
          Deprecated. 
 

Method Detail

tableSelection

ResourceSummary tableSelection()
Access the currently selected table record.

Returns:
The selected model data.

treeSelection

ResourceSummary treeSelection()
Access the currently selected tree node.

Returns:
The selected model data.

update

@Deprecated
void update(ResourceSummary model)
Deprecated. 

Update the specified model data if it exists in the data store.

Parameters:
model - The model to update

move

@Deprecated
void move(ResourceSummary model,
                     ResourceSummary newParent,
                     ResourceSummary oldParent)
Deprecated. 

Move a resource to a new location.

Parameters:
model - The resource to move.
newParent - The new parent.
oldParent - The old parent.

create

@Deprecated
void create(ResourceSummary model)
Deprecated. 

Create a new model resource.

Parameters:
model - The model to create.


Copyright © 2010. All Rights Reserved.