You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(80) |
Oct
(12) |
Nov
(237) |
Dec
(210) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(344) |
Feb
(311) |
Mar
(239) |
Apr
(72) |
May
(8) |
Jun
|
Jul
(73) |
Aug
(88) |
Sep
(235) |
Oct
(111) |
Nov
(325) |
Dec
(220) |
| 2006 |
Jan
(108) |
Feb
(64) |
Mar
(381) |
Apr
(98) |
May
(38) |
Jun
(16) |
Jul
(34) |
Aug
(70) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2007 |
Jan
(22) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(12) |
| 2010 |
Jan
(49) |
Feb
(9) |
Mar
(2) |
Apr
(17) |
May
(10) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Robert E. <sky...@us...> - 2006-08-06 10:31:18
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.musicplayer.vorbisspi In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9505 Modified Files: build.properties Log Message: Removed trivial warnings. Index: build.properties =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.musicplayer.vorbisspi/build.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.properties 20 Mar 2006 21:46:49 -0000 1.1 --- build.properties 6 Aug 2006 10:31:15 -0000 1.2 *************** *** 1,3 **** - source.. = src/ output.. = bin/ bin.includes = META-INF/,\ --- 1,2 ---- |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:31:14
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9050/src/org/jcommander/ui/editor/xml Modified Files: IXMLColorConstants.java XMLEditor.java ColorManager.java XMLDocumentProvider.java XMLScanner.java XMLTagScanner.java TagRule.java XMLConfiguration.java XMLDoubleClickStrategy.java XMLPartitionScanner.java NonRuleBasedDamagerRepairer.java XMLWhitespaceDetector.java Log Message: Removed trivial warnings. Index: ColorManager.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/ColorManager.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ColorManager.java 8 Jul 2006 17:35:05 -0000 1.1 --- ColorManager.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,11 **** package org.jcommander.ui.editor.xml; ! import java.util.HashMap; ! import java.util.Iterator; ! import java.util.Map; ! import org.eclipse.swt.graphics.Color; ! import org.eclipse.swt.graphics.RGB; ! import org.eclipse.swt.widgets.Display; class ColorManager { --- 1,8 ---- package org.jcommander.ui.editor.xml; ! import java.util.*; ! import org.eclipse.swt.graphics.*; ! import org.eclipse.swt.widgets.*; class ColorManager { Index: XMLDocumentProvider.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/XMLDocumentProvider.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XMLDocumentProvider.java 8 Jul 2006 17:35:05 -0000 1.1 --- XMLDocumentProvider.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,12 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.core.runtime.CoreException; ! ! import org.eclipse.jface.text.IDocument; ! import org.eclipse.jface.text.IDocumentPartitioner; ! import org.eclipse.jface.text.rules.FastPartitioner; ! import org.eclipse.jface.text.source.IAnnotationModel; ! ! import org.jcommander.ui.editor.JCmdDocumentProvider; public class XMLDocumentProvider extends JCmdDocumentProvider { --- 1,9 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.core.runtime.*; ! import org.eclipse.jface.text.*; ! import org.eclipse.jface.text.rules.*; ! import org.eclipse.jface.text.source.*; ! import org.jcommander.ui.editor.*; public class XMLDocumentProvider extends JCmdDocumentProvider { Index: XMLDoubleClickStrategy.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/XMLDoubleClickStrategy.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XMLDoubleClickStrategy.java 8 Jul 2006 17:35:05 -0000 1.1 --- XMLDoubleClickStrategy.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,8 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.BadLocationException; ! import org.eclipse.jface.text.IDocument; ! import org.eclipse.jface.text.ITextDoubleClickStrategy; ! import org.eclipse.jface.text.ITextViewer; --- 1,5 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.*; Index: XMLConfiguration.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/XMLConfiguration.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XMLConfiguration.java 8 Jul 2006 17:35:05 -0000 1.1 --- XMLConfiguration.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,13 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.IDocument; ! import org.eclipse.jface.text.ITextDoubleClickStrategy; ! import org.eclipse.jface.text.TextAttribute; ! import org.eclipse.jface.text.presentation.IPresentationReconciler; ! import org.eclipse.jface.text.presentation.PresentationReconciler; ! import org.eclipse.jface.text.rules.DefaultDamagerRepairer; ! import org.eclipse.jface.text.rules.Token; ! import org.eclipse.jface.text.source.ISourceViewer; ! import org.eclipse.jface.text.source.SourceViewerConfiguration; --- 1,8 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.*; ! import org.eclipse.jface.text.presentation.*; ! import org.eclipse.jface.text.rules.*; ! import org.eclipse.jface.text.source.*; Index: IXMLColorConstants.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/IXMLColorConstants.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** IXMLColorConstants.java 8 Jul 2006 17:35:05 -0000 1.1 --- IXMLColorConstants.java 6 Aug 2006 10:30:37 -0000 1.2 *************** *** 1,5 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.swt.graphics.RGB; public interface IXMLColorConstants { --- 1,5 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.swt.graphics.*; public interface IXMLColorConstants { Index: XMLPartitionScanner.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/XMLPartitionScanner.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XMLPartitionScanner.java 8 Jul 2006 17:35:05 -0000 1.1 --- XMLPartitionScanner.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,9 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.rules.IPredicateRule; ! import org.eclipse.jface.text.rules.IToken; ! import org.eclipse.jface.text.rules.MultiLineRule; ! import org.eclipse.jface.text.rules.RuleBasedPartitionScanner; ! import org.eclipse.jface.text.rules.Token; --- 1,5 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.rules.*; Index: TagRule.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/TagRule.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** TagRule.java 8 Jul 2006 17:35:05 -0000 1.1 --- TagRule.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,7 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.rules.ICharacterScanner; ! import org.eclipse.jface.text.rules.IToken; ! import org.eclipse.jface.text.rules.MultiLineRule; --- 1,5 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.rules.*; Index: XMLEditor.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/XMLEditor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XMLEditor.java 8 Jul 2006 17:35:05 -0000 1.1 --- XMLEditor.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,5 **** package org.jcommander.ui.editor.xml; ! import org.jcommander.ui.editor.JCmdEditor; --- 1,5 ---- package org.jcommander.ui.editor.xml; ! import org.jcommander.ui.editor.*; Index: NonRuleBasedDamagerRepairer.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/NonRuleBasedDamagerRepairer.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NonRuleBasedDamagerRepairer.java 8 Jul 2006 17:35:05 -0000 1.1 --- NonRuleBasedDamagerRepairer.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,18 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.swt.custom.StyleRange; ! import org.eclipse.jface.util.Assert; ! ! import org.eclipse.jface.text.BadLocationException; ! import org.eclipse.jface.text.DocumentEvent; ! import org.eclipse.jface.text.IDocument; ! import org.eclipse.jface.text.IRegion; ! import org.eclipse.jface.text.ITypedRegion; ! import org.eclipse.jface.text.Region; ! import org.eclipse.jface.text.TextAttribute; ! import org.eclipse.jface.text.TextPresentation; ! import org.eclipse.jface.text.presentation.IPresentationDamager; ! import org.eclipse.jface.text.presentation.IPresentationRepairer; public class NonRuleBasedDamagerRepairer --- 1,8 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.*; ! import org.eclipse.jface.text.presentation.*; import org.eclipse.jface.util.Assert; ! import org.eclipse.swt.custom.*; public class NonRuleBasedDamagerRepairer Index: XMLWhitespaceDetector.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/XMLWhitespaceDetector.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XMLWhitespaceDetector.java 8 Jul 2006 17:35:05 -0000 1.1 --- XMLWhitespaceDetector.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,5 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.rules.IWhitespaceDetector; --- 1,5 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.rules.*; Index: XMLScanner.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/XMLScanner.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XMLScanner.java 8 Jul 2006 17:35:05 -0000 1.1 --- XMLScanner.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,11 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.TextAttribute; ! import org.eclipse.jface.text.rules.IRule; ! import org.eclipse.jface.text.rules.IToken; ! import org.eclipse.jface.text.rules.RuleBasedScanner; ! import org.eclipse.jface.text.rules.SingleLineRule; ! import org.eclipse.jface.text.rules.Token; ! import org.eclipse.jface.text.rules.WhitespaceRule; --- 1,6 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.*; ! import org.eclipse.jface.text.rules.*; Index: XMLTagScanner.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/xml/XMLTagScanner.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** XMLTagScanner.java 8 Jul 2006 17:35:05 -0000 1.1 --- XMLTagScanner.java 6 Aug 2006 10:30:38 -0000 1.2 *************** *** 1,11 **** package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.TextAttribute; ! import org.eclipse.jface.text.rules.IRule; ! import org.eclipse.jface.text.rules.IToken; ! import org.eclipse.jface.text.rules.RuleBasedScanner; ! import org.eclipse.jface.text.rules.SingleLineRule; ! import org.eclipse.jface.text.rules.Token; ! import org.eclipse.jface.text.rules.WhitespaceRule; --- 1,6 ---- package org.jcommander.ui.editor.xml; ! import org.eclipse.jface.text.*; ! import org.eclipse.jface.text.rules.*; |
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9050/src/org/jcommander/ui/editor Modified Files: EditorPlugin.java JCmdEditorInput.java JCmdEditorPart.java JCmdDocumentProvider.java JCmdEditor.java Log Message: Removed trivial warnings. Index: EditorPlugin.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/EditorPlugin.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** EditorPlugin.java 20 Feb 2006 21:16:07 -0000 1.2 --- EditorPlugin.java 6 Aug 2006 10:30:37 -0000 1.3 *************** *** 3,13 **** import java.util.*; import org.eclipse.ui.*; import org.eclipse.ui.plugin.*; - //import org.jcommander.phileas.core.*; import org.jcommander.ui.utils.*; import org.osgi.framework.*; - import org.jcommander.vfsextensions.*; - import org.apache.commons.vfs.*; /** --- 3,11 ---- import java.util.*; + import org.apache.commons.vfs.*; import org.eclipse.ui.*; import org.eclipse.ui.plugin.*; import org.jcommander.ui.utils.*; import org.osgi.framework.*; /** Index: JCmdEditorInput.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/JCmdEditorInput.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JCmdEditorInput.java 20 Feb 2006 21:16:07 -0000 1.2 --- JCmdEditorInput.java 6 Aug 2006 10:30:37 -0000 1.3 *************** *** 4,12 **** package org.jcommander.ui.editor; import org.eclipse.jface.resource.*; import org.eclipse.ui.*; - //import org.jcommander.phileas.core.*; - import org.apache.commons.vfs.*; - import org.jcommander.vfsextensions.*; /** --- 4,10 ---- package org.jcommander.ui.editor; + import org.apache.commons.vfs.*; import org.eclipse.jface.resource.*; import org.eclipse.ui.*; /** Index: JCmdDocumentProvider.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/JCmdDocumentProvider.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JCmdDocumentProvider.java 8 Jul 2006 17:35:05 -0000 1.1 --- JCmdDocumentProvider.java 6 Aug 2006 10:30:37 -0000 1.2 *************** *** 1,31 **** package org.jcommander.ui.editor; ! import java.io.BufferedReader; ! import java.io.BufferedWriter; ! import java.io.File; ! import java.io.FileNotFoundException; ! import java.io.FileReader; ! import java.io.FileWriter; ! import java.io.IOException; ! import java.io.InputStreamReader; ! import java.io.Reader; ! import java.io.Writer; ! ! import org.apache.commons.vfs.FileSystemException; ! import org.eclipse.core.runtime.CoreException; ! import org.eclipse.core.runtime.IPath; ! import org.eclipse.core.runtime.IProgressMonitor; ! import org.eclipse.core.runtime.IStatus; ! import org.eclipse.core.runtime.Status; ! ! import org.eclipse.jface.operation.IRunnableContext; ! ! import org.eclipse.jface.text.Document; ! import org.eclipse.jface.text.IDocument; ! import org.eclipse.jface.text.source.IAnnotationModel; ! import org.eclipse.ui.IEditorInput; ! import org.eclipse.ui.IPathEditorInput; ! import org.eclipse.ui.texteditor.AbstractDocumentProvider; /** --- 1,13 ---- package org.jcommander.ui.editor; ! import java.io.*; ! import org.apache.commons.vfs.*; ! import org.eclipse.core.runtime.*; ! import org.eclipse.jface.operation.*; ! import org.eclipse.jface.text.*; ! import org.eclipse.jface.text.source.*; ! import org.eclipse.ui.*; ! import org.eclipse.ui.texteditor.*; /** Index: JCmdEditor.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/JCmdEditor.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JCmdEditor.java 8 Jul 2006 17:35:05 -0000 1.1 --- JCmdEditor.java 6 Aug 2006 10:30:37 -0000 1.2 *************** *** 1,5 **** package org.jcommander.ui.editor; ! import org.eclipse.ui.texteditor.AbstractTextEditor; --- 1,5 ---- package org.jcommander.ui.editor; ! import org.eclipse.ui.texteditor.*; Index: JCmdEditorPart.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/JCmdEditorPart.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JCmdEditorPart.java 20 Feb 2006 21:16:07 -0000 1.2 --- JCmdEditorPart.java 6 Aug 2006 10:30:37 -0000 1.3 *************** *** 12,16 **** import org.eclipse.ui.*; import org.eclipse.ui.part.*; - //import org.jcommander.phileas.core.*; import org.jcommander.ui.utils.*; --- 12,15 ---- *************** *** 107,111 **** // show file contents in the editor ! JCmdEditorInput jcmdInput = (JCmdEditorInput) getEditorInput(); text.setText(new String(contents)); --- 106,110 ---- // show file contents in the editor ! // JCmdEditorInput jcmdInput = (JCmdEditorInput) getEditorInput(); text.setText(new String(contents)); |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:30:45
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/actions In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9050/src/org/jcommander/ui/editor/actions Modified Files: CloseAction.java Log Message: Removed trivial warnings. Index: CloseAction.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/src/org/jcommander/ui/editor/actions/CloseAction.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** CloseAction.java 8 Jul 2006 17:35:05 -0000 1.1 --- CloseAction.java 6 Aug 2006 10:30:41 -0000 1.2 *************** *** 1,10 **** package org.jcommander.ui.editor.actions; ! import org.eclipse.jface.action.IAction; ! import org.eclipse.jface.viewers.ISelection; ! import org.eclipse.ui.IWorkbenchPage; ! import org.eclipse.ui.IWorkbenchWindow; ! import org.eclipse.ui.IWorkbenchWindowActionDelegate; ! import org.eclipse.ui.PlatformUI; /** --- 1,7 ---- package org.jcommander.ui.editor.actions; ! import org.eclipse.jface.action.*; ! import org.eclipse.jface.viewers.*; ! import org.eclipse.ui.*; /** |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:30:45
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.editor/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9050/.settings Added Files: org.eclipse.jdt.core.prefs org.eclipse.jdt.ui.prefs Log Message: Removed trivial warnings. --- NEW FILE: org.eclipse.jdt.core.prefs --- #Sun Aug 06 12:22:17 EEST 2006 eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.4 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=warning org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning org.eclipse.jdt.core.compiler.source=1.3 --- NEW FILE: org.eclipse.jdt.ui.prefs --- #Sun Aug 06 12:22:17 EEST 2006 eclipse.preferences.version=1 internal.default.compliance=default |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:30:32
|
Update of /cvsroot/jcommander/plugins/org.jcommander.tools.nativemanager/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9021/.settings Log Message: Directory /cvsroot/jcommander/plugins/org.jcommander.tools.nativemanager/.settings added to the repository |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:30:24
|
Update of /cvsroot/jcommander/plugins/org.jcommander.tools.nativemanager.ui/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8972/.settings Log Message: Directory /cvsroot/jcommander/plugins/org.jcommander.tools.nativemanager.ui/.settings added to the repository |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:30:15
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.musicplayer/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8633/.settings Log Message: Directory /cvsroot/jcommander/plugins/org.jcommander.ui.musicplayer/.settings added to the repository |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:30:05
|
Update of /cvsroot/jcommander/plugins/org.jcommander.phileas.bookmarks/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8606/.settings Log Message: Directory /cvsroot/jcommander/plugins/org.jcommander.phileas.bookmarks/.settings added to the repository |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:29:57
|
Update of /cvsroot/jcommander/plugins/org.jcommander.vfsextensions/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8585/.settings Log Message: Directory /cvsroot/jcommander/plugins/org.jcommander.vfsextensions/.settings added to the repository |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:29:49
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.utils/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8556/.settings Log Message: Directory /cvsroot/jcommander/plugins/org.jcommander.ui.utils/.settings added to the repository |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:29:41
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8536/.settings Log Message: Directory /cvsroot/jcommander/plugins/org.jcommander.ui.app/.settings added to the repository |
|
From: Robert E. <sky...@us...> - 2006-08-06 10:29:34
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.editor/.settings In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv8518/.settings Log Message: Directory /cvsroot/jcommander/plugins/org.jcommander.ui.editor/.settings added to the repository |
|
From: Robert E. <sky...@us...> - 2006-08-06 09:50:06
|
Update of /cvsroot/jcommander/plugins/org.jcommander.eclipseplatform In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv21938 Modified Files: feature.xml Log Message: Added PDE error view to the RCP application. Index: feature.xml =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.eclipseplatform/feature.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** feature.xml 7 Jul 2006 02:20:45 -0000 1.25 --- feature.xml 6 Aug 2006 09:50:01 -0000 1.26 *************** *** 290,292 **** --- 290,299 ---- unpack="false"/> + <plugin + id="org.eclipse.pde.runtime" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + </feature> |
|
From: Robert E. <sky...@us...> - 2006-08-06 09:11:30
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app/actions In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6470/src/org/jcommander/ui/app/actions Modified Files: ChooseProfile.java Log Message: All platform logs redirected to the application's log for better traceability. Index: ChooseProfile.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app/actions/ChooseProfile.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ChooseProfile.java 27 Apr 2006 10:33:38 -0000 1.4 --- ChooseProfile.java 6 Aug 2006 09:11:26 -0000 1.5 *************** *** 37,41 **** new Shell(shellStyle); ! ImageDescriptor imgDesc = AppPlugin.imageDescriptorFromPlugin(AppPlugin.ID, "icons/small_icon.png"); dialog.setImage(imgDesc.createImage(dialog.getDisplay())); --- 37,41 ---- new Shell(shellStyle); ! ImageDescriptor imgDesc = AppPlugin.imageDescriptorFromPlugin(AppPlugin.PLUGIN_ID, "icons/small_icon.png"); dialog.setImage(imgDesc.createImage(dialog.getDisplay())); |
|
From: Robert E. <sky...@us...> - 2006-08-06 09:11:29
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6470/src/org/jcommander/ui/app Modified Files: AppPlugin.java Log Message: All platform logs redirected to the application's log for better traceability. Index: AppPlugin.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app/AppPlugin.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** AppPlugin.java 7 Dec 2005 21:34:27 -0000 1.15 --- AppPlugin.java 6 Aug 2006 09:11:26 -0000 1.16 *************** *** 1,7 **** package org.jcommander.ui.app; ! import java.net.*; import java.util.*; import org.eclipse.core.runtime.*; import org.eclipse.jface.preference.*; --- 1,8 ---- package org.jcommander.ui.app; ! import java.io.*; import java.util.*; + import org.apache.log4j.*; import org.eclipse.core.runtime.*; import org.eclipse.jface.preference.*; *************** *** 15,18 **** --- 16,22 ---- */ public class AppPlugin extends AbstractUIPlugin { + + final static private Logger log = Logger.getLogger(AppPlugin.class); + public static final String FILEPANEL_EXTENSION_POINT_NAME = "org.jcommander.ui.app.FileTab"; *************** *** 40,44 **** public static final String FIRST_STARTUP_KEY = "FIRST_STARTUP"; ! public static final String ID = "org.jcommander.ui.app"; /** --- 44,48 ---- public static final String FIRST_STARTUP_KEY = "FIRST_STARTUP"; ! public static final String PLUGIN_ID = "org.jcommander.ui.app"; /** *************** *** 48,58 **** super(); plugin = this; - // try { - // resourceBundle = ResourceBundle - // .getBundle("org.jcommander.ui.app.UiPluginResources"); - // } catch (MissingResourceException ex) { - // resourceBundle = null; - // MessageDisplayer.displayException(ex); - // } } --- 52,55 ---- *************** *** 62,69 **** public void start(BundleContext context) throws Exception { super.start(context); } ! public static URL getURLForFile(String fileName) { ! return plugin.find(new Path(fileName)); } --- 59,87 ---- public void start(BundleContext context) throws Exception { super.start(context); + + capturePlatformLogs(); } ! protected void capturePlatformLogs() { ! Platform.addLogListener(new ILogListener() { ! ! public void logging(IStatus status, String pPlugin) { ! ! Throwable exception = status.getException(); ! ! if(exception != null) { ! ! StringWriter writer = new StringWriter(); ! exception.printStackTrace(new PrintWriter(writer)); ! ! // All platform logs should make it to the application log ! log.error("Platform Exception: " + status.toString()); ! log.error("Stack trace: ", exception); ! } else { ! // Do nothing ! } ! } ! ! }); } |
|
From: Robert E. <sky...@us...> - 2006-08-06 09:11:29
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app/dialogs In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6470/src/org/jcommander/ui/app/dialogs Modified Files: ProfileChooserComposite.java Log Message: All platform logs redirected to the application's log for better traceability. Index: ProfileChooserComposite.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app/dialogs/ProfileChooserComposite.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ProfileChooserComposite.java 26 Jan 2006 22:32:06 -0000 1.4 --- ProfileChooserComposite.java 6 Aug 2006 09:11:26 -0000 1.5 *************** *** 199,203 **** wePreviewLabel.addMouseListener(weRadioSelectionMouseAdapter); ! ImageDescriptor descriptor = AppPlugin.imageDescriptorFromPlugin(AppPlugin.ID, ICONS_WE_PROFILE_SCALED); if(descriptor != null) { --- 199,203 ---- wePreviewLabel.addMouseListener(weRadioSelectionMouseAdapter); ! ImageDescriptor descriptor = AppPlugin.imageDescriptorFromPlugin(AppPlugin.PLUGIN_ID, ICONS_WE_PROFILE_SCALED); if(descriptor != null) { *************** *** 240,244 **** ncPreviewLabel.addMouseListener(ncRadioSelectionMouseAdapter); ! ImageDescriptor descriptor = AppPlugin.imageDescriptorFromPlugin(AppPlugin.ID, ICONS_NC_PROFILE_SCALED); if(descriptor != null) { --- 240,244 ---- ncPreviewLabel.addMouseListener(ncRadioSelectionMouseAdapter); ! ImageDescriptor descriptor = AppPlugin.imageDescriptorFromPlugin(AppPlugin.PLUGIN_ID, ICONS_NC_PROFILE_SCALED); if(descriptor != null) { |
|
From: Matthias K <mat...@us...> - 2006-07-12 13:04:00
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv14540 Modified Files: plugin.xml Log Message: -Changed keybindingmodel from deprecated org.eclipse.ui.command's <keybinding> element to org.eclipse.ui.binding's <key> element Index: plugin.xml =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/plugin.xml,v retrieving revision 1.102 retrieving revision 1.103 diff -C2 -d -r1.102 -r1.103 *** plugin.xml 11 Jul 2006 21:29:44 -0000 1.102 --- plugin.xml 12 Jul 2006 13:03:45 -0000 1.103 *************** *** 905,909 **** description="The key configuration used by JCommander" id="org.jcommander.ui.app.JCmdScheme" ! name="JCommander neu"/> <key --- 905,909 ---- description="The key configuration used by JCommander" id="org.jcommander.ui.app.JCmdScheme" ! name="JCommander"/> <key |
|
From: Matthias K <mat...@us...> - 2006-07-11 21:29:47
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv19797 Modified Files: plugin.xml Log Message: -Changed keybindingmodel from deprecated org.eclipse.ui.command's <keybinding> element to org.eclipse.ui.binding's <key> element Index: plugin.xml =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/plugin.xml,v retrieving revision 1.101 retrieving revision 1.102 diff -C2 -d -r1.101 -r1.102 *** plugin.xml 11 Jul 2006 19:48:12 -0000 1.101 --- plugin.xml 11 Jul 2006 21:29:44 -0000 1.102 *************** *** 620,629 **** <category name="Tabs" id="org.jcommander.ui.app.categories.Tabs" /> ! <keyConfiguration ! description="The key configuration used by JCommander" ! name="JCommander" id="org.jcommander.ui.app.JCmdKeyConfiguration" /> ! <activeKeyConfiguration ! keyConfigurationId="org.jcommander.ui.app.JCmdKeyConfiguration" ! value="org.jcommander.ui.app.JCmdKeyConfiguration" /> <command description="Opens up a new tab" categoryId="org.jcommander.ui.app.categories.Tabs" name="NewTab" --- 620,624 ---- <category name="Tabs" id="org.jcommander.ui.app.categories.Tabs" /> ! <command description="Opens up a new tab" categoryId="org.jcommander.ui.app.categories.Tabs" name="NewTab" |
|
From: Matthias K <mat...@us...> - 2006-07-11 19:48:20
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.editor In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv10616 Modified Files: plugin.xml Log Message: -Changed keybindingmodel from deprecated org.eclipse.ui.command's <keybinding> element to org.eclipse.ui.binding's <key> element -reformated xml code Index: plugin.xml =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.editor/plugin.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** plugin.xml 8 Jul 2006 17:35:05 -0000 1.6 --- plugin.xml 11 Jul 2006 19:48:18 -0000 1.7 *************** *** 106,110 **** sequence="Esc" commandId="org.jcommander.ui.editor.close" ! schemeId="org.jcommander.ui.app.JCmdKeyConfiguration"> </key> </extension> --- 106,110 ---- sequence="Esc" commandId="org.jcommander.ui.editor.close" ! schemeId="org.jcommander.ui.app.JCmdScheme"> </key> </extension> |
|
From: Matthias K <mat...@us...> - 2006-07-11 19:48:16
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv10580 Modified Files: plugin.xml Log Message: -Changed keybindingmodel from deprecated org.eclipse.ui.command's <keybinding> element to org.eclipse.ui.binding's <key> element -reformated xml code Index: plugin.xml =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/plugin.xml,v retrieving revision 1.100 retrieving revision 1.101 diff -C2 -d -r1.100 -r1.101 *** plugin.xml 7 Jul 2006 22:16:19 -0000 1.100 --- plugin.xml 11 Jul 2006 19:48:12 -0000 1.101 *************** *** 7,15 **** <runtime> <library name="jcmdapp.jar"> ! <export name="*"/> </library> - <library name="lib/gface_0.8.9.jar"> - <export name="*"/> - </library> </runtime> <requires> --- 7,15 ---- [...1959 lines suppressed...] ! ! <key ! contextId="org.eclipse.ui.contexts.dialogAndWindow" ! schemeId="org.jcommander.ui.app.JCmdScheme" ! commandId="org.jcommander.ui.app.commands.HelpContents" ! sequence="F1"/> ! ! <key ! contextId="org.eclipse.ui.contexts.dialogAndWindow" ! schemeId="org.jcommander.ui.app.JCmdScheme" ! commandId="org.jcommander.ui.app.SwitchToTreeCommand" ! sequence="ARROW_LEFT"/> ! ! <key ! contextId="org.eclipse.ui.contexts.dialogAndWindow" ! schemeId="org.jcommander.ui.app.JCmdScheme" ! commandId="org.jcommander.ui.app.SwitchToDirectoryCommand" ! sequence="ARROW_RIGHT"/> ! </extension> </plugin> |
|
From: Mike G. <mi...@us...> - 2006-07-11 14:45:21
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv20595 Modified Files: .classpath Log Message: Skeleton implementation of feature [1473431] Command Line Interface. Implemented parameter parsing and passing inside JCommander (first or already running instance). Implemented singleton instance parameters and the newTab parameter. Index: .classpath =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/.classpath,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** .classpath 19 Mar 2006 21:03:46 -0000 1.8 --- .classpath 11 Jul 2006 14:45:15 -0000 1.9 *************** *** 6,9 **** --- 6,10 ---- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="lib" path="/org.apache.commons.vfs/commons-vfs-1.0-RC8-SNAPSHOT.jar"/> + <classpathentry exported="true" kind="lib" path="/org.apache.commons/commons-cli-1.0.jar"/> <classpathentry kind="output" path="bin"/> </classpath> |
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv20595/src/org/jcommander/ui/app Modified Files: JCmdWorkbenchAdvisor.java PlatformRunnable.java JcmdManager.java Added Files: StartupParameters.java Log Message: Skeleton implementation of feature [1473431] Command Line Interface. Implemented parameter parsing and passing inside JCommander (first or already running instance). Implemented singleton instance parameters and the newTab parameter. Index: PlatformRunnable.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app/PlatformRunnable.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** PlatformRunnable.java 5 May 2006 11:00:35 -0000 1.9 --- PlatformRunnable.java 11 Jul 2006 14:45:14 -0000 1.10 *************** *** 32,40 **** strArgs = (String[])args; } JCMDApplicationEntryPoint entryPoint = new JCMDApplicationEntryPoint(); ! boolean first = new SingletonAppLauncher(entryPoint, 63500, 64500).startingFirstInstance(strArgs); ! if(!first){ ! LoggerPlugin.rootLogger.info("Exitting from duplicate instance"); ! return IPlatformRunnable.EXIT_OK; } int returnCode = entryPoint.getReturnCode(); --- 32,55 ---- strArgs = (String[])args; } + StartupParameters parameters = new StartupParameters(); + if(null != strArgs){ + parameters.load(strArgs); + } JCMDApplicationEntryPoint entryPoint = new JCMDApplicationEntryPoint(); ! if(parameters.SINGLETON_INSTANCE.configured()){ ! entryPoint.startup(strArgs); ! } ! else{ ! int startPort = 63500; ! int endPort = 64500; ! if(parameters.SINGLETON_PORT.configured()){ ! startPort = parameters.SINGLETON_PORT.getStartPort(); ! endPort = parameters.SINGLETON_PORT.getEndPort(); ! } ! boolean first = new SingletonAppLauncher(entryPoint, startPort, endPort).startingFirstInstance(strArgs); ! if(!first){ ! LoggerPlugin.rootLogger.info("Exitting from duplicate instance"); ! return IPlatformRunnable.EXIT_OK; ! } } int returnCode = entryPoint.getReturnCode(); *************** *** 60,65 **** --- 75,85 ---- public void startup(String[] params){ + StartupParameters parameters = new StartupParameters(); + if(null != params){ + parameters.load(params); + } if(started){ LoggerPlugin.rootLogger.info("Already started up. Place for secondary startups"); + JcmdManager.getInstance().applyStartupParameters(parameters); return; } *************** *** 70,74 **** } ! WorkbenchAdvisor workbenchAdvisor = null; if(params != null) { --- 90,94 ---- } ! JCmdWorkbenchAdvisor workbenchAdvisor = null; if(params != null) { *************** *** 80,83 **** --- 100,104 ---- workbenchAdvisor = new JCmdWorkbenchAdvisor("*DEVEL* "); + } } *************** *** 87,90 **** --- 108,112 ---- workbenchAdvisor = new JCmdWorkbenchAdvisor(); } + workbenchAdvisor.setStartupParameters(parameters); Display display = PlatformUI.createDisplay(); returnCode = PlatformUI.createAndRunWorkbench(display, workbenchAdvisor); Index: JcmdManager.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app/JcmdManager.java,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** JcmdManager.java 8 Jul 2006 22:42:48 -0000 1.32 --- JcmdManager.java 11 Jul 2006 14:45:14 -0000 1.33 *************** *** 304,307 **** --- 304,326 ---- return true; } + + public void applyStartupParameters(final StartupParameters parameters){ + if(null == parameters){ + return; + } + Display.getDefault().asyncExec(new Runnable(){ + public void run(){ + applyStartupParamsUI(parameters); + } + }); + } + + private void applyStartupParamsUI(StartupParameters parameters){ + LoggerPlugin.getLogger(JcmdManager.class).debug("Applying startup parameters..."); + if(parameters.NEW_TAB.configured()){ + createTab(PlatformUI.getWorkbench().getActiveWorkbenchWindow(), parameters.NEW_TAB.getLeftRoot(), + parameters.NEW_TAB.getRightRoot()); + } + } } \ No newline at end of file --- NEW FILE: StartupParameters.java --- package org.jcommander.ui.app; import java.io.File; import java.util.ArrayList; import org.apache.commons.cli.*; import org.apache.commons.vfs.FileObject; import org.apache.commons.vfs.FileSystemException; import org.jcommander.vfsextensions.VfsManagerExtension; /** * <p></p> * @author Mike Grigorov * @version 1.0 * Created on 03.07.2006 */ public class StartupParameters { public final CompareFileSettings COMPARE = new CompareFileSettings(); public final CopyDefaultTargetSettings COPY_TARGET = new CopyDefaultTargetSettings(); public final CopyFileSettings COPY = new CopyFileSettings(); public final NewTabSettings NEW_TAB = new NewTabSettings(); public final NewWindowSettings NEW_WINDOW = new NewWindowSettings(); public final SingletonInstanceSettings SINGLETON_INSTANCE = new SingletonInstanceSettings(); public final SingletonPortSettings SINGLETON_PORT = new SingletonPortSettings(); private final AbstractSettings[] ALL_SETTINGS = {COMPARE, COPY_TARGET, COPY, NEW_TAB, NEW_WINDOW, SINGLETON_INSTANCE, SINGLETON_PORT}; public StartupParameters(){} public boolean load(String[] parameters){ Options opts = new Options(); for(int i = 0; i < ALL_SETTINGS.length; i++){ opts.addOption(ALL_SETTINGS[i].getOption()); } try{ CommandLineParser parser = new BasicParser(); CommandLine cmd = parser.parse(opts, parameters, false); for(int i = 0; i < ALL_SETTINGS.length; i++){ ALL_SETTINGS[i].fillFrom(cmd); } return true; } catch(Exception ex){ System.err.println("Incorrect usage:" + ex.getMessage() + "\n"); new HelpFormatter().printHelp("jcmd", opts); return false; } } public static abstract class AbstractSettings{ private boolean configured = false; protected abstract Option getOption(); protected abstract void fillFrom(CommandLine commandLine); protected void raiseConfigured(){ configured = true; } /** * Check whether this setting instance is configured properly(i.e. whether * correct parameters were passed in order to use this setting). * * @return Whether the setting was correctly configured */ public boolean configured(){ return configured; } protected FileObject getFileObject(String str, boolean mustExist, boolean checkDir) throws FileSystemException{ File file = new File(str); if(mustExist){ if(!file.exists()){ log("file does not exist:" + str); return null; } if(checkDir && (!file.isDirectory())){ log("file is not a directory:" + str); return null; } } return VfsManagerExtension.getInstance().getManager().toFileObject(file); } protected FileObject[] getFiles(String[] names, boolean mustExist, boolean checkDir){ java.util.List files = new ArrayList(); for(int i = 0; i < names.length; i++){ try{ FileObject file = getFileObject(names[i], mustExist, checkDir); if(null != file){ files.add(file); } } catch(FileSystemException ex){ log("Error getting file:" + names[i] + ":" + ex); } } return (FileObject[])files.toArray(new FileObject[files.size()]); } protected void log(String message){ System.out.println(message); } } public static class NewTabSettings extends AbstractSettings{ private FileObject leftRoot; private FileObject rightRoot; public FileObject getLeftRoot() { return leftRoot; } public FileObject getRightRoot() { return rightRoot; } protected Option getOption(){ return OptionBuilder.withArgName("leftPanelRoot [rightPanelRoot]") .hasArg() .withValueSeparator(' ') .hasOptionalArgs(2) .withDescription("Open new tab given the roots") .create("newTab"); } protected void fillFrom(CommandLine commandLine){ String[] str = commandLine.getOptionValues("newTab"); if((str == null) || (str.length == 0)){ return; } try{ leftRoot = getFileObject(str[0], true, true); if(leftRoot == null){ return; } if(str.length > 1){ rightRoot = getFileObject(str[1], true, true); } raiseConfigured(); } catch(FileSystemException ex){ log("Error resolving files:" + ex); } } } public static class NewWindowSettings extends AbstractSettings{ private FileObject leftRoot; private FileObject rightRoot; public FileObject getLeftRoot() { return leftRoot; } public FileObject getRightRoot() { return rightRoot; } protected Option getOption(){ return OptionBuilder.withArgName("leftPanelRoot [rightPanelRoot]") .hasArg() .withValueSeparator(' ') .hasOptionalArgs(2) .withDescription("Open new JCommander window given the roots") .create("newWindow"); } protected void fillFrom(CommandLine commandLine){ String[] str = commandLine.getOptionValues("newWindow"); if((str == null) || (str.length == 0)){ return; } try{ leftRoot = getFileObject(str[0], true, true); if(leftRoot == null){ return; } if(str.length > 1){ rightRoot = getFileObject(str[1], true, true); } raiseConfigured(); } catch(FileSystemException ex){ log("Error resolving files:" + ex); } } } public static class CopyFileSettings extends AbstractSettings{ private FileObject[] roots; public FileObject[] getRoots() { return roots; } protected Option getOption(){ return OptionBuilder.withArgName("file(,file)*") .hasArg() .withValueSeparator(',') .hasOptionalArgs() .withDescription("Default copy target for copy operation") .create("copyFiles"); } protected void fillFrom(CommandLine commandLine){ String[] str = commandLine.getOptionValues("copyFiles"); if((str == null) || (str.length == 0)){ return; } FileObject[] files = getFiles(str, true, false); if(files.length > 0){ roots = files; raiseConfigured(); } } } public static class CopyDefaultTargetSettings extends AbstractSettings{ private FileObject file; public FileObject getFile() { return file; } protected Option getOption(){ return OptionBuilder.withArgName("file") .hasArg() .hasOptionalArgs(1) .withDescription("Default copy target for copy operation") .create("copyDefaultTarget"); } protected void fillFrom(CommandLine commandLine){ String[] str = commandLine.getOptionValues("copyDefaultTarget"); if((str == null) || (str.length == 0)){ return; } try{ file = getFileObject(str[0], true, true); if(file == null){ return; } raiseConfigured(); } catch(FileSystemException ex){ log("Error resolving files:" + ex); } } } public static class CompareFileSettings extends AbstractSettings{ private FileObject left; private FileObject right; private FileObject ancestor; public FileObject getAncestor() { return ancestor; } public FileObject getLeft() { return left; } public FileObject getRight() { return right; } protected Option getOption(){ return OptionBuilder.withArgName("file,file[,file]*") .hasArg() .withValueSeparator(',') .hasOptionalArgs() .withDescription("Compare files") .create("compareFiles"); } protected void fillFrom(CommandLine commandLine){ String[] str = commandLine.getOptionValues("compareFiles"); if((str == null) || (str.length < 2)){ return; } FileObject[] files = getFiles(str, true, false); if(files.length >= 2){ left = files[0]; right = files[1]; if(files.length > 2){ ancestor = files[2]; } raiseConfigured(); } } } public static class SingletonPortSettings extends AbstractSettings{ private int startPort; private int endPort; public int getEndPort() { return endPort; } public int getStartPort() { return startPort; } protected Option getOption(){ return OptionBuilder.withArgName("min-max") .hasArg() .withValueSeparator('-') .hasOptionalArgs(2) .withDescription("Singleton server port range") .create("singletonPort"); } protected void fillFrom(CommandLine commandLine){ String[] str = commandLine.getOptionValues("singletonPort"); if((str == null) || (str.length < 2)){ return; } int p1 = parse(str[0]); int p2 = parse(str[1]); if((p1 <= 0) || (p1 <= 0) || (p1 >= p2)){ log("Invalid range"); return; } startPort = p1; endPort = p2; raiseConfigured(); } private int parse(String s){ try{ return Integer.parseInt(s); } catch(Exception ex){ log("Cannot parse:" + s); return 0; } } } public static class SingletonInstanceSettings extends AbstractSettings{ private boolean noSingleton = false; public boolean isNoSingleton() { return noSingleton; } protected Option getOption(){ return new Option("noSingleton", false, "Do not activate/check singleton instance"); } protected void fillFrom(CommandLine commandLine){ noSingleton = commandLine.hasOption("noSingleton"); if(noSingleton){ raiseConfigured(); } } } } Index: JCmdWorkbenchAdvisor.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.app/src/org/jcommander/ui/app/JCmdWorkbenchAdvisor.java,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** JCmdWorkbenchAdvisor.java 27 Jun 2006 18:46:50 -0000 1.37 --- JCmdWorkbenchAdvisor.java 11 Jul 2006 14:45:14 -0000 1.38 *************** *** 36,39 **** --- 36,40 ---- protected String actualCaption; private String captionPrefix; + private StartupParameters startupParameters; public JCmdWorkbenchAdvisor(String captionPrefix) { *************** *** 80,83 **** --- 81,89 ---- } + public void setStartupParameters(StartupParameters startupParameters){ + this.startupParameters = startupParameters; + } + + /** * @param configurer *************** *** 146,149 **** --- 152,158 ---- } } + if(null != startupParameters){ + JcmdManager.getInstance().applyStartupParameters(startupParameters); + } } |
|
From: Matthias K <mat...@us...> - 2006-07-09 12:41:11
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/preferences In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12949/src/org/jcommander/ui/filepanel/preferences Modified Files: FilePanelPreferencesPage.java Log Message: Implementation of featuer request [ 1518678 ]: Optionally hide hidden files Index: FilePanelPreferencesPage.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/preferences/FilePanelPreferencesPage.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** FilePanelPreferencesPage.java 8 Jul 2006 22:43:01 -0000 1.5 --- FilePanelPreferencesPage.java 9 Jul 2006 12:41:06 -0000 1.6 *************** *** 74,77 **** --- 74,84 ---- addField(showExtName); + + BooleanFieldEditor hideHiddenFiles = new BooleanFieldEditor(FilePanelPlugin.HIDE_HIDDEN_FILES, + "Hide hidden files", + SWT.NONE, + getFieldEditorParent()); + + addField(hideHiddenFiles); } *************** *** 121,129 **** return true; } - - protected void performDefaults() { - super.performDefaults(); - getPreferenceStore().setDefault(FilePanelPlugin.ADVANCED_AUTO_REFRESH, FilePanelPlugin.AUTO_REFRESH_AUTOMATIC); - } } --- 128,131 ---- |
|
From: Matthias K <mat...@us...> - 2006-07-09 12:41:09
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/model In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12949/src/org/jcommander/ui/filepanel/model Modified Files: FileControlModel.java Log Message: Implementation of featuer request [ 1518678 ]: Optionally hide hidden files Index: FileControlModel.java =================================================================== RCS file: /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/model/FileControlModel.java,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** FileControlModel.java 25 Apr 2006 09:27:58 -0000 1.56 --- FileControlModel.java 9 Jul 2006 12:41:06 -0000 1.57 *************** *** 249,270 **** // If the current folder has a valid parent (c:\ for example does // not have a valid parent) ! int startIndex = 1; ! ! if(currentParent.getParent() == null) { startIndex = 0; } ! this.contents = VfsManagerExtension.getChildren(currentParent); ! ! actualContents = new FileObject[contents.length + startIndex]; ! for (int i = 0; i < contents.length; i++) { ! actualContents[i + startIndex] = contents[i]; } ! ! if(startIndex > 0) { actualContents[0] = currentParent.getParent(); } ! return actualContents; } catch (FileSystemException ex) { --- 249,292 ---- // If the current folder has a valid parent (c:\ for example does // not have a valid parent) ! int startIndex = 1; ! ! if (currentParent.getParent() == null) { startIndex = 0; } ! this.contents = VfsManagerExtension.getChildren(currentParent); ! ! if (FilePanelPlugin.getDefault().getPreferenceStore().getBoolean( ! FilePanelPlugin.HIDE_HIDDEN_FILES)) { ! FileObject[] tempList = new FileObject[contents.length]; ! int fileCount = 0; ! for (int i = 0; i < contents.length; i++) { ! if ((!contents[i].isHidden()) ! && (!contents[i].getName().getBaseName() ! .startsWith("."))) { ! tempList[fileCount] = contents[i]; ! fileCount++; ! } ! } ! ! actualContents = new FileObject[fileCount + startIndex]; ! ! for (int i = 0; i < fileCount; i++) { ! actualContents[i + startIndex] = tempList[i]; ! } ! ! } else { ! ! actualContents = new FileObject[contents.length + startIndex]; ! for (int i = 0; i < contents.length; i++) { ! actualContents[i + startIndex] = contents[i]; ! } } ! ! if (startIndex > 0) { actualContents[0] = currentParent.getParent(); } ! return actualContents; } catch (FileSystemException ex) { |