Deprecated API


Contents
Deprecated Classes
com.ibm.carma.ui.dialog.CarmaConnectDialog
           
com.ibm.carma.ui.action.custom.CustomActionParameterDialog
          This class is deprecated since version 8.0. Use CustomActionInputDialog instead. This Dialog is designed to query users for needed parameters. Here is an example of how this class can be used:
 if (manager.isPromptNeeded(resource, actionId)) {
    //find the action & then prompt the user
    final Action action = resource.findActionFor(actionId);
    if (action == null) { //this means that there is nothing special about this action
       resource.performAction(actionId, monitor, null);
       return;
    }
    Display.getDefault().syncExec(new Runnable(){
       public void run() {
          CustomActionParameterDialog dialog = new CustomActionParameterDialog(
             Display.getDefault().getActiveShell(), null, action, resource, manager);
          dialog.open();
          if (dialog.getReturnCode() == 0) {
             promptResults = dialog.getParameters();
          } else {
             promptResults = null;
          }
       }});
    if (promptResults != null)
       resource.performAction(actionId, monitor, promptResults);
    else
       ; //do nothing, we've been cancelled
 }      
 

This Class does not check the passed in manager to see if it should prompt, rather it always prompts, assuming the caller knows what he or she is doing. The manager however is querried to provide the default values displayed in the prompt. Those values will be set to the results intermingled with any values the user set. Constant parameters are not displayed.

 

com.ibm.carma.ui.action.DownloadDelegate
          Use the ReplaceWithRemoteDelegate 
 

Deprecated Fields
com.ibm.carma.ui.CarmaUIPlugin.CARMA_ID
          migrated to mapping framework to PropertyReference 
com.ibm.carma.ui.property.ICarmaPreferenceConstants.PREF_PARAM_ORDER_DEFAULT_ID
           
com.ibm.carma.ui.property.ICarmaPreferenceConstants.PREF_PARAM_ORDER_LABELS
           
com.ibm.carma.ui.property.ICarmaPreferenceConstants.PREF_PARAM_ORDER_METADATA_ID
           
com.ibm.carma.ui.property.ICarmaPreferenceConstants.PREF_PARAM_ORDER_USER_ID
           
com.ibm.carma.ui.CarmaUIPlugin.REMOTE_RESOURCE_ID
          migrated to mapping framework to PropertyReference 
com.ibm.carma.ui.CarmaUIPlugin.REMOTE_RESOURCE_TYPE
          migrated to mapping framework to PropertyReference 
com.ibm.carma.ui.CarmaUIPlugin.REPOSITORY_INSTANCE_ID
          migrated to mapping framework to PropertyReference 
com.ibm.carma.ui.CarmaUIPlugin.REPOSITORY_MANAGER_TYPE
          migrated to mapping framework to PropertyReference 
 

Deprecated Methods
com.ibm.carma.model.CARMA.connect(IProgressMonitor, String, String)
          use the CARMA.connect(IProgressMonitor) method and allow the transport to handle the id/password query 
com.ibm.carma.model.Convertable.getBidiOptionsFile()
          use the com.ibm.etools.wdz.bidi utilities and the get/setBidiOptions methods  
com.ibm.carma.ui.CarmaUtil.getCarmaResource(IResource)
          Migrated to ResourceUtils.getCarmaResource(Object) using adapters 
com.ibm.carma.ui.CarmaUtil.getCarmaResourceInfo(IResource)
          This has been migrated to the com.ibm.carma.ui.internal.adapter.ResourceAdapterFactory adaptation framework and the ICARMAResourceReference adaptation pattern 
com.ibm.carma.ui.property.CarmaPreferenceStore.getParameterSearchOrder()
          use CarmaPreferenceStore.getParameterSearchOrderEnum() for type safety 
com.ibm.carma.ui.CarmaUIPlugin.isDebugMode()
          use Plugin.isDebugging() 
com.ibm.carma.model.Convertable.isSetBidiOptionsFile()
           
com.ibm.carma.model.Convertable.setBidiOptionsFile(File)
          use com.ibm.etools.wdz.bidi.BidiConversionFile and the setBidiOptions method 
com.ibm.carma.ui.CarmaUtil.storeInformation(IResource, CARMAResource)
          Migrated to the com.ibm.carma.ui.internal.adapter.ResourceAdapterFactory adaptation framework and the ICARMAResourceReference adaptation pattern. Calls to this method should be replaced by ResourceUtils.storeMapping(pm, resource, cResource) 
com.ibm.carma.ui.CarmaUIPlugin.trace(Object, String, Throwable)
          Use the TraceUtil.trace(Object, String, Throwable) method 
com.ibm.carma.model.Convertable.unsetBidiOptionsFile()
           
 

Deprecated Constructors
com.ibm.carma.ui.action.custom.CustomActionParameterDialog(Shell, Image, Action, CARMAResource, CustomActionParameterManager)
          use the CustomActionParameterDialog.CustomActionParameterDialog(Shell, Image, Action, CustomActionAccepter, CustomActionParameterManager) constructor 
com.ibm.carma.ui.action.custom.CustomActionParameterDialog(Shell, Image, Action, RepositoryManager, CustomActionParameterManager)
          use the CustomActionParameterDialog.CustomActionParameterDialog(Shell, Image, Action, CustomActionAccepter, CustomActionParameterManager) constructor