Codota Logo
ComposeableAdapterFactory
Code IndexAdd Codota to your IDE (free)

How to use
ComposeableAdapterFactory
in
org.eclipse.emf.edit.provider

Best Java code snippets using org.eclipse.emf.edit.provider.ComposeableAdapterFactory (Showing top 20 results out of 315)

  • Common ways to obtain ComposeableAdapterFactory
private void myMethod () {
ComposeableAdapterFactory c =
  • Codota IconComposedAdapterFactory parentAdapterFactory;parentAdapterFactory.getRootAdapterFactory()
  • Smart code suggestions by Codota
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

public void insertAdapterFactory(AdapterFactory adapterFactory)
{
 if (!adapterFactories.contains(adapterFactory))
 {
  adapterFactories.add(0, adapterFactory);
  if (adapterFactory instanceof ComposeableAdapterFactory)
  {
   ((ComposeableAdapterFactory)adapterFactory).setParentAdapterFactory(this);
  }
 }
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Name feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addNamePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_EnvEntry_name_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_EnvEntry_name_feature", "_UI_EnvEntry_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getEnvEntry_Name(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Lang feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addLangPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_IconType_lang_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_IconType_lang_feature", "_UI_IconType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getIconType_Lang(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Description feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 *  
 */
protected void addDescriptionPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("_UI_CompatibilityDescriptionGroup_description_feature"), //$NON-NLS-1$
        CommonEditResourceHandler.getString("_UI_CompatibilityDescriptionGroup_description_feature_desc"), //$NON-NLS-1$
        CommonPackage.eINSTANCE.getCompatibilityDescriptionGroup_Description(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

public void removeAdapterFactory(AdapterFactory adapterFactory)
{
 if (adapterFactories.contains(adapterFactory))
 {
  adapterFactories.remove(adapterFactory);
  if (adapterFactory instanceof ComposeableAdapterFactory)
  {
   ((ComposeableAdapterFactory)adapterFactory).setParentAdapterFactory(null);
  }
 }
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Small Icon feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 *  
 */
protected void addSmallIconPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("_UI_CompatibilityDescriptionGroup_smallIcon_feature"), //$NON-NLS-1$
        CommonEditResourceHandler.getString("_UI_CompatibilityDescriptionGroup_smallIcon_feature_desc"), //$NON-NLS-1$
        CommonPackage.eINSTANCE.getCompatibilityDescriptionGroup_SmallIcon(), false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Local Part feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 *  
 */
protected void addLocalPartPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("_UI_QName_localPart_feature"), //$NON-NLS-1$
        CommonEditResourceHandler.getString("_UI_QName_localPart_feature_desc"), //$NON-NLS-1$
        CommonPackage.eINSTANCE.getQName_LocalPart(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Project Name feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addProjectNamePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_UtilityJARMapping_projectName_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_UtilityJARMapping_projectName_feature", "_UI_UtilityJARMapping_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        ModulemapPackage.eINSTANCE.getUtilityJARMapping_ProjectName(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Listener Class feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addListenerClassPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_Listener_listenerClass_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_Listener_listenerClass_feature", "_UI_Listener_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getListener_ListenerClass(), true));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Remote feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addRemotePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_EjbRef_remote_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_EjbRef_remote_feature", "_UI_EjbRef_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getEjbRef_Remote(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Project Name feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addProjectNamePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_ModuleMapping_projectName_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_ModuleMapping_projectName_feature", "_UI_ModuleMapping_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        ModulemapPackage.eINSTANCE.getModuleMapping_ProjectName(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Role Name feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addRoleNamePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_Identity_roleName_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_Identity_roleName_feature", "_UI_Identity_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getIdentity_RoleName(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Name feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addNamePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_ResourceEnvRef_name_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_ResourceEnvRef_name_feature", "_UI_ResourceEnvRef_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getResourceEnvRef_Name(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Name feature.
 */
protected void addNamePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("Name_UI_"), //$NON-NLS-1$
        CommonEditResourceHandler.getString("The_name_property_UI_"), //$NON-NLS-1$
        CommonPackage.eINSTANCE.getMessageDestinationRef_Name(), true));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Link feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addLinkPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_EjbRef_link_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_EjbRef_link_feature", "_UI_EjbRef_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getEjbRef_Link(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Description feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addDescriptionPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_EjbRef_description_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_EjbRef_description_feature", "_UI_EjbRef_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getEjbRef_Description(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Value feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addValuePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_Description_value_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_Description_value_feature", "_UI_Description_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getDescription_Value(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Value feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addValuePropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("_UI_ParamValue_value_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_ParamValue_value_feature", "_UI_ParamValue_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        CommonPackage.eINSTANCE.getParamValue_Value(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Link feature.
 */
protected void addLinkPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), CommonEditResourceHandler.getString("Link_UI_"), //$NON-NLS-1$
        CommonEditResourceHandler.getString("The_link_property_UI_"), //$NON-NLS-1$
        CommonPackage.eINSTANCE.getMessageDestinationRef_Link(), true));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This adds a property descriptor for the Version feature. <!-- begin-user-doc --> <!--
 * end-user-doc -->
 * 
 * @generated
 */
protected void addVersionPropertyDescriptor(Object object) {
  itemPropertyDescriptors.add(new ItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getString("_UI_ApplicationClient_version_feature"), //$NON-NLS-1$
        getString("_UI_PropertyDescriptor_description", "_UI_ApplicationClient_version_feature", "_UI_ApplicationClient_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
        ClientPackage.eINSTANCE.getApplicationClient_Version(), true, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE));
}
org.eclipse.emf.edit.providerComposeableAdapterFactory

Javadoc

This provides support that allows a factory to be composed into a ComposedAdapterFactory that serves the union of the model objects from different packages.

Most used methods

  • getRootAdapterFactory
  • adapt
  • setParentAdapterFactory
    This sets the direct parent adapter factory into which this factory is composed.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • putExtra (Intent)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now