Klasse CreateTypeMemberOperation

Alle implementierten Schnittstellen:
org.eclipse.core.resources.IWorkspaceRunnable, org.eclipse.core.runtime.ICoreRunnable, org.eclipse.core.runtime.IProgressMonitor
Bekannte direkte Unterklassen:
CreateFieldOperation, CreateInitializerOperation, CreateMethodOperation, CreateTypeOperation

public abstract class CreateTypeMemberOperation extends CreateElementInCUOperation
Implements functionality common to operations that create type members.
  • Felddetails

    • source

      protected String source
      The source code for the new member.
    • alteredName

      protected String alteredName
      The name of the ASTNode that may be used to create this new element. Used by the CopyElementsOperation for renaming
    • createdNode

      protected ASTNode createdNode
      The AST node representing the element that this operation created.
  • Konstruktordetails

    • CreateTypeMemberOperation

      public CreateTypeMemberOperation(IJavaElement parentElement, String source, boolean force)
      When executed, this operation will create a type member in the given parent element with the specified source.
  • Methodendetails