mirror of
https://github.com/Minres/RDL-Editor.git
synced 2025-07-01 13:33:27 +02:00
update target platform incl. XText/Xtend
This commit is contained in:
@ -3,9 +3,6 @@
|
||||
*/
|
||||
package com.minres.rdl.ui;
|
||||
|
||||
import com.minres.rdl.ui.AbstractRDLUiModule;
|
||||
import com.minres.rdl.ui.RDLEObjectDocumentationProvider;
|
||||
import com.minres.rdl.ui.RDLEObjectHoverProvider;
|
||||
import com.minres.structural.ui.hyperlink.MyHyperlinkHelper;
|
||||
import com.minres.structural.ui.hyperlink.MyXtextHyperlink;
|
||||
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
||||
|
@ -3,8 +3,6 @@
|
||||
*/
|
||||
package com.minres.rdl.ui.contentassist;
|
||||
|
||||
import com.minres.rdl.ui.contentassist.AbstractRDLProposalProvider;
|
||||
|
||||
/**
|
||||
* See https://www.eclipse.org/Xtext/documentation/304_ide_concepts.html#content-assist
|
||||
* on how to customize the content assistant.
|
||||
|
@ -58,10 +58,16 @@ public class RDLLabelProvider extends DefaultEObjectLabelProvider {
|
||||
return Boolean.valueOf(((pa instanceof ExplicitPropertyAssignment) && Objects.equal(((ExplicitPropertyAssignment) pa).getName(), PropertyEnum.NAME)));
|
||||
};
|
||||
final PropertyAssignment pa = IterableExtensions.<PropertyAssignment>findFirst(e.getPropertyAssignments(), _function);
|
||||
String _literal_1 = e.getType().getLiteral();
|
||||
String _plus_1 = (_literal_1 + " ");
|
||||
Object _text = this.text(((ExplicitPropertyAssignment) pa).getRhs());
|
||||
_xblockexpression = (_plus_1 + _text);
|
||||
String _xifexpression_1 = null;
|
||||
if ((pa != null)) {
|
||||
String _literal_1 = e.getType().getLiteral();
|
||||
String _plus_1 = (_literal_1 + " ");
|
||||
Object _text = this.text(((ExplicitPropertyAssignment) pa).getRhs());
|
||||
_xifexpression_1 = (_plus_1 + _text);
|
||||
} else {
|
||||
_xifexpression_1 = e.getType().getLiteral();
|
||||
}
|
||||
_xblockexpression = _xifexpression_1;
|
||||
}
|
||||
_xifexpression = _xblockexpression;
|
||||
}
|
||||
|
@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.minres.rdl.ui.wizard;
|
||||
|
||||
import com.minres.rdl.ui.wizard.RdlProject;
|
||||
import org.eclipse.xtext.ui.wizard.template.AbstractProjectTemplate;
|
||||
import org.eclipse.xtext.ui.wizard.template.IProjectTemplateProvider;
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
package com.minres.structural.ui.hyperlink;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import com.minres.structural.ui.hyperlink.MyXtextHyperlink;
|
||||
import org.eclipse.emf.common.util.URI;
|
||||
import org.eclipse.emf.ecore.EObject;
|
||||
import org.eclipse.emf.ecore.resource.Resource;
|
||||
|
Reference in New Issue
Block a user