Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/compensator/org.eclipse.fx.code.compensator.editor/src/org/eclipse/fx/code/compensator/editor/services/PartitionerFactory.java')
-rw-r--r--experimental/compensator/org.eclipse.fx.code.compensator.editor/src/org/eclipse/fx/code/compensator/editor/services/PartitionerFactory.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/experimental/compensator/org.eclipse.fx.code.compensator.editor/src/org/eclipse/fx/code/compensator/editor/services/PartitionerFactory.java b/experimental/compensator/org.eclipse.fx.code.compensator.editor/src/org/eclipse/fx/code/compensator/editor/services/PartitionerFactory.java
new file mode 100644
index 000000000..0424d6f26
--- /dev/null
+++ b/experimental/compensator/org.eclipse.fx.code.compensator.editor/src/org/eclipse/fx/code/compensator/editor/services/PartitionerFactory.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+* Copyright (c) 2014 BestSolution.at 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:
+* Tom Schindl<tom.schindl@bestsolution.at> - initial API and implementation
+*******************************************************************************/
+package org.eclipse.fx.code.compensator.editor.services;
+
+import org.eclipse.fx.code.compensator.editor.Input;
+import org.eclipse.jface.text.IDocumentPartitioner;
+
+public interface PartitionerFactory {
+ public boolean applies(Input<?> input);
+ public IDocumentPartitioner createPartitioner(Input<?> input);
+}

Back to the top