Eclipse Platform
2.0

org.eclipse.update.core
Class Import

java.lang.Object
  |
  +--org.eclipse.core.runtime.PlatformObject
        |
        +--org.eclipse.update.core.model.ModelObject
              |
              +--org.eclipse.update.core.model.ImportModel
                    |
                    +--org.eclipse.update.core.Import
All Implemented Interfaces:
IAdaptable, IImport

public class Import
extends ImportModel
implements IImport

Convenience implementation of a plug-in dependency.

This class may be instantiated or subclassed by clients.

Since:
2.0
See Also:
IImport, ImportModel

Field Summary
 
Fields inherited from interface org.eclipse.update.core.IImport
RULE_COMPATIBLE, RULE_EQUIVALENT, RULE_GREATER_OR_EQUAL, RULE_NONE, RULE_PERFECT
 
Constructor Summary
Import()
           
 
Method Summary
 int getRule()
          Returns the matching rule for the dependency.
 VersionedIdentifier getVersionedIdentifier()
          Returns an identifier of the dependent plug-in.
 
Methods inherited from class org.eclipse.update.core.model.ImportModel
getMatchingRuleName, getPluginIdentifier, getPluginVersion, setMatchingRuleName, setPluginIdentifier, setPluginVersion
 
Methods inherited from class org.eclipse.update.core.model.ModelObject
arrayTypeFor, arrayTypeFor, assertIsWriteable, isReadOnly, markListReferenceReadOnly, markReadOnly, markReferenceReadOnly, resolve, resolveListReference, resolveNLString, resolveReference, resolveURL
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

Import

public Import()
Method Detail

getVersionedIdentifier

public VersionedIdentifier getVersionedIdentifier()
Returns an identifier of the dependent plug-in.

Specified by:
getVersionedIdentifier in interface IImport
Returns:
plug-in identifier
See Also:
IImport#getIdentifier()

getRule

public int getRule()
Returns the matching rule for the dependency.

Specified by:
getRule in interface IImport
Returns:
matching rule
See Also:
IImport.getRule()

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.