]> git.uio.no Git - ifi-stolz-refaktor.git/blobdiff - case-study/jdt-before/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFix.java
Case Study: adding data and statistics
[ifi-stolz-refaktor.git] / case-study / jdt-before / core extension / org / eclipse / jdt / internal / corext / fix / ILinkedFix.java
diff --git a/case-study/jdt-before/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFix.java b/case-study/jdt-before/core extension/org/eclipse/jdt/internal/corext/fix/ILinkedFix.java
new file mode 100644 (file)
index 0000000..1f013f2
--- /dev/null
@@ -0,0 +1,27 @@
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.jdt.internal.corext.fix;
+
+import org.eclipse.jdt.ui.cleanup.ICleanUpFix;
+
+/**
+ * A fix which when executed can set up a linked mode model
+ * and put an editor into linked mode.
+ *
+ * @since 3.4
+ */
+public interface ILinkedFix extends ICleanUpFix {
+
+       /**
+        * @return the linked proposal model to use to set up linked positions or <b>null</b>
+        */
+       public LinkedProposalModel getLinkedPositions();
+}