Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NeqModPlus
Energy Components Catalog
Commits
7b0a99a4
Commit
7b0a99a4
authored
4 years ago
by
Kai-Holger Brassel
Browse files
Options
Download
Email Patches
Plain Diff
Linux verion and About dialog
parent
ce9a4cb6
Pipeline
#2560
passed with stage
in 8 minutes and 24 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
de.hftstuttgart.energycomponents.application/.classpath
+1
-1
de.hftstuttgart.energycomponents.application/.classpath
de.hftstuttgart.energycomponents.application/src/de/hftstuttgart/energycomponents/app/handlers/AboutHandler.java
+13
-1
...stuttgart/energycomponents/app/handlers/AboutHandler.java
de.hftstuttgart.energycomponents.parent/pom.xml
+2
-2
de.hftstuttgart.energycomponents.parent/pom.xml
de.hftstuttgart.energycomponents.product/pom.xml
+1
-1
de.hftstuttgart.energycomponents.product/pom.xml
de.hftstuttgart.energycomponents.viewmodel/.classpath
+1
-1
de.hftstuttgart.energycomponents.viewmodel/.classpath
with
18 additions
and
6 deletions
+18
-6
de.hftstuttgart.energycomponents.application/.classpath
+
1
-
1
View file @
7b0a99a4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpath>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER
/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-15
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"src"
path=
"src/"
/>
<classpathentry
kind=
"src"
path=
"src/"
/>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
...
...
This diff is collapsed.
Click to expand it.
de.hftstuttgart.energycomponents.application/src/de/hftstuttgart/energycomponents/app/handlers/AboutHandler.java
+
13
-
1
View file @
7b0a99a4
...
@@ -7,6 +7,18 @@ import org.eclipse.swt.widgets.Shell;
...
@@ -7,6 +7,18 @@ import org.eclipse.swt.widgets.Shell;
public
class
AboutHandler
{
public
class
AboutHandler
{
@Execute
@Execute
public
void
execute
(
Shell
shell
)
{
public
void
execute
(
Shell
shell
)
{
MessageDialog
.
openInformation
(
shell
,
"About"
,
"Energy Components Catalog"
);
String
txt
=
"""
Energy Components Catalog by Verena Weiler, Stuttgart, is licensed under CC BY-NC-ND 4.0
This work is supported by projects “SimStadt 2.0” [grant number 03ET1459A] and
”NEQModPlus” [grant number 03ET1618B] by the BMWi (German Federal Ministry of Economic Affairs and Energy).
Java version: %s
Java vendor: %s
java.vm.version: %s
java.version.date: %s"""
;
MessageDialog
.
openInformation
(
shell
,
"About"
,
txt
.
formatted
(
System
.
getProperty
(
"java.version"
),
System
.
getProperty
(
"java.vendor"
),
System
.
getProperty
(
"java.vm.version"
),
System
.
getProperty
(
"java.version.date"
)));
}
}
}
}
This diff is collapsed.
Click to expand it.
de.hftstuttgart.energycomponents.parent/pom.xml
+
2
-
2
View file @
7b0a99a4
...
@@ -48,11 +48,11 @@
...
@@ -48,11 +48,11 @@
<ws>
win32
</ws>
<ws>
win32
</ws>
<arch>
x86_64
</arch>
<arch>
x86_64
</arch>
</environment>
</environment>
<
!--
environment>
<environment>
<os>
linux
</os>
<os>
linux
</os>
<ws>
gtk
</ws>
<ws>
gtk
</ws>
<arch>
x86_64
</arch>
<arch>
x86_64
</arch>
</environment
--
>
</environment>
<environment>
<environment>
<os>
macosx
</os>
<os>
macosx
</os>
<ws>
cocoa
</ws>
<ws>
cocoa
</ws>
...
...
This diff is collapsed.
Click to expand it.
de.hftstuttgart.energycomponents.product/pom.xml
+
1
-
1
View file @
7b0a99a4
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<configuration>
<configuration>
<formats>
<formats>
<win32>
zip
</win32>
<win32>
zip
</win32>
<
!--
linux>tar.gz</linux
--
>
<linux>
tar.gz
</linux>
<macosx>
zip
</macosx>
<macosx>
zip
</macosx>
</formats>
</formats>
</configuration>
</configuration>
...
...
This diff is collapsed.
Click to expand it.
de.hftstuttgart.energycomponents.viewmodel/.classpath
+
1
-
1
View file @
7b0a99a4
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpath>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER
/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-15
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
<classpathentry
kind=
"output"
path=
"target/classes"
/>
</classpath>
</classpath>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets