|
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 ComposeableAdapterFactorypublic void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory in interface ComposeableAdapterFactoryparentAdapterFactory - the new parent adapter factorypublic boolean isFactoryForType(java.lang.Object type)
isFactoryForType in interface AdapterFactoryisFactoryForType in class SysMLAdapterFactorytype - the type to test
public Adapter adapt(Notifier notifier,
java.lang.Object type)
adapt in interface AdapterFactoryadapt in class AdapterFactoryImplnotifier - the notifiertype - the object to adapt
public java.lang.Object adapt(java.lang.Object object,
java.lang.Object type)
adapt in interface AdapterFactoryadapt in class AdapterFactoryImplobject - the object to adapttype - the type to adapt
public void addListener(INotifyChangedListener notifyChangedListener)
addListener in interface IChangeNotifiernotifyChangedListener - the listener to addpublic void removeListener(INotifyChangedListener notifyChangedListener)
removeListener in interface IChangeNotifiernotifyChangedListener - the listener to removepublic void fireNotifyChanged(Notification notification)
changeNotifier and to
parentAdapterFactory.
fireNotifyChanged in interface IChangeNotifiernotification - the notification to firepublic Adapter createBlockAdapter()
Block.
createBlockAdapter in class SysMLAdapterFactoryBlockpublic Adapter createFlowPortAdapter()
FlowPort.
createFlowPortAdapter in class SysMLAdapterFactoryFlowPortpublic Adapter createServicePortAdapter()
ServicePort.
createServicePortAdapter in class SysMLAdapterFactoryServicePortpublic Adapter createFlowSpecificationAdapter()
FlowSpecification.
createFlowSpecificationAdapter in class SysMLAdapterFactoryFlowSpecificationpublic Adapter createBlockDefinitionAdapter()
BlockDefinition.
createBlockDefinitionAdapter in class SysMLAdapterFactoryBlockDefinitionpublic Adapter createPackageSYSMLAdapter()
PackageSYSML.
createPackageSYSMLAdapter in class SysMLAdapterFactoryPackageSYSMLpublic Adapter createRequirementAdapter()
Requirement.
createRequirementAdapter in class SysMLAdapterFactoryRequirementpublic Adapter createTestCaseAdapter()
TestCase.
createTestCaseAdapter in class SysMLAdapterFactoryTestCasepublic Adapter createRequirementDefinitionAdapter()
RequirementDefinition.
createRequirementDefinitionAdapter in class SysMLAdapterFactoryRequirementDefinitionpublic Adapter createSatisfyAdapter()
Satisfy.
createSatisfyAdapter in class SysMLAdapterFactorySatisfypublic Adapter createDeriveReqtAdapter()
DeriveReqt.
createDeriveReqtAdapter in class SysMLAdapterFactoryDeriveReqtpublic Adapter createVerifyAdapter()
Verify.
createVerifyAdapter in class SysMLAdapterFactoryVerifypublic Adapter createFieldAdapter()
Field.
createFieldAdapter in class SysMLAdapterFactoryFieldpublic Adapter createRationaleAdapter()
Rationale.
createRationaleAdapter in class SysMLAdapterFactoryRationalepublic Adapter createProblemAdapter()
Problem.
createProblemAdapter in class SysMLAdapterFactoryProblempublic Adapter createValueTypeAdapter()
ValueType.
createValueTypeAdapter in class SysMLAdapterFactoryValueTypepublic Adapter createDimensionAdapter()
Dimension.
createDimensionAdapter in class SysMLAdapterFactoryDimensionpublic Adapter createUnitAdapter()
Unit.
createUnitAdapter in class SysMLAdapterFactoryUnitpublic Adapter createBlockPropertyAdapter()
BlockProperty.
createBlockPropertyAdapter in class SysMLAdapterFactoryBlockPropertypublic Adapter createDistributedPropertyAdapter()
DistributedProperty.
createDistributedPropertyAdapter in class SysMLAdapterFactoryDistributedPropertypublic Adapter createItemFlowAdapter()
ItemFlow.
createItemFlowAdapter in class SysMLAdapterFactoryItemFlowpublic Adapter createFlowPropertyAdapter()
FlowProperty.
createFlowPropertyAdapter in class SysMLAdapterFactoryFlowPropertypublic Adapter createConstraintBlockAdapter()
ConstraintBlock.
createConstraintBlockAdapter in class SysMLAdapterFactoryConstraintBlockpublic Adapter createTraceAdapter()
Trace.
createTraceAdapter in class SysMLAdapterFactoryTracepublic Adapter createCopyAdapter()
Copy.
createCopyAdapter in class SysMLAdapterFactoryCopypublic Adapter createRefineAdapter()
Refine.
createRefineAdapter in class SysMLAdapterFactoryRefinepublic Adapter createConstraintPropertyAdapter()
ConstraintProperty.
createConstraintPropertyAdapter in class SysMLAdapterFactoryConstraintPropertypublic Adapter createContainmentAdapter()
Containment.
createContainmentAdapter in class SysMLAdapterFactoryContainmentpublic Adapter createRequirementRelatedAdapter()
RequirementRelated.
createRequirementRelatedAdapter in class SysMLAdapterFactoryRequirementRelatedpublic Adapter createModelSYSMLAdapter()
ModelSYSML.
createModelSYSMLAdapter in class SysMLAdapterFactoryModelSYSMLpublic 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.