congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
CommandParameter.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.emf.edit.command.CommandParameter
constructor

Best Java code snippets using org.eclipse.emf.edit.command.CommandParameter.<init> (Showing top 20 results out of 315)

origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 * This is a convenience method that creates a <code>CommandParameter</code>
 * for a given parent feature and child object.
 */
protected CommandParameter createChildParameter(Object feature, Object child)
{
 return new CommandParameter(null, feature, child);
}
origin: de.dentrassi.eclipse.neoscada.ide/org.eclipse.scada.configuration.component.edit

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected CommandParameter createChildParameter ( Object feature, Object child )
{
  return new CommandParameter ( null, feature, child );
}
origin: org.eclipse.emf/org.eclipse.xsd.edit

/**
 * This is a convenience method for creating <code>CommandParameter</code>s
 * for a given parent feature and child object.
 */
protected CommandParameter createChildParameter(EReference feature,
                        XSDConcreteComponent child)
{
 return new CommandParameter(null, feature, child);
}
origin: org.eclipse.neoscada.ide/org.eclipse.scada.configuration.infrastructure.edit

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected CommandParameter createChildParameter ( Object feature, Object child )
{
  return new CommandParameter ( null, feature, child );
}
origin: de.dentrassi.eclipse.neoscada.ide/org.eclipse.scada.configuration.infrastructure.edit

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
protected CommandParameter createChildParameter ( Object feature, Object child )
{
  return new CommandParameter ( null, feature, child );
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 * This creates a command to insert a collection of values at a particular index in the specified feature of the owner.
 * The feature will often be null because the domain will deduce it.
 */
public static Command create(EditingDomain domain, Object owner, Object feature, Collection<?> collection, int index)
{
 return domain.createCommand(AddCommand.class, new CommandParameter(owner, feature, collection, index));
}
origin: org.eclipse/org.eclipse.emf.mapping

/**
 * This creates a command that creates a new child mappings for the given mapping 
 * by attempting to match by name input children with output children.
 */
public static Command create(MappingDomain domain, Mapping mapping)
{
 return domain.createCommand(NameMatchMappingCommand.class, new CommandParameter(mapping));
}
origin: org.eclipse/org.eclipse.jst.j2ee

/**
 * This returns a command that creates a new child of some appropriate type.
 */
public static Command create(EditingDomain domain, Object object) {
  return domain.createCommand(CreateChildCommand.class, new CommandParameter(object));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 * This creates a command to add a collection of values to the specified feature of the owner.
 * The feature will often be null because the domain will deduce it.
 */
public static Command create(EditingDomain domain, Object owner, Object feature, Collection<?> collection)
{
 return domain.createCommand(AddCommand.class, new CommandParameter(owner, feature, collection, CommandParameter.NO_INDEX));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 * This creates a command that will create and object for copying the given object
 */
public static Command create(EditingDomain domain, Object owner, CopyCommand.Helper copyHelper) 
{
 return domain.createCommand(CreateCopyCommand.class, new CommandParameter(owner, null, copyHelper));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 * This creates a command that deletes the objects in the given collection.
 */
public static Command create(EditingDomain domain, final Collection<?> collection)
{
 return domain.createCommand(DeleteCommand.class, new CommandParameter(null, null, collection));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 * This creates a command to remove a collection of values from the specified feature of the owner.
 */
public static Command create(final EditingDomain domain, final Object owner, final Object feature, final Collection<?> collection)
{
 return domain.createCommand(RemoveCommand.class, new CommandParameter(owner, feature, collection));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 * This creates a command to move particular value to a particular index in the specified feature of the owner.
 * The feature will often be null because the domain will deduce it.
 */
public static Command create(EditingDomain domain, Object owner, Object feature, Object value, int index)
{
 return domain.createCommand(MoveCommand.class, new CommandParameter(owner, feature, value, index));
}
origin: org.eclipse.emf/org.eclipse.emf.mapping

/**
 * This creates a command that creates a new child mappings for the given mapping 
 * by attempting to match by name input children with output children.
 */
public static Command create(MappingDomain domain, Mapping mapping)
{
 return domain.createCommand(NameMatchMappingCommand.class, new CommandParameter(mapping));
}
origin: org.eclipse/org.eclipse.emf.mapping

/**
 * This creates a command that creates a new mapping involving the given domain's collection of input and output objects.
 */
public static Command create(MappingDomain domain, Collection<?> collection)
{
 return 
  domain.createCommand
   (CreateMappingCommand.class, 
    new CommandParameter(domain.getMappingRoot(), null, collection));
}
origin: org.eclipse.emf/org.eclipse.emf.mapping

/**
 * This creates a command that removes the mapping from the mapping root.
 */
public static Command create(MappingDomain domain)
{
 return 
  domain.createCommand
   (RestoreInitialStateCommand.class, new CommandParameter(domain.getMappingRoot(), null, null));
}
origin: org.eclipse.emf/org.eclipse.emf.mapping

/**
 * This creates a command that removes the mappings in the collection from the mapping root.
 */
public static Command create(MappingDomain domain, Collection<?> collection)
{
 return 
  domain.createCommand
   (RemoveMappingCommand.class, 
    new CommandParameter(domain.getMappingRoot(), null, collection));
}
origin: org.eclipse.emf/org.eclipse.emf.mapping

/**
 * This creates a command that creates a new mapping involving the given domain's collection of input and output objects.
 */
public static Command create(MappingDomain domain, Collection<?> collection)
{
 return 
  domain.createCommand
   (CreateMappingCommand.class, 
    new CommandParameter(domain.getMappingRoot(), null, collection));
}
origin: org.eclipse/org.eclipse.emf.mapping

/**
 * This creates a command that adds the new mappings in the collection into the appropriate place in the mapping root's.
 */
public static Command create(MappingDomain domain, Collection<?> collection)
{
 return 
  domain.createCommand
   (AddMappingCommand.class, 
    new CommandParameter(domain.getMappingRoot(), null, collection));
}
origin: at.bestsolution.efxclipse.eclipse/org.eclipse.emf.edit

/**
 * This creates a command that copies the given object.
 */
public static Command create(EditingDomain domain, Object owner) 
{
 return domain.createCommand(CopyCommand.class, new CommandParameter(owner, null, new Helper()));
}
org.eclipse.emf.edit.commandCommandParameter<init>

Javadoc

This creates an instance specifying only an owner.

Popular methods of CommandParameter

  • setOwner
    This sets the owner to the specified value.
  • getCollection
    This returns the specified collection.
  • getFeature
    This returns the specified feature.
  • getIndex
    This returns the specified index.
  • getOwner
    This returns the specified owner.
  • getValue
    This returns the specified value.
  • collectionToString
  • getEOwner
    This returns the specified owner as a EObject, if it is one.
  • getEStructuralFeature
    This returns the specified feature as a EStructuralFeature, if it is one.
  • getOwnerList
    This is a safe way to get the list affected by the parameters for an add or remove specification. It

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Runner (org.openjdk.jmh.runner)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now