@Override public Collection<?> getChildren(Object object) { if (object != null && object instanceof TreeNodeWrapper) { TreeNodeWrapper treeNodeWrapper = (TreeNodeWrapper) object; if (treeNodeWrapper.getObject() != null && treeNodeWrapper.getObject() instanceof BTSConfig) { Object realItem = ((TreeNodeWrapper) object).getObject(); IItemLabelProvider realItemItemprovider = getRealItemItemProvider(treeNodeWrapper, realItem); return ((IStructuredItemContentProvider) realItemItemprovider).getElements(realItem); } } return super.getChildren(object); }
@Override public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { if (domain != null) { domain.removeResourceSetListener(listener); } super.inputChanged(viewer, oldInput, newInput); // // We want to 'activate' the content providers and listeners adapterFactory.adapt(newInput, IStructuredItemContentProvider.class); // if (newInput instanceof EObject) { domain = gov.nasa.ensemble.emf.transaction.TransactionUtils.getDomain(newInput); if (domain != null) { domain.addResourceSetListener(listener); } input = (EObject) newInput; } else { input = null; domain = null; } }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SmarthomeItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MetamodelItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public DebugItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public TracingannotationsItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EventItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ProtocolItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ChartItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public VisualInterfaceItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public DetailViewItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated NOT */ public IEC60870ItemProviderAdapterFactory () { this.supportedTypes.add ( IEditingDomainItemProvider.class ); this.supportedTypes.add ( IStructuredItemContentProvider.class ); this.supportedTypes.add ( ITreeItemContentProvider.class ); this.supportedTypes.add ( IItemLabelProvider.class ); this.supportedTypes.add ( IItemPropertySource.class ); this.supportedTypes.add ( IPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public GlobalizeItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ExecComponentsItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SecurityItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public CommonItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public JdbcItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MemoryManagerItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public CommonItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public DeploymentItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SetupItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ProfileItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public OsgiItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public WorldItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( ITableItemLabelProvider.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ItemItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MemoryItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ModbusItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ScriptItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public RecipeItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ParserItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public DaveItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ArduinoItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ComponentItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public InfrastructureItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); supportedTypes.add ( IItemStyledLabelProvider.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ConfigurationItemProviderAdapterFactory () { supportedTypes.add ( IEditingDomainItemProvider.class ); supportedTypes.add ( IStructuredItemContentProvider.class ); supportedTypes.add ( ITreeItemContentProvider.class ); supportedTypes.add ( IItemLabelProvider.class ); supportedTypes.add ( IItemPropertySource.class ); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ToscaItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }
/** * This constructs an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ExtendedtoscaItemProviderAdapterFactory() { supportedTypes.add(IEditingDomainItemProvider.class); supportedTypes.add(IStructuredItemContentProvider.class); supportedTypes.add(ITreeItemContentProvider.class); supportedTypes.add(IItemLabelProvider.class); supportedTypes.add(IItemPropertySource.class); }