com.mindoo.remote.api.com.ibm.rcp.propertybroker.swt
Interface IRemoteSWTHelper


public interface IRemoteSWTHelper

Remote API Wrapper for the com.ibm.rcp.propertybroker.swt.SWTHelper (Online documentation)

Original documentation:
This is a helper class to be used with PropertyBroker.changedProperties() method. It will take in a view part and return the full View ID including the Primary and secondary ID's which are used to map context with portal Wiring. When the properties are changed the only way to give the change context is to associate the change with the view which is mapped to the Portlet Entity Ref.


Method Summary
 java.lang.String getFullViewID(IRemoteViewPart viewPart)
          Take in a IRemoteViewPart and return the Full View ID of that view.
 IRemoteViewPart locateView(java.lang.String entityIDFromWire)
          This method will locate a View on a given perspective and switch to the perspective containing that view.
 

Method Detail

locateView

IRemoteViewPart locateView(java.lang.String entityIDFromWire)
                           throws RemoteEclipseAPIException
This method will locate a View on a given perspective and switch to the perspective containing that view. This method should only be used if you want the perspective opened that contains the unique view. This method should only be called from the UI thread.

Parameters:
entityIDFromWire - the entity ID from a wire, must not be null.
Returns:
IRemoteViewPart or null if not found
Throws:
RemoteEclipseAPIException

getFullViewID

java.lang.String getFullViewID(IRemoteViewPart viewPart)
                               throws RemoteEclipseAPIException
Take in a IRemoteViewPart and return the Full View ID of that view.

Parameters:
viewPart - viewpart
Returns:
a string representation of the full view ID.
Throws:
RemoteEclipseAPIException