Skip to content

Commit

Permalink
Add a fluorescence spectroscopy data model.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Jan 23, 2025
1 parent 4c8c9f1 commit 85b6c46
Show file tree
Hide file tree
Showing 69 changed files with 2,038 additions and 26 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Currently it offers workflows in the following areas:
* infrared spectroscopy (FTIR, NIR, MIR)
* raman spectroscopy (Raman)
* ultraviolet–visible spectroscopy (UV/Vis)
* fluorescence spectroscopy (aka fluorimetry or spectrofluorometry)
* molecular biology
* real-time polymerase chain reaction (PCR)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@
<plugin
id="org.eclipse.chemclipse.model"
version="0.0.0"/>

<plugin
id="org.eclipse.chemclipse.model.ui"
version="0.0.0"/>
version="0.0.0"/>

<plugin
id="org.eclipse.chemclipse.chromatogram.xxd.baseline.detector"
Expand Down Expand Up @@ -360,4 +360,16 @@
id="org.eclipse.chemclipse.xxd.filter.ui"
version="0.0.0"/>

</feature>
<plugin
id="org.eclipse.chemclipse.fsd.converter"
version="0.0.0"/>

<plugin
id="org.eclipse.chemclipse.fsd.converter.ui"
version="0.0.0"/>

<plugin
id="org.eclipse.chemclipse.fsd.model"
version="0.0.0"/>

</feature>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/bin
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.chemclipse.fsd.converter.ui</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=utf8
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
org.eclipse.jdt.core.compiler.compliance=17
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=17
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Manifest-Version: 1.0
Automatic-Module-Name: org.eclipse.chemclipse.wsd.converter.ui
Bundle-ManifestVersion: 2
Bundle-Name: FSD converter UI
Bundle-SymbolicName: org.eclipse.chemclipse.fsd.converter.ui;singleton:=true
Bundle-Version: 0.9.0.qualifier
Bundle-Activator: org.eclipse.chemclipse.fsd.converter.ui.Activator
Bundle-Vendor: ChemClipse
Require-Bundle: org.eclipse.ui;bundle-version="3.207.0",
org.eclipse.core.runtime;bundle-version="3.32.0",
org.eclipse.chemclipse.converter;bundle-version="0.9.0",
org.eclipse.chemclipse.processing;bundle-version="0.9.0",
org.apache.commons.commons-io;bundle-version="2.17.0",
org.eclipse.chemclipse.logging;bundle-version="0.9.0",
org.eclipse.chemclipse.support.ui;bundle-version="0.9.0",
org.eclipse.chemclipse.converter.ui;bundle-version="0.9.0",
org.eclipse.chemclipse.processing.ui;bundle-version="0.9.0",
org.eclipse.chemclipse.fsd.model;bundle-version="0.9.0",
org.eclipse.chemclipse.fsd.converter;bundle-version="0.9.0"
Bundle-RequiredExecutionEnvironment: JavaSE-17
Bundle-ActivationPolicy: lazy
Export-Package: org.eclipse.chemclipse.fsd.converter.ui.swt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.,\
plugin.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension
point="org.eclipse.ui.preferencePages">
<page
category="org.eclipse.chemclipse.converter.ui.converterPreferencePage"
class="org.eclipse.chemclipse.fsd.converter.ui.preferences.PreferencePage"
id="org.eclipse.chemclipse.wsd.converter.ui.converterPreferencePage"
name="Converter WSD">
</page>
</extension>
</plugin>
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*******************************************************************************
* Copyright (c) 2013, 2018 Lablicate GmbH.
*
* 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
*
* Contributors:
* Dr. Philip Wenig - initial API and implementation
*******************************************************************************/
package org.eclipse.chemclipse.fsd.converter.ui;

import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;

/**
* The activator class controls the plug-in life cycle
*/
public class Activator extends AbstractUIPlugin {

// The shared instance
private static Activator plugin;

/**
* The constructor
*/
public Activator() {
}

/*
* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
public void start(BundleContext context) throws Exception {

super.start(context);
plugin = this;
}

/*
* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
public void stop(BundleContext context) throws Exception {

plugin = null;
super.stop(context);
}

/**
* Returns the shared instance
*
* @return the shared instance
*/
public static Activator getDefault() {

return plugin;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*******************************************************************************
* Copyright (c) 2025 Lablicate GmbH.
*
* 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
*
* Contributors:
* Matthias Mailänder - initial API and implementation
*******************************************************************************/
package org.eclipse.chemclipse.fsd.converter.ui.l10n;

import org.eclipse.osgi.util.NLS;

public class FluorescenceSpectroscopy extends NLS {

private static final String BUNDLE_NAME = "org.eclipse.chemclipse.fsd.converter.ui.l10n.messages"; //$NON-NLS-1$
//
public static String saveFluorescence;
//
static {
NLS.initializeMessages(BUNDLE_NAME, FluorescenceSpectroscopy.class);
}

private FluorescenceSpectroscopy() {

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
saveFluorescence=Save fluorescence spectrum
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
saveFluorescence=Speichere Fluoreszenz-Spektrum
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*******************************************************************************
* Copyright (c) 2013, 2018 Lablicate GmbH.
*
* 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
*
* Contributors:
* Dr. Philip Wenig - initial API and implementation
*******************************************************************************/
package org.eclipse.chemclipse.fsd.converter.ui.preferences;

import org.eclipse.chemclipse.fsd.converter.ui.Activator;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;

public class PreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {

public PreferencePage() {

super(GRID);
setPreferenceStore(Activator.getDefault().getPreferenceStore());
setTitle("FSD Converter");
setDescription("Fluorescence Spectroscopy Converter");
}

@Override
protected void createFieldEditors() {

}

@Override
public void init(IWorkbench workbench) {

}
}
Loading

0 comments on commit 85b6c46

Please sign in to comment.