Révision 3332

TXM/trunk/org.txm.ruby.rcp/build.properties (revision 3332)
1
source.. = src/
2
output.. = bin/
3
bin.includes = META-INF/,\
4
               .,\
5
               plugin.xml
0 6

  
TXM/trunk/org.txm.ruby.rcp/plugin.xml (revision 3332)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<?eclipse version="3.4"?>
3
<plugin>
4
   <extension
5
         point="org.eclipse.ui.preferencePages">
6
      <page
7
            category="org.txm.rcp.preferences.ScriptPreferencePage"
8
            class="org.txm.ruby.rcp.RubyPreferencesPage"
9
            id="org.txm.ruby.rcp.RubyPreferencesPage"
10
            name="Ruby">
11
      </page>
12
   </extension>
13

  
14
</plugin>
0 15

  
TXM/trunk/org.txm.ruby.rcp/.settings/org.eclipse.jdt.core.prefs (revision 3332)
1
eclipse.preferences.version=1
2
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
4
org.eclipse.jdt.core.compiler.compliance=1.8
5
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
6
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
7
org.eclipse.jdt.core.compiler.source=1.8
0 8

  
TXM/trunk/org.txm.ruby.rcp/.classpath (revision 3332)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
4
	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins">
5
		<accessrules>
6
			<accessrule kind="accessible" pattern="**"/>
7
		</accessrules>
8
	</classpathentry>
9
	<classpathentry kind="src" path="src"/>
10
	<classpathentry kind="output" path="bin"/>
11
</classpath>
0 12

  
TXM/trunk/org.txm.ruby.rcp/META-INF/MANIFEST.MF (revision 3332)
1
Manifest-Version: 1.0
2
Bundle-ManifestVersion: 2
3
Bundle-Name: org.txm.ruby.rcp
4
Bundle-SymbolicName: org.txm.ruby.rcp;singleton:=true
5
Bundle-Version: 1.0.0.qualifier
6
Bundle-Vendor: textometrie.org
7
Automatic-Module-Name: org.txm.ruby.rcp
8
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
9
Require-Bundle: org.txm.rcp;bundle-version="0.8.2",
10
 org.txm.ruby.core;bundle-version="1.0.0";visibility:=reexport
11
Export-Package: org.txm.ruby.rcp
0 12

  
TXM/trunk/org.txm.ruby.rcp/.project (revision 3332)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.txm.ruby.rcp</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
	</buildSpec>
24
	<natures>
25
		<nature>org.eclipse.pde.PluginNature</nature>
26
		<nature>org.eclipse.jdt.core.javanature</nature>
27
	</natures>
28
</projectDescription>
0 29

  
TXM/trunk/org.txm.ruby.rcp/src/org/txm/ruby/rcp/RubyPreferencesPage.java (revision 3332)
1
package org.txm.ruby.rcp;
2

  
3
import org.eclipse.jface.preference.StringFieldEditor;
4
import org.eclipse.ui.IWorkbench;
5
import org.txm.ruby.core.RubyPreferences;
6
import org.txm.rcp.IImageKeys;
7
import org.txm.rcp.preferences.TXMPreferencePage;
8
import org.txm.rcp.preferences.TXMPreferenceStore;
9

  
10
/**
11
 * Index preferences page.
12
 * 
13
 * @author mdecorde
14
 *
15
 */
16
public class RubyPreferencesPage extends TXMPreferencePage {
17
	
18
	@Override
19
	public void init(IWorkbench workbench) {
20
		
21
		this.setPreferenceStore(new TXMPreferenceStore(RubyPreferences.getInstance().getPreferencesNodeQualifier()));
22
		this.setTitle("Ruby");
23
		this.setImageDescriptor(IImageKeys.getImageDescriptor("org.txm.ruby.rcp", "icon/ruby.png"));
24
	}
25
	
26
	@Override
27
	protected void createFieldEditors() {
28
		this.addField(new StringFieldEditor(RubyPreferences.HOME, "Ruby Home", this.getFieldEditorParent()));
29
		
30
		this.addField(new StringFieldEditor(RubyPreferences.EXECUTABLE_FILENAME, "Ruby executable name", this.getFieldEditorParent()));
31
	}
32
}
0 33

  

Formats disponibles : Unified diff