Issue #427 renamed data provider rsc
Change-Id: I05b417c3f7d65908a52910f9d847cc188c7c4a9c Former-commit-id: 35ef9c2c228ac97ef623edd1e50800495d9ab8f7
This commit is contained in:
parent
7d870434f6
commit
069f809596
2 changed files with 8 additions and 7 deletions
|
@ -31,7 +31,7 @@ import com.raytheon.uf.viz.collaboration.comm.identity.ISharedDisplaySession;
|
|||
import com.raytheon.uf.viz.collaboration.comm.identity.IVenueSession;
|
||||
import com.raytheon.uf.viz.collaboration.data.CollaborationDataManager;
|
||||
import com.raytheon.uf.viz.collaboration.ui.rsc.CollaborationWrapperResource;
|
||||
import com.raytheon.uf.viz.collaboration.ui.rsc.SharedEditorIndicatorRsc;
|
||||
import com.raytheon.uf.viz.collaboration.ui.rsc.DataProviderRsc;
|
||||
import com.raytheon.uf.viz.core.IExtent;
|
||||
import com.raytheon.uf.viz.core.PixelExtent;
|
||||
import com.raytheon.uf.viz.core.drawables.AbstractRenderableDisplay;
|
||||
|
@ -175,12 +175,12 @@ public class EditorSetup {
|
|||
IDescriptor desc = editor.getActiveDisplayPane().getRenderableDisplay()
|
||||
.getDescriptor();
|
||||
GenericResourceData grd = new GenericResourceData(
|
||||
SharedEditorIndicatorRsc.class);
|
||||
DataProviderRsc.class);
|
||||
ResourcePair rp = new ResourcePair();
|
||||
rp.setResourceData(grd);
|
||||
desc.getResourceList().add(rp);
|
||||
desc.getResourceList().instantiateResources(desc, true);
|
||||
SharedEditorIndicatorRsc rsc = (SharedEditorIndicatorRsc) rp
|
||||
DataProviderRsc rsc = (DataProviderRsc) rp
|
||||
.getResource();
|
||||
rsc.setRoomName(((IVenueSession) session).getVenue().getInfo()
|
||||
.getVenueDescription());
|
||||
|
|
|
@ -35,8 +35,9 @@ import com.raytheon.uf.viz.core.rsc.GenericResourceData;
|
|||
import com.raytheon.uf.viz.core.rsc.LoadProperties;
|
||||
|
||||
/**
|
||||
* A resource for displaying to the user that they are currently sharing this
|
||||
* editor with a particular session.
|
||||
* A resource that is added to an editor that the Data Provider is sharing. It
|
||||
* captures some events and also displays to the Data Provider that the editor
|
||||
* is currently shared.
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
|
@ -52,7 +53,7 @@ import com.raytheon.uf.viz.core.rsc.LoadProperties;
|
|||
* @version 1.0
|
||||
*/
|
||||
|
||||
public class SharedEditorIndicatorRsc extends
|
||||
public class DataProviderRsc extends
|
||||
AbstractVizResource<GenericResourceData, IDescriptor> {
|
||||
|
||||
protected String roomName;
|
||||
|
@ -61,7 +62,7 @@ public class SharedEditorIndicatorRsc extends
|
|||
|
||||
protected ISharedDisplaySession session;
|
||||
|
||||
public SharedEditorIndicatorRsc(GenericResourceData resourceData,
|
||||
public DataProviderRsc(GenericResourceData resourceData,
|
||||
LoadProperties loadProperties) {
|
||||
super(resourceData, loadProperties);
|
||||
}
|
Loading…
Add table
Reference in a new issue