|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.topcased.sysml.util.SysMLAdapterFactory
org.topcased.modeler.sysml.providers.SysMLModelerProviderAdapterFactory
public class SysMLModelerProviderAdapterFactory
This is the factory that is used to provide the interfaces needed to support
Viewers. The adapters generated by this factory convert EMF adapter
notifications into calls to fireNotifyChanged
.
The adapters also support Eclipse property sheets. Note that most of the
adapters are shared among multiple instances.
Field Summary |
---|
Fields inherited from class org.topcased.sysml.util.SysMLAdapterFactory |
---|
copyright, modelPackage, modelSwitch |
Constructor Summary | |
---|---|
SysMLModelerProviderAdapterFactory()
This constructs an instance. |
Method Summary | |
---|---|
Adapter |
adapt(Notifier notifier,
java.lang.Object type)
This implementation substitutes the factory itself as the key for the adapter. |
java.lang.Object |
adapt(java.lang.Object object,
java.lang.Object type)
|
void |
addListener(INotifyChangedListener notifyChangedListener)
This adds a listener. |
Adapter |
createBlockAdapter()
This creates an adapter for a Block .
|
Adapter |
createBlockDefinitionAdapter()
This creates an adapter for a BlockDefinition |
Adapter |
createBlockPropertyAdapter()
This creates an adapter for a BlockProperty |
Adapter |
createConstraintBlockAdapter()
This creates an adapter for a ConstraintBlock |
Adapter |
createConstraintPropertyAdapter()
This creates an adapter for a ConstraintProperty . |
Adapter |
createContainmentAdapter()
This creates an adapter for a Containment . |
Adapter |
createCopyAdapter()
This creates an adapter for a Copy .
|
Adapter |
createDeriveReqtAdapter()
This creates an adapter for a DeriveReqt |
Adapter |
createDimensionAdapter()
This creates an adapter for a Dimension .
|
Adapter |
createDistributedPropertyAdapter()
This creates an adapter for a DistributedProperty .
|
Adapter |
createFieldAdapter()
This creates an adapter for a Field .
|
Adapter |
createFlowPortAdapter()
This creates an adapter for a FlowPort .
|
Adapter |
createFlowPropertyAdapter()
This creates an adapter for a FlowProperty |
Adapter |
createFlowSpecificationAdapter()
This creates an adapter for a FlowSpecification .
|
Adapter |
createItemFlowAdapter()
This creates an adapter for a ItemFlow .
|
Adapter |
createModelSYSMLAdapter()
This creates an adapter for a ModelSYSML . |
Adapter |
createPackageSYSMLAdapter()
This creates an adapter for a PackageSYSML . |
Adapter |
createProblemAdapter()
This creates an adapter for a Problem .
|
Adapter |
createRationaleAdapter()
This creates an adapter for a Rationale .
|
Adapter |
createRefineAdapter()
This creates an adapter for a Refine .
|
Adapter |
createRequirementAdapter()
This creates an adapter for a Requirement |
Adapter |
createRequirementDefinitionAdapter()
This creates an adapter for a RequirementDefinition .
|
Adapter |
createRequirementRelatedAdapter()
This creates an adapter for a RequirementRelated . |
Adapter |
createSatisfyAdapter()
This creates an adapter for a Satisfy .
|
Adapter |
createServicePortAdapter()
This creates an adapter for a ServicePort |
Adapter |
createTestCaseAdapter()
This creates an adapter for a TestCase .
|
Adapter |
createTraceAdapter()
This creates an adapter for a Trace .
|
Adapter |
createUnitAdapter()
This creates an adapter for a Unit .
|
Adapter |
createValueTypeAdapter()
This creates an adapter for a ValueType .
|
Adapter |
createVerifyAdapter()
This creates an adapter for a Verify .
|
void |
dispose()
This disposes all of the item providers created by this factory. |
void |
fireNotifyChanged(Notification notification)
This delegates to changeNotifier and to
parentAdapterFactory .
|
ComposeableAdapterFactory |
getRootAdapterFactory()
This returns the root adapter factory that contains this factory. |
boolean |
isFactoryForType(java.lang.Object type)
|
void |
removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener. |
void |
setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory. |
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
---|
adaptAllNew, adaptNew, associate, createAdapter, resolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.common.notify.AdapterFactory |
---|
adaptAllNew, adaptNew |
Constructor Detail |
---|
public SysMLModelerProviderAdapterFactory()
Method Detail |
---|
public ComposeableAdapterFactory getRootAdapterFactory()
getRootAdapterFactory
in interface ComposeableAdapterFactory
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory
in interface ComposeableAdapterFactory
parentAdapterFactory
- the new parent adapter factorypublic boolean isFactoryForType(java.lang.Object type)
isFactoryForType
in interface AdapterFactory
isFactoryForType
in class SysMLAdapterFactory
type
- the type to test
public Adapter adapt(Notifier notifier, java.lang.Object type)
adapt
in interface AdapterFactory
adapt
in class AdapterFactoryImpl
notifier
- the notifiertype
- the object to adapt
public java.lang.Object adapt(java.lang.Object object, java.lang.Object type)
adapt
in interface AdapterFactory
adapt
in class AdapterFactoryImpl
object
- the object to adapttype
- the type to adapt
public void addListener(INotifyChangedListener notifyChangedListener)
addListener
in interface IChangeNotifier
notifyChangedListener
- the listener to addpublic void removeListener(INotifyChangedListener notifyChangedListener)
removeListener
in interface IChangeNotifier
notifyChangedListener
- the listener to removepublic void fireNotifyChanged(Notification notification)
changeNotifier
and to
parentAdapterFactory
.
fireNotifyChanged
in interface IChangeNotifier
notification
- the notification to firepublic Adapter createBlockAdapter()
Block
.
createBlockAdapter
in class SysMLAdapterFactory
Block
public Adapter createFlowPortAdapter()
FlowPort
.
createFlowPortAdapter
in class SysMLAdapterFactory
FlowPort
public Adapter createServicePortAdapter()
ServicePort
.
createServicePortAdapter
in class SysMLAdapterFactory
ServicePort
public Adapter createFlowSpecificationAdapter()
FlowSpecification
.
createFlowSpecificationAdapter
in class SysMLAdapterFactory
FlowSpecification
public Adapter createBlockDefinitionAdapter()
BlockDefinition
.
createBlockDefinitionAdapter
in class SysMLAdapterFactory
BlockDefinition
public Adapter createPackageSYSMLAdapter()
PackageSYSML
.
createPackageSYSMLAdapter
in class SysMLAdapterFactory
PackageSYSML
public Adapter createRequirementAdapter()
Requirement
.
createRequirementAdapter
in class SysMLAdapterFactory
Requirement
public Adapter createTestCaseAdapter()
TestCase
.
createTestCaseAdapter
in class SysMLAdapterFactory
TestCase
public Adapter createRequirementDefinitionAdapter()
RequirementDefinition
.
createRequirementDefinitionAdapter
in class SysMLAdapterFactory
RequirementDefinition
public Adapter createSatisfyAdapter()
Satisfy
.
createSatisfyAdapter
in class SysMLAdapterFactory
Satisfy
public Adapter createDeriveReqtAdapter()
DeriveReqt
.
createDeriveReqtAdapter
in class SysMLAdapterFactory
DeriveReqt
public Adapter createVerifyAdapter()
Verify
.
createVerifyAdapter
in class SysMLAdapterFactory
Verify
public Adapter createFieldAdapter()
Field
.
createFieldAdapter
in class SysMLAdapterFactory
Field
public Adapter createRationaleAdapter()
Rationale
.
createRationaleAdapter
in class SysMLAdapterFactory
Rationale
public Adapter createProblemAdapter()
Problem
.
createProblemAdapter
in class SysMLAdapterFactory
Problem
public Adapter createValueTypeAdapter()
ValueType
.
createValueTypeAdapter
in class SysMLAdapterFactory
ValueType
public Adapter createDimensionAdapter()
Dimension
.
createDimensionAdapter
in class SysMLAdapterFactory
Dimension
public Adapter createUnitAdapter()
Unit
.
createUnitAdapter
in class SysMLAdapterFactory
Unit
public Adapter createBlockPropertyAdapter()
BlockProperty
.
createBlockPropertyAdapter
in class SysMLAdapterFactory
BlockProperty
public Adapter createDistributedPropertyAdapter()
DistributedProperty
.
createDistributedPropertyAdapter
in class SysMLAdapterFactory
DistributedProperty
public Adapter createItemFlowAdapter()
ItemFlow
.
createItemFlowAdapter
in class SysMLAdapterFactory
ItemFlow
public Adapter createFlowPropertyAdapter()
FlowProperty
.
createFlowPropertyAdapter
in class SysMLAdapterFactory
FlowProperty
public Adapter createConstraintBlockAdapter()
ConstraintBlock
.
createConstraintBlockAdapter
in class SysMLAdapterFactory
ConstraintBlock
public Adapter createTraceAdapter()
Trace
.
createTraceAdapter
in class SysMLAdapterFactory
Trace
public Adapter createCopyAdapter()
Copy
.
createCopyAdapter
in class SysMLAdapterFactory
Copy
public Adapter createRefineAdapter()
Refine
.
createRefineAdapter
in class SysMLAdapterFactory
Refine
public Adapter createConstraintPropertyAdapter()
ConstraintProperty
.
createConstraintPropertyAdapter
in class SysMLAdapterFactory
ConstraintProperty
public Adapter createContainmentAdapter()
Containment
.
createContainmentAdapter
in class SysMLAdapterFactory
Containment
public Adapter createRequirementRelatedAdapter()
RequirementRelated
.
createRequirementRelatedAdapter
in class SysMLAdapterFactory
RequirementRelated
public Adapter createModelSYSMLAdapter()
ModelSYSML
.
createModelSYSMLAdapter
in class SysMLAdapterFactory
ModelSYSML
public void dispose()
dispose
in interface IDisposable
|
SysML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.