|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRemoteComponentTools

Several useful methods to create Composite Application components and modify their component data
| Method Summary | |
|---|---|
void |
createWire(IRemoteViewPart sourcePart,
IRemoteViewPart targetPart,
java.lang.String sourceWireName,
java.lang.String targetWireName,
java.lang.String wireId,
java.lang.String wireTitle)
Method to create a CA wire between two IRemoteViewParts in code |
IRemoteTopologyHandler |
getTopologyHandler()
Returns a topology handler wrapper. |
void |
showComponentInPage(IRemoteWorkbenchPage page,
java.lang.String primaryId,
java.lang.String secondaryId,
java.util.Map<java.lang.Object,java.lang.Object> parameters)
Helper method to create a new Component in the specified IRemoteWorkbenchPage. |
void |
showCompositeApplication(java.net.URL url,
java.lang.String pageId,
boolean blocking)
The method wraps com.ibm.rcp.portal.app.ui.service.CompositeApplicationUIService#showApplication(java.net.URL,java.lang.String,org.eclipse.core.runtime.IProgressMonitor progressMonitor)
and adds an option to wait for the CA to get opened |
| Method Detail |
|---|
void showComponentInPage(IRemoteWorkbenchPage page,
java.lang.String primaryId,
java.lang.String secondaryId,
java.util.Map<java.lang.Object,java.lang.Object> parameters)
throws RemoteEclipseAPIException
IRemoteWorkbenchPage.IRemoteTopologyHandler.modifyComponent(Map, String) and displaying the Component's
view with IRemoteWorkbenchPage.showView(String, String, int)
page - page in which the component should be createdprimaryId - primary id of the componentsecondaryId - secondary id of the componentparameters - map with Component Data
RemoteEclipseAPIException
void showCompositeApplication(java.net.URL url,
java.lang.String pageId,
boolean blocking)
throws RemoteEclipseAPIException
com.ibm.rcp.portal.app.ui.service.CompositeApplicationUIService#showApplication(java.net.URL,java.lang.String,org.eclipse.core.runtime.IProgressMonitor progressMonitor)
and adds an option to wait for the CA to get opened
url - The URL to retrieve the application description.pageId - Optional identifier of page (perspective) to show.blocking - true to wait for the CA to get opened
RemoteEclipseAPIException
void createWire(IRemoteViewPart sourcePart,
IRemoteViewPart targetPart,
java.lang.String sourceWireName,
java.lang.String targetWireName,
java.lang.String wireId,
java.lang.String wireTitle)
throws RemoteEclipseAPIException
IRemoteViewParts in code
sourcePart - source parttargetPart - target partsourceWireName - source wire nametargetWireName - target wire namewireId - wire idwireTitle - title of the wire
RemoteEclipseAPIException
IRemoteTopologyHandler getTopologyHandler()
throws RemoteEclipseAPIException
RemoteEclipseAPIException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||