|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.carma.ui.CarmaUtil
public class CarmaUtil
Utility class for going back and forth between CARMAResource object and IAdaptable objects of other types. Also has utility methods for storing and retrieving CARMAResource mappings.
| Field Summary | |
|---|---|
static java.lang.String |
COPYRIGHT
|
| Constructor Summary | |
|---|---|
CarmaUtil()
|
|
| Method Summary | |
|---|---|
static CARMAResource |
getCarmaResource(org.eclipse.core.resources.IResource resource)
Deprecated. Migrated to ResourceUtils.getCarmaResource(Object) using adapters |
static java.util.Map |
getCarmaResourceInfo(org.eclipse.core.resources.IResource resource)
Deprecated. This has been migrated to the internal.adapter.ResourceAdapterFactory adaptation framework
and the ICARMAResourceReference adaptation pattern |
static CarmaPreferenceStore |
getPreferenceStore()
Retrieves the CARMA preference store |
static void |
storeInformation(org.eclipse.core.resources.IResource resource,
CARMAResource cResource)
Deprecated. Migrated to the internal.adapter.ResourceAdapterFactory adaptation framework
and the ICARMAResourceReference adaptation pattern. Calls to this
method should be replaced by ResourceUtils.storeMapping(pm, resource, cResource) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COPYRIGHT
| Constructor Detail |
|---|
public CarmaUtil()
| Method Detail |
|---|
public static CarmaPreferenceStore getPreferenceStore()
@Deprecated
public static java.util.Map getCarmaResourceInfo(org.eclipse.core.resources.IResource resource)
throws org.eclipse.core.runtime.CoreException
internal.adapter.ResourceAdapterFactory adaptation framework
and the ICARMAResourceReference adaptation pattern
null.
resource - resource to find the association information for
org.eclipse.core.runtime.CoreException - if
@Deprecated
public static CARMAResource getCarmaResource(org.eclipse.core.resources.IResource resource)
throws org.eclipse.core.runtime.CoreException,
NotSynchronizedException
ResourceUtils.getCarmaResource(Object) using adapters
resource - IResource to find the associated CARMA resource for
org.eclipse.core.runtime.CoreException - if
NotSynchornizedException - if the model needs to be refreshed
NotSynchronizedException
@Deprecated
public static void storeInformation(org.eclipse.core.resources.IResource resource,
CARMAResource cResource)
throws org.eclipse.core.runtime.CoreException
internal.adapter.ResourceAdapterFactory adaptation framework
and the ICARMAResourceReference adaptation pattern. Calls to this
method should be replaced by ResourceUtils.storeMapping(pm, resource, cResource)
resource - The IResource corresponding to cResourcecResource - The CARMAResource corresponding to resource
org.eclipse.core.runtime.CoreException - if the types don't match correctly (container to file, etc), or if the IResource doesn't exist
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||