My favorites
▼
|
Sign in
xtext-samples
Sample projects demonstrating some Xtext "How To"s
Project Home
Downloads
Source
Repository:
default
wiki
Checkout
Browse
Changes
Clones
Source path:
git
/
work-with-file-names
/
com.google.eclipse.xtext.filename.ui
/
src
/
com
/
google
/
eclipse
/
xtext
/
filename
/
ui
/
MyDslUiModule.java
‹46a03995f280
ba3910eee250
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
* Copyright (c) 2012 Google Inc.
*
* 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
*/
package com.google.eclipse.xtext.filename.ui;
import static com.google.eclipse.xtext.filename.ui.XtextSetup.configureXtextToWorkWithFileNames;
import org.eclipse.ui.plugin.AbstractUIPlugin;
/**
* Registry of components to be used within the IDE. Originally generated by Xtext.
*
* @author alruiz@google.com (Alex Ruiz)
*/
public class MyDslUiModule extends AbstractMyDslUiModule {
public MyDslUiModule(AbstractUIPlugin plugin) {
super(plugin);
// In Xtext 2.2, the plug-in's Injector is no longer available at this point. We need to obtain
// it just before using it (via a InjectorProvider.)
configureXtextToWorkWithFileNames(new InjectorProvider());
}
}
Show details
Hide details
Change log
ba3910eee250
by Alex Ruiz <alr...@google.com> on Jan 10, 2012
Diff
Formatting.
Go to:
...ilename/ui/InjectorProvider.java
...t/filename/ui/MyDslUiModule.java
...i/ResourceFactoryDescriptor.java
.../ui/ResourceServiceProvider.java
...text/filename/ui/XtextSetup.java
...ssist/MyDslProposalProvider.java
...DslDescriptionLabelProvider.java
...labeling/MyDslLabelProvider.java
...ne/MyDslOutlineTreeProvider.java
...ckfix/MyDslQuickfixProvider.java
...filename/MyDslRuntimeModule.java
...lename/MyDslStandaloneSetup.java
...e/formatting/MyDslFormatter.java
...esource/MyDslContentHandler.java
...yDslResourceServiceProvider.java
...text/filename/resource/URIs.java
.../scoping/MyDslScopeProvider.java
...lidation/MyDslJavaValidator.java
Project members,
sign in
to write a code review
Older revisions
46a03995f280
by Alex Ruiz <alr...@google.com> on Jan 7, 2012
Diff
Initial upload.
All revisions of this file
File info
Size: 974 bytes, 28 lines
View raw file
Powered by
Google Project Hosting