eclipse plugin: get rid of the jdt dependency
This commit is contained in:
parent
ec0f1bddad
commit
bab0f478d3
2 changed files with 8 additions and 1 deletions
|
@ -15,7 +15,6 @@ Require-Bundle: org.wesnoth.wml;visibility:=reexport,
|
|||
org.antlr.runtime,
|
||||
org.eclipse.xtext.xtext.ui;bundle-version="1.0.0",
|
||||
org.eclipse.core.filesystem;bundle-version="1.3.0",
|
||||
org.eclipse.jdt.core;bundle-version="3.6.0",
|
||||
org.wesnoth;bundle-version="1.0.0"
|
||||
Import-Package: org.apache.log4j
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
||||
|
|
|
@ -12,6 +12,7 @@ import org.eclipse.jface.text.hyperlink.IHyperlinkDetector;
|
|||
import org.eclipse.jface.viewers.ILabelProvider;
|
||||
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
||||
import org.eclipse.xtext.resource.ILocationInFileProvider;
|
||||
import org.eclipse.xtext.resource.containers.IAllContainersState;
|
||||
import org.eclipse.xtext.ui.editor.IXtextEditorCallback;
|
||||
import org.eclipse.xtext.ui.editor.XtextEditor;
|
||||
import org.eclipse.xtext.ui.editor.autoedit.DefaultAutoEditStrategy;
|
||||
|
@ -44,6 +45,7 @@ import org.wesnoth.ui.syntax.WMLSemanticHighlightingCalculator;
|
|||
import org.wesnoth.ui.syntax.bracketmatching.WMLBracketMatching;
|
||||
|
||||
import com.google.inject.Binder;
|
||||
import com.google.inject.Provider;
|
||||
|
||||
/**
|
||||
* Use this class to register components to be used within the IDE.
|
||||
|
@ -152,4 +154,10 @@ public class WMLUiModule extends org.wesnoth.ui.AbstractWMLUiModule
|
|||
{
|
||||
return WMLFoldingRegionProvider.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Provider<IAllContainersState> provideIAllContainersState()
|
||||
{
|
||||
return org.eclipse.xtext.ui.shared.Access.getWorkspaceProjectsState();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue