|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.rich.ui.downloadasset.AbstractDownloadAssetContributor
public abstract class AbstractDownloadAssetContributor
Represents the base implementation for anyone extending the com.ibm.ram.rich.ui.extension.downloadAsset extension point to
contribute importers in the UI.
Extending classes can provide a name and image for their custom importers, which will
be shown in UI. After a user selects this importer, further interaction occurs, culminating in the handing over of import.
| Constructor Summary | |
|---|---|
AbstractDownloadAssetContributor()
|
|
| Method Summary | |
|---|---|
IAssetIdentifier[] |
getAssetsToImport()
Deprecated. |
Image |
getImage()
Name of the contributor which shows up in the import wizard as the top level import contributor. |
AssetInformation[] |
getImportAssets()
Returns all the assets to import which should include the user selected assets. |
java.lang.String |
getName()
Name of the contributor which shows up in the import wizard as the top level import contributor. |
IWizardPage[] |
getWizardPages()
Returns wizard pages to add to the import process. |
IStatus[] |
importAssets(java.io.InputStream[] assetInputStreams,
Shell shell,
IProgressMonitor monitor)
Contributor should import the provided assets into the user selected target. |
void |
setSelectedAssets(Asset[] assets,
java.lang.String[] serverLocations,
java.lang.String[] userIDs)
Deprecated. |
void |
setSelectedAssets(AssetInformation[] assets)
Sets all the assets which are selected by the user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDownloadAssetContributor()
| Method Detail |
|---|
public java.lang.String getName()
public Image getImage()
public void setSelectedAssets(Asset[] assets,
java.lang.String[] serverLocations,
java.lang.String[] userIDs)
assets - Assets to be importedsetSelectedAssets(AssetInformation[])public void setSelectedAssets(AssetInformation[] assets)
assets - Assets to be importedpublic IWizardPage[] getWizardPages()
assets -
public IAssetIdentifier[] getAssetsToImport()
getImportAssets()public AssetInformation[] getImportAssets()
public IStatus[] importAssets(java.io.InputStream[] assetInputStreams,
Shell shell,
IProgressMonitor monitor)
assetInputStreams - Streams for the assets provided by getAssetsToImport()shell - Shell so that the importer can ask questions to the user.monitor -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||