org.eclipse.emf.facet.efacet.core
Interface IFacetAction


Deprecated. use IFacetActions2 with the new eFacet2 metamodel (https://bugs.eclipse.org/bugs/show_bug.cgi?id=381226)

@Deprecated
public interface IFacetAction

This interface contains methods declaration to deal with Facet and FacetSet.

Since:
0.1

Field Summary
static IFacetAction INSTANCE
          Deprecated.  
 
Method Summary
 void addAttributeInFacet(Facet facet, FacetAttribute facetAttribute, EditingDomain editingDomain)
          Deprecated. Add the given FacetAttribute to the given Facet
 void addOperationInFacet(Facet facet, FacetOperation facetOperation, EditingDomain editingDomain)
          Deprecated. Add a new FacetOperation to the given Facet
 void addParameterInOperation(FacetOperation operation, EParameter parameter, EditingDomain editingDomain)
          Deprecated. Add a new EParameter to the given FacetOperation
 void addReferenceInFacet(Facet facet, FacetReference facetReference, EditingDomain editingDomain)
          Deprecated. Add the given FacetReference to the given Facet
 Facet createFacetInFacetSet(FacetSet facetSet, Facet facet, EditingDomain editingDomain)
          Deprecated. Add the given Facet to the given FacetSet
 void createFacetSet(FacetSet facetSet, IFile file)
          Deprecated. Add the given facetSet to the given facetSet model file, which will be created
 void setFacetSetNsUri(FacetSet facetSet, java.lang.String nsUri, EditingDomain editingDomain)
          Deprecated. Set the given URI to the given FacetSet
 

Field Detail

INSTANCE

static final IFacetAction INSTANCE
Deprecated. 
Method Detail

createFacetSet

void createFacetSet(FacetSet facetSet,
                    IFile file)
                    throws java.io.IOException,
                           InvalidFacetSetException
Deprecated. 
Add the given facetSet to the given facetSet model file, which will be created

Parameters:
facetSet - the facetSet to be created. Cannot be null
project - the new file in which the facetSet has to be created. Cannot be null, and cannot already exist
Throws:
java.io.IOException
InvalidFacetSetException
Since:
0.2

createFacetInFacetSet

Facet createFacetInFacetSet(FacetSet facetSet,
                            Facet facet,
                            EditingDomain editingDomain)
Deprecated. 
Add the given Facet to the given FacetSet

Parameters:
facetSet - the parent facetSet, cannot be null
facet - the Facet, cannot be null, or contained by a resource
editingDomain - the editing domain needed to perform the Add EMF command, cannot be null

addAttributeInFacet

void addAttributeInFacet(Facet facet,
                         FacetAttribute facetAttribute,
                         EditingDomain editingDomain)
Deprecated. 
Add the given FacetAttribute to the given Facet

Parameters:
facet - the parent Facet, cannot be null
facetAttribute - the FacetAttribute, cannot be null, or contained by a resource
editingDomain - the editing domain needed to perform the Add Emf command, cannot be null

addReferenceInFacet

void addReferenceInFacet(Facet facet,
                         FacetReference facetReference,
                         EditingDomain editingDomain)
Deprecated. 
Add the given FacetReference to the given Facet

Parameters:
facet - the parent Facet, cannot be null
facetReference - the FacetReference, cannot be null, or contained by a resource
editingDomain - the editing domain needed to perform the Add Emf command, cannot be null

addOperationInFacet

void addOperationInFacet(Facet facet,
                         FacetOperation facetOperation,
                         EditingDomain editingDomain)
Deprecated. 
Add a new FacetOperation to the given Facet

Parameters:
facet - the parent Facet, cannot be null
facetOperation - the new FacetOperation, cannot be null, or contained by a resource
editingDomain - the editing domain needed to perform the Add Emf command, cannot be null

addParameterInOperation

void addParameterInOperation(FacetOperation operation,
                             EParameter parameter,
                             EditingDomain editingDomain)
Deprecated. 
Add a new EParameter to the given FacetOperation

Parameters:
operation - the parent EOperation
parameter - the new EParameter
editingDomain - the editing domain needed to perform the Add Emf command, cannot be null

setFacetSetNsUri

void setFacetSetNsUri(FacetSet facetSet,
                      java.lang.String nsUri,
                      EditingDomain editingDomain)
Deprecated. 
Set the given URI to the given FacetSet

Parameters:
facetSet - the FacetSet to be modified
nsUri - the Uri
editingDomain - the editing domain needed to perform the Set Emf command, cannot be null