1 11 package org.eclipse.ltk.internal.core.refactoring.history; 12 13 import java.util.Collections ; 14 import java.util.HashMap ; 15 import java.util.Map ; 16 17 import org.eclipse.core.runtime.Assert; 18 import org.eclipse.core.runtime.CoreException; 19 20 import org.eclipse.ltk.core.refactoring.Refactoring; 21 import org.eclipse.ltk.core.refactoring.RefactoringDescriptor; 22 import org.eclipse.ltk.core.refactoring.RefactoringStatus; 23 24 29 public final class DefaultRefactoringDescriptor extends RefactoringDescriptor { 30 31 32 private final Map fArguments; 33 34 50 public DefaultRefactoringDescriptor(final String id, final String project, final String description, final String comment, final Map arguments, final int flags) { 51 super(id, project, description, comment, flags); 52 Assert.isNotNull(arguments); 53 fArguments= Collections.unmodifiableMap(new HashMap (arguments)); 54 } 55 56 59 public Refactoring createRefactoring(final RefactoringStatus status) throws CoreException { 60 return null; 61 } 62 63 68 public Map getArguments() { 69 return fArguments; 70 } 71 } | Popular Tags |