commited forgotten files
This commit is contained in:
parent
79d73a96e8
commit
f3fa3a8691
8
.classpathsave
Normal file
8
.classpathsave
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="lib" path="jgoodies-forms-1.8.0.jar" sourcepath="jgoodies-forms-1.8.0-sources.jar"/>
|
||||
<classpathentry kind="lib" path="/home/papa/git/Siba/commons-compress-1.10.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
0
.metadata/.lock
Normal file
0
.metadata/.lock
Normal file
BIN
.metadata/.mylyn/.taskListIndex/segments.gen
Normal file
BIN
.metadata/.mylyn/.taskListIndex/segments.gen
Normal file
Binary file not shown.
BIN
.metadata/.mylyn/.taskListIndex/segments_1
Normal file
BIN
.metadata/.mylyn/.taskListIndex/segments_1
Normal file
Binary file not shown.
BIN
.metadata/.mylyn/repositories.xml.zip
Normal file
BIN
.metadata/.mylyn/repositories.xml.zip
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
|
BIN
.metadata/.plugins/org.eclipse.core.resources/.root/2.tree
Normal file
BIN
.metadata/.plugins/org.eclipse.core.resources/.root/2.tree
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
version=1
|
@ -0,0 +1,13 @@
|
||||
content_assist_proposals_background=255,255,255
|
||||
content_assist_proposals_foreground=31,28,27
|
||||
eclipse.preferences.version=1
|
||||
fontPropagated=true
|
||||
org.eclipse.jdt.ui.editor.tab.width=
|
||||
org.eclipse.jdt.ui.formatterprofiles.version=12
|
||||
org.eclipse.jdt.ui.javadoclocations.migrated=true
|
||||
org.eclipse.jface.textfont=1|Monospace|10.0|0|GTK|1|;
|
||||
proposalOrderMigrated=true
|
||||
spelling_locale_initialized=true
|
||||
tabWidthPropagated=true
|
||||
useAnnotationsPrefPage=true
|
||||
useQuickDiffPrefPage=true
|
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.m2e.discovery.pref.projects=
|
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
mylyn.attention.migrated=true
|
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true
|
@ -0,0 +1,5 @@
|
||||
eclipse.preferences.version=1
|
||||
migrated.task.repositories.secure.store=true
|
||||
org.eclipse.mylyn.tasks.ui.filters.nonmatching=true
|
||||
org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true
|
||||
org.eclipse.mylyn.tasks.ui.welcome.message=true
|
@ -0,0 +1,5 @@
|
||||
PROBLEMS_FILTERS_MIGRATE=true
|
||||
eclipse.preferences.version=1
|
||||
platformState=1456996765925
|
||||
quickStart=false
|
||||
tipsAndTricks=true
|
@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
showIntro=false
|
@ -0,0 +1,3 @@
|
||||
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
|
||||
PLUGINS_NOT_ACTIVATED_ON_STARTUP=org.eclipse.m2e.discovery;
|
||||
eclipse.preferences.version=1
|
2139
.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Normal file
2139
.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
ýÿÿÿversion
|
@ -0,0 +1 @@
|
||||
NRM<EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
ýÿÿÿversion
|
@ -0,0 +1 @@
|
||||
NRM<EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,57 @@
|
||||
{
|
||||
"version": "v1",
|
||||
"title": "Eclipse.org Error Reporting Server",
|
||||
"description": "Automated Error Reporting for eclipse.org",
|
||||
"timestamp": 1459112278994,
|
||||
"ttl": 20160,
|
||||
"helpUrl": "https://wiki.eclipse.org/EPP/Logging",
|
||||
"feedbackUrl": "https://docs.google.com/a/codetrails.com/forms/d/1wd9AzydLv_TMa7ZBXHO7zQIhZjZCJRNMed-6J4fVNsc/viewform",
|
||||
"aboutUrl": "https://dev.eclipse.org/recommenders/community/confess/#/about",
|
||||
"submitUrl": "https://dev.eclipse.org/recommenders/community/confess/0.6/reports/",
|
||||
"maxReportSize": 5242880,
|
||||
"problemsUrl": "https://www.eclipse.org/downloads/download.php?r\u003d1\u0026file\u003d/technology/epp/logging/problems.zip",
|
||||
"problemsTtl": 20160,
|
||||
"queryUrl": "https://dev.eclipse.org/recommenders/community/confess/0.6/query/",
|
||||
"connectTimeout": 10000,
|
||||
"socketTimeout": 100000,
|
||||
"acceptedProducts": [
|
||||
"org.eclipse.*"
|
||||
],
|
||||
"acceptedPlugins": [
|
||||
"org.eclipse.*",
|
||||
"org.apache.log4j.*",
|
||||
"com.codetrails.*"
|
||||
],
|
||||
"acceptedPackages": [
|
||||
"org.eclipse.*",
|
||||
"org.apache.*",
|
||||
"java.*",
|
||||
"javax.*",
|
||||
"javafx.*",
|
||||
"sun.*",
|
||||
"com.sun.*",
|
||||
"com.codetrails.*",
|
||||
"com.google.*",
|
||||
"org.osgi.*",
|
||||
"ch.qos.*",
|
||||
"org.slf4j.*"
|
||||
],
|
||||
"acceptOtherPackages": true,
|
||||
"acceptUiFreezes": true,
|
||||
"ignoredStatuses": [
|
||||
"org.eclipse.equinox.p2.*::",
|
||||
"org.eclipse.epp.mpc.ui:java.io.IOException:",
|
||||
"org.eclipse.epp.mpc.ui:java.net.SocketTimeoutException:",
|
||||
"org.eclipse.oomph.setup.core:$org.apache.http.ConnectionClosedException:",
|
||||
"org.eclipse.ui::Conflicting handlers for*",
|
||||
"org.eclipse.jface:java.io.IOException:Unable to resolve plug-in*",
|
||||
"org.eclipse.core.runtime::Invalid input url*",
|
||||
"org.eclipse.core.filesystem::Could not move*",
|
||||
"org.eclipse.core.filesystem::Could not delete*",
|
||||
"org.eclipse.pde.core::The current target platform contains errors*",
|
||||
":org.eclipse.equinox.security.storage.StorageException:",
|
||||
":org.eclipse.ecf.filetransfer.*:",
|
||||
":java.net.*:"
|
||||
],
|
||||
"problemsZipLastDownloadTimestamp": 0
|
||||
}
|
Binary file not shown.
BIN
.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache
Normal file
BIN
.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache
Normal file
Binary file not shown.
BIN
.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache
Normal file
BIN
.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<typeInfoHistroy/>
|
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<qualifiedTypeNameHistroy/>
|
10
.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
Normal file
10
.metadata/.plugins/org.eclipse.jdt.ui/dialog_settings.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart">
|
||||
<item value="2" key="layout"/>
|
||||
<item value="true" key="group_libraries"/>
|
||||
<item value="<?xml version="1.0" encoding="UTF-8"?>
<packageExplorer group_libraries="1" layout="2" linkWithEditor="0" rootMode="1" workingSetName="Aggregate for window 1459112280262">
<customFilters userDefinedPatternsEnabled="false">
<xmlDefinedFilters>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.StaticsFilter" isEnabled="false"/>
<child filterId="org.eclipse.mylyn.java.ui.MembersFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer_patternFilterId_.*" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonSharedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.SyntheticMembersFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ContainedLibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.m2e.MavenModuleFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.HideInnerClassFilesFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyInnerPackageFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ClosedProjectsFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.EmptyLibraryContainerFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.PackageDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.ImportDeclarationFilter" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonJavaElementFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LibraryFilter" isEnabled="false"/>
<child filterId="org.eclipse.pde.ui.BinaryProjectFilter1" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.CuAndClassFileFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.internal.ui.PackageExplorer.EmptyPackageFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.NonPublicFilter" isEnabled="false"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.LocalTypesFilter" isEnabled="false"/>
<child filterId="org.eclipse.pde.ui.ExternalPluginLibrariesFilter1" isEnabled="true"/>
<child filterId="org.eclipse.jdt.ui.PackageExplorer.FieldsFilter" isEnabled="false"/>
</xmlDefinedFilters>
</customFilters>
</packageExplorer>" key="memento"/>
|
||||
<item value="1" key="rootMode"/>
|
||||
<item value="false" key="linkWithEditor"/>
|
||||
</section>
|
||||
</section>
|
@ -0,0 +1,43 @@
|
||||
<configuration scan="true">
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
|
||||
</encoder>
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>OFF</level> <!-- change to DEBUG to mimic '-consolelog' behaviour -->
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
||||
<File>${org.eclipse.m2e.log.dir}/0.log</File>
|
||||
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
|
||||
<FileNamePattern>${org.eclipse.m2e.log.dir}/%i.log</FileNamePattern>
|
||||
<MinIndex>1</MinIndex>
|
||||
<MaxIndex>10</MaxIndex>
|
||||
</rollingPolicy>
|
||||
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
|
||||
<MaxFileSize>100MB</MaxFileSize>
|
||||
</triggeringPolicy>
|
||||
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
|
||||
<pattern>%date [%thread] %-5level %logger{35} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<appender name="EclipseLog" class="org.eclipse.m2e.logback.appender.EclipseLogAppender">
|
||||
<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
||||
<level>WARN</level>
|
||||
</filter>
|
||||
</appender>
|
||||
|
||||
<appender name="MavenConsoleLog" class="org.eclipse.m2e.logback.appender.MavenConsoleAppender">
|
||||
</appender>
|
||||
|
||||
<root level="INFO">
|
||||
<appender-ref ref="FILE" />
|
||||
<appender-ref ref="STDOUT" />
|
||||
<appender-ref ref="EclipseLog" />
|
||||
<appender-ref ref="MavenConsoleLog" />
|
||||
</root>
|
||||
|
||||
<logger name="com.ning.http.client" level="INFO" />
|
||||
</configuration>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<setup:Workspace
|
||||
xmi:version="2.0"
|
||||
xmlns:xmi="http://www.omg.org/XMI"
|
||||
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
|
||||
name="workspace"/>
|
@ -0,0 +1,2 @@
|
||||
#Cached timestamps
|
||||
#Thu Apr 07 17:17:09 CEST 2016
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<section name="Workbench">
|
||||
<section name="org.eclipse.ui.internal.QuickAccess">
|
||||
<item value="-1" key="dialogHeight"/>
|
||||
<item value="-1" key="dialogWidth"/>
|
||||
<list key="textEntries">
|
||||
</list>
|
||||
<list key="orderedElements">
|
||||
</list>
|
||||
<list key="orderedProviders">
|
||||
</list>
|
||||
<list key="textArray">
|
||||
</list>
|
||||
</section>
|
||||
</section>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<workingSetManager>
|
||||
<workingSet aggregate="true" factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1459112280263_0" label="Window Working Set" name="Aggregate for window 1459112280262"/>
|
||||
</workingSetManager>
|
3
.metadata/version.ini
Normal file
3
.metadata/version.ini
Normal file
@ -0,0 +1,3 @@
|
||||
#Thu Apr 07 17:16:25 CEST 2016
|
||||
org.eclipse.core.runtime=2
|
||||
org.eclipse.platform=4.5.2.v20160212-1500
|
130
src/org/dclermonte/siba/gui/SourceDirectorySelector.java
Normal file
130
src/org/dclermonte/siba/gui/SourceDirectorySelector.java
Normal file
@ -0,0 +1,130 @@
|
||||
package org.dclermonte.siba.gui;
|
||||
|
||||
import java.awt.Component;
|
||||
import java.io.File;
|
||||
|
||||
import javax.swing.JFileChooser;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Christian Pierre MOMON (christian.momon@devinsy.fr)
|
||||
*/
|
||||
public class SourceDirectorySelector extends JFileChooser
|
||||
{
|
||||
private static final long serialVersionUID = 3782597353602048214L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public SourceDirectorySelector(final File targetFile)
|
||||
{
|
||||
super();
|
||||
|
||||
//
|
||||
File file;
|
||||
if ((targetFile == null) || (StringUtils.isBlank(targetFile.getAbsolutePath())))
|
||||
{
|
||||
file = null;
|
||||
|
||||
}
|
||||
else if (targetFile.isFile())
|
||||
{
|
||||
file = targetFile.getParentFile();
|
||||
}
|
||||
else
|
||||
{
|
||||
file = targetFile;
|
||||
}
|
||||
|
||||
//
|
||||
setSelectedFile(file);
|
||||
setDialogTitle("Database directory");
|
||||
setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
|
||||
setAcceptAllFileFilterUsed(false);
|
||||
setApproveButtonText("Select");
|
||||
setDialogType(CUSTOM_DIALOG);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Override
|
||||
public void approveSelection()
|
||||
{
|
||||
//
|
||||
// File targetFile = getSelectedFile();
|
||||
|
||||
super.approveSelection();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Override
|
||||
public void cancelSelection()
|
||||
{
|
||||
//
|
||||
super.cancelSelection();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Override
|
||||
public void setSelectedFile(final File file)
|
||||
{
|
||||
//
|
||||
super.setSelectedFile(file);
|
||||
|
||||
System.out.println("==== SET SELECTED FILE=================");
|
||||
System.out.println("SELECED FILE " + file);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Override
|
||||
public void setVisible(final boolean visible)
|
||||
{
|
||||
//
|
||||
super.setVisible(visible);
|
||||
|
||||
if (!visible)
|
||||
{
|
||||
//
|
||||
resetChoosableFileFilters();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This method is the main one of the selector.
|
||||
*
|
||||
* @param parent
|
||||
* @return
|
||||
*/
|
||||
public static File showSelectorDialog(final Component parent, final File targetFile)
|
||||
{
|
||||
File result;
|
||||
|
||||
//
|
||||
SourceDirectorySelector selector = new SourceDirectorySelector(targetFile);
|
||||
|
||||
//
|
||||
if (selector.showDialog(parent, null) == JFileChooser.APPROVE_OPTION)
|
||||
{
|
||||
//
|
||||
result = selector.getSelectedFile();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result = null;
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
}
|
1
src/org/dclermonte/siba/gui/site.odt.txt
Normal file
1
src/org/dclermonte/siba/gui/site.odt.txt
Normal file
@ -0,0 +1 @@
|
||||
|
32
src/org/dclermonte/siba/gui/utils/GUIToolBox.java
Normal file
32
src/org/dclermonte/siba/gui/utils/GUIToolBox.java
Normal file
@ -0,0 +1,32 @@
|
||||
package org.dclermonte.siba.gui.utils;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import javax.swing.UIManager;
|
||||
|
||||
public class GUIToolBox
|
||||
{
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public static List<String> availableLookAndFeels()
|
||||
{
|
||||
List<String> result;
|
||||
|
||||
//
|
||||
result = new ArrayList<String>();
|
||||
|
||||
//
|
||||
for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels())
|
||||
{
|
||||
//
|
||||
result.add(info.getName());
|
||||
}
|
||||
|
||||
//
|
||||
return result;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user