Skip to content

Commit

Permalink
Added two project "Translation editor" and "Process2Text"
Browse files Browse the repository at this point in the history
Fixed problem with Dashboard configuration dialog
Added build files to have dashboard files in Jar
  • Loading branch information
tfreytag committed Sep 2, 2015
1 parent 94552b7 commit ee6cf74
Show file tree
Hide file tree
Showing 3,658 changed files with 1,734,709 additions and 52 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,22 @@ public ConfBusinessDashboardPanel(String name) {
* @see AbstractConfPanel#applyConfiguration()
*/
public boolean applyConfiguration() {
boolean newsetting = useByDefaultBox.isSelected();
boolean oldsetting = ConfigurationManager.getConfiguration().getBusinessDashboardUseByDefault();

if (newsetting != oldsetting) {

ConfigurationManager.getConfiguration().setBusinessDashboardServerPort(
Integer.parseInt(getServerPortText().getText()));

ConfigurationManager.getConfiguration().setBusinessDashboardUseByDefault(
useByDefaultBox.isSelected());

useByDefaultBox.isSelected());

ConfigurationManager.getConfiguration().setBusinessDashboardMaxValues(
Integer.parseInt(getMaxValuesText().getText()));

return true;
}

return true;
}

/**
Expand Down Expand Up @@ -169,7 +174,7 @@ public JPanel getSettingsPanel() {
settingsPanel.add(getUseByDefaultBox(),c);
}

//settingsPanel.setVisible(getUseBox().isSelected());
// settingsPanel.setVisible(getUseByDefaultBox().isSelected());
return settingsPanel;
}

Expand Down
46 changes: 0 additions & 46 deletions WoPeD-Installer/build-mac.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
<mkdir dir="dist/run/org" />
<mkdir dir="dist/run/org/woped" />
<mkdir dir="dist/run/org/woped/gui" />
<mkdir dir="dist/dashboardpages" />
<mkdir dir="dist/dashboardpages/GUI" />
<mkdir dir="dist/dashboardpages/SVG" />
</target>

<target name="setversion">
Expand Down Expand Up @@ -166,34 +163,6 @@
<fileset file="build-tools/setup/*.png" />
</copy>

<copy todir="dist/dashboardpages">
<fileset file="../WoPeD-QuantAnalysis/pages/*.*" />
</copy>

<copy todir="dist/dashboardpages/GUI">
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/folder_objects.png" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/WoPeD.png" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/close.gif" />
</copy>

<copy todir="dist/dashboardpages/SVG">
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/tokengame_play_pause.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/tokengame_play_start.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/options_configuration.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/save_save.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/tokengame_tokengame_options.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/tokengame_play_seek_backward.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/tokengame_play_seek_forward.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/tokengame_play_start.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/analyze_quantitative_simulation.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/document_open.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/help_contents.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/help_info2.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/options_manual.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/register.svg" />
<fileset file="../WoPeD-GUI/src/org/woped/gui/images/svg/edit-cut.svg" />
</copy>

<copy todir="dist" filtering="true" overwrite="true">
<fileset file="build-tools/launcher/MacOS/Info.plist" />
</copy>
Expand Down Expand Up @@ -318,22 +287,7 @@
<mkdir dir="dist/mac/WoPeD.app/Contents/Java/lib" />
<mkdir dir="dist/mac/WoPeD.app/Contents/Java/doc" />
<mkdir dir="dist/mac/WoPeD.app/Contents/Java/nets" />
<mkdir dir="dist/mac/WoPeD.app/Contents/Java/dashboardpages" />
<mkdir dir="dist/mac/WoPeD.app/Contents/Java/dashboardpages/GUI" />
<mkdir dir="dist/mac/WoPeD.app/Contents/Java/dashboardpages/SVG" />

<copy todir="dist/mac/WoPeD.app/Contents/Java/dashboardpages">
<fileset file="dist/dashboardpages/*.*" />
</copy>

<copy todir="dist/mac/WoPeD.app/Contents/Java/dashboardpages/GUI">
<fileset file="dist/dashboardpages/GUI/*.*" />
</copy>

<copy todir="dist/mac/WoPeD.app/Contents/Java/dashboardpages/SVG">
<fileset file="dist/dashboardpages/SVG/*.*" />
</copy>

<copy todir="dist/mac/WoPeD.app/Contents/Java">
<fileset file="dist/WoPeD*.jar" />
<fileset file="dist/*.txt" />
Expand Down
1 change: 0 additions & 1 deletion WoPeD-Installer/build-tools/setup/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@
<file src="lib/tablelayout-0.8.6.jar" targetdir="$INSTALL_PATH/lib" />
<file src="lib/trident-1.2.0.jar" targetdir="$INSTALL_PATH/lib" />
<file src="lib/xmlbeans-2.3.0.jar" targetdir="$INSTALL_PATH/lib" />
<file src="dashboardpages" targetdir="$INSTALL_PATH" />
</pack>

<pack name="PDF Documentation" required="no">
Expand Down
57 changes: 57 additions & 0 deletions WoPeD-Process2Text/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="lib/RealPro-2.2/lib"/>
<classpathentry kind="src" path="lib/jwnl14-rc2/src"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 7.1 Runtime">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry exported="true" kind="lib" path="lib/args4j-2.0.6.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/batik.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/batik-rasterizer.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/batik-slideshow.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/batik-squiggle.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/batik-svgpp.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/batik-ttf2svg.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/lib/batik-extension.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/extensions/batik-rasterizer-ext.jar"/>
<classpathentry exported="true" kind="lib" path="lib/batik-1.7/extensions/batik-squiggle-ext.jar"/>
<classpathentry exported="true" kind="lib" path="lib/bpstruct.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-beanutils-1.7.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-io-2.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-logging-1.1.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/gson-1.7.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/gson-1.7.1-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/itextpdf-5.1.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/itextpdf-5.1.2-javadoc.jar"/>
<classpathentry exported="true" kind="lib" path="lib/itextpdf-5.1.2-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/itext-xtra-5.1.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/itext-xtra-5.1.2-javadoc.jar"/>
<classpathentry exported="true" kind="lib" path="lib/itext-xtra-5.1.2-sources.jar"/>
<classpathentry exported="true" kind="lib" path="lib/jdom.jar"/>
<classpathentry exported="true" kind="lib" path="lib/json_simple-1.1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/json-lib-2.2.2-jdk15.jar"/>
<classpathentry exported="true" kind="lib" path="lib/labels.jar"/>
<classpathentry exported="true" kind="lib" path="lib/org.json.jar"/>
<classpathentry exported="true" kind="lib" path="lib/PDFBox-0.7.3.jar"/>
<classpathentry exported="true" kind="lib" path="lib/RealPro-2.2/lib/rpw.jar"/>
<classpathentry exported="true" kind="lib" path="lib/RealPro-2.2/lib/rpw-lkb.jar"/>
<classpathentry exported="true" kind="lib" path="lib/RiTaWN/ritaWN/rwn24-src.jar"/>
<classpathentry exported="true" kind="lib" path="lib/RiTaWN/ritaWN/library/ritaWN.jar"/>
<classpathentry exported="true" kind="lib" path="lib/RiTaWN/ritaWN/library/supportWN.jar"/>
<classpathentry exported="true" kind="lib" path="lib/utils.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/stanford-postagger-2011-06-19.jar"/>
<classpathentry kind="lib" path="lib/jwnl14-rc2/lib/commons-logging.jar"/>
<classpathentry kind="lib" path="lib/jwnl14-rc2/lib/junit-4.1.jar"/>
<classpathentry kind="lib" path="/home/mwi/jboss-as-7.1.1.Final/bundles/javax/servlet/api/v25/jbosgi-http-api-1.0.5.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
36 changes: 36 additions & 0 deletions WoPeD-Process2Text/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ProcessToTextWebService</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
12 changes: 12 additions & 0 deletions WoPeD-Process2Text/.settings/.jsdtscope
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="WebContent"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
12 changes: 12 additions & 0 deletions WoPeD-Process2Text/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
10 changes: 10 additions & 0 deletions WoPeD-Process2Text/.settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="ProcessToTextWebService">
<wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/lib/jwnl14-rc2/src"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/lib/RealPro-2.2/lib"/>
<property name="context-root" value="ProcessToTextWebService"/>
<property name="java-output-path" value="/ProcessToTextWebService/build/classes"/>
</wb-module>
</project-modules>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="JBoss 7.1 Runtime"/>
<fixed facet="java"/>
<fixed facet="wst.jsdt.web"/>
<fixed facet="jst.web"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Window
3 changes: 3 additions & 0 deletions WoPeD-Process2Text/WebContent/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

Loading

0 comments on commit ee6cf74

Please sign in to comment.