mirror of
https://github.com/sigmasternchen/xtext-core
synced 2025-03-15 16:28:56 +00:00
Merge pull request #184 from miklossy/master_issue183
[#183] Remove trailing whitespaces
This commit is contained in:
commit
4b5bcc1d6f
2 changed files with 18 additions and 18 deletions
|
@ -30,7 +30,7 @@ package class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
])
|
||||
|
||||
if (generateXtendStub) {
|
||||
projectConfig.runtime.manifest.requiredBundles += 'org.eclipse.xtend.lib'
|
||||
projectConfig.runtime.manifest.requiredBundles += 'org.eclipse.xtend.lib'
|
||||
}
|
||||
|
||||
projectConfig.runtime.manifest.importedPackages.add('org.apache.log4j')
|
||||
|
@ -42,7 +42,7 @@ package class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
])
|
||||
|
||||
if (generateXtendStub) {
|
||||
projectConfig.eclipsePlugin.manifest.requiredBundles += 'org.eclipse.xtend.lib'
|
||||
projectConfig.eclipsePlugin.manifest.requiredBundles += 'org.eclipse.xtend.lib'
|
||||
}
|
||||
|
||||
projectConfig.eclipsePlugin.manifest.importedPackages.add('org.apache.log4j')
|
||||
|
@ -127,20 +127,20 @@ package class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
<and>
|
||||
<reference definitionId="isActiveEditorAnInstanceOfXtextEditor"/>
|
||||
<with variable="activeEditor">
|
||||
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
|
||||
value="«name»"
|
||||
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
|
||||
value="«name»"
|
||||
forcePluginActivation="true"/>
|
||||
</with>
|
||||
</with>
|
||||
</and>
|
||||
</definition>
|
||||
<definition id="«name».XtextEditor.opened">
|
||||
<and>
|
||||
<reference definitionId="isXtextEditorActive"/>
|
||||
<with variable="activeEditor">
|
||||
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
|
||||
value="«name»"
|
||||
<test property="org.eclipse.xtext.ui.editor.XtextEditor.languageName"
|
||||
value="«name»"
|
||||
forcePluginActivation="true"/>
|
||||
</with>
|
||||
</with>
|
||||
</and>
|
||||
</definition>
|
||||
</extension>
|
||||
|
@ -223,7 +223,7 @@ package class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
</menuContribution>
|
||||
<!-- copy qualified name -->
|
||||
<menuContribution locationURI="popup:#TextEditorContext?after=copy">
|
||||
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
|
||||
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName"
|
||||
style="push" tooltip="Copy Qualified Name">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<reference definitionId="«name».Editor.opened" />
|
||||
|
@ -239,7 +239,7 @@ package class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
</command>
|
||||
</menuContribution>
|
||||
<menuContribution locationURI="popup:org.eclipse.xtext.ui.outline?after=additions">
|
||||
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
|
||||
<command commandId="org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName"
|
||||
style="push" tooltip="Copy Qualified Name">
|
||||
<visibleWhen checkEnabled="false">
|
||||
<and>
|
||||
|
|
|
@ -361,19 +361,19 @@ class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
_builder.append("<with variable=\"activeEditor\">");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t\t");
|
||||
_builder.append("<test property=\"org.eclipse.xtext.ui.editor.XtextEditor.languageName\" ");
|
||||
_builder.append("<test property=\"org.eclipse.xtext.ui.editor.XtextEditor.languageName\"");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t\t\t");
|
||||
_builder.append("value=\"");
|
||||
String _name_7 = it.getName();
|
||||
_builder.append(_name_7, "\t\t\t\t\t");
|
||||
_builder.append("\" ");
|
||||
_builder.append("\"");
|
||||
_builder.newLineIfNotEmpty();
|
||||
_builder.append("\t\t\t\t\t");
|
||||
_builder.append("forcePluginActivation=\"true\"/>");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t");
|
||||
_builder.append("</with>\t\t");
|
||||
_builder.append("</with>");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t");
|
||||
_builder.append("</and>");
|
||||
|
@ -397,19 +397,19 @@ class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
_builder.append("<with variable=\"activeEditor\">");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t\t");
|
||||
_builder.append("<test property=\"org.eclipse.xtext.ui.editor.XtextEditor.languageName\" ");
|
||||
_builder.append("<test property=\"org.eclipse.xtext.ui.editor.XtextEditor.languageName\"");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t\t\t");
|
||||
_builder.append("value=\"");
|
||||
String _name_9 = it.getName();
|
||||
_builder.append(_name_9, "\t\t\t\t\t");
|
||||
_builder.append("\" ");
|
||||
_builder.append("\"");
|
||||
_builder.newLineIfNotEmpty();
|
||||
_builder.append("\t\t\t\t\t");
|
||||
_builder.append("forcePluginActivation=\"true\"/>");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t");
|
||||
_builder.append("</with>\t\t");
|
||||
_builder.append("</with>");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t");
|
||||
_builder.append("</and>");
|
||||
|
@ -719,7 +719,7 @@ class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
_builder.append("<menuContribution locationURI=\"popup:#TextEditorContext?after=copy\">");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t");
|
||||
_builder.append("<command commandId=\"org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName\" ");
|
||||
_builder.append("<command commandId=\"org.eclipse.xtext.ui.editor.copyqualifiedname.EditorCopyQualifiedName\"");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t");
|
||||
_builder.append("style=\"push\" tooltip=\"Copy Qualified Name\">");
|
||||
|
@ -773,7 +773,7 @@ class ImplicitFragment extends AbstractStubGeneratingFragment {
|
|||
_builder.append("<menuContribution locationURI=\"popup:org.eclipse.xtext.ui.outline?after=additions\">");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t");
|
||||
_builder.append("<command commandId=\"org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName\" ");
|
||||
_builder.append("<command commandId=\"org.eclipse.xtext.ui.editor.copyqualifiedname.OutlineCopyQualifiedName\"");
|
||||
_builder.newLine();
|
||||
_builder.append("\t\t\t");
|
||||
_builder.append("style=\"push\" tooltip=\"Copy Qualified Name\">");
|
||||
|
|
Loading…
Reference in a new issue