Compare commits

..

5 Commits

Author SHA1 Message Date
nrousseau
aec9ebb198 merge r94958 from trunk to branch 5.2
TDI-23640 : change the original fix, since it disabled the CTRL+SHIFT+F3


git-svn-id: http://talendforge.org/svn/tos/branches/branch-5_2@94986 f6f1c999-d317-4740-80b0-e6d1abc6f99e
2012-12-07 09:27:40 +00:00
nrousseau
47723aa25d merge r94879 from trunk to branch 5.2
TDI-24053 fixed: avoid to set several times the same metadata for nothing, which can reset the current metadata setup before. fix one problem as well for the size of shell, each time reopen the tRowGenerator, the dialog becomes smaller and smaller...


git-svn-id: http://talendforge.org/svn/tos/branches/branch-5_2@94912 f6f1c999-d317-4740-80b0-e6d1abc6f99e
2012-12-06 09:21:41 +00:00
wliu
a5b7d15181 fix bug TDI-24011 : merge trunk to branch5.2
https://jira.talendforge.org/browse/TDI-24011

git-svn-id: http://talendforge.org/svn/tos/branches/branch-5_2@94868 f6f1c999-d317-4740-80b0-e6d1abc6f99e
2012-12-05 12:04:30 +00:00
zwzhao
d81aa7b53a merge r94854 from trunk to branch 5.2
bug TDI-24023 fixed : Command line publish hangs until GUI alert is confirmed


git-svn-id: http://talendforge.org/svn/tos/branches/branch-5_2@94859 f6f1c999-d317-4740-80b0-e6d1abc6f99e
2012-12-05 10:21:25 +00:00
rdubois
3fbe0c6115 Add CDH3 and MapR1.2 support for Hive and CDH3 for HBase
git-svn-id: http://talendforge.org/svn/tos/branches/branch-5_2@94807 f6f1c999-d317-4740-80b0-e6d1abc6f99e
2012-12-04 14:32:36 +00:00
12377 changed files with 345663 additions and 158106 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1 +0,0 @@
jarprocessor.exclude.children=true

View File

@@ -1,4 +1,4 @@
source.. = src/
source.. = src/main/java/
output.. = class/
bin.includes = META-INF/,\
.,\

View File

@@ -46,6 +46,7 @@ ComponentProjectPreferencePage.Warning=Warnung
AbstractXMLConfigPage.VERSIONTip=Ein Dezimalwert zur Angabe der Version Ihrer neuen Komponente.
WizardJetFilesChoosePage.Directory=Verzeichnis:
CreateComponentWizard.NewComponent=Neue Komponente
WizardComponentFolderPage.Name=Name
RemoveResourceAction.Remove=Entfernen
WizardJetFilesChoosePage.UseIconFrom=Verwende Icon von:
ImportComponentDialog.ImportFinished=Import der Komponente abgeschlossen

View File

@@ -4,7 +4,7 @@ EditComponentActionProvider.Edit=Editer ce composant
ImportComponentDialog.ErrorMSG4=Aucun composant sélectionné pour l'import
ProjectSelectionDialog.SelectPath=Sélectionner le chemin du projet
AbstractXMLConfigPage.TYPETip=Type de données.
PushToPaletteActionProvider.Error2=ERROR
PushToPaletteActionProvider.Error2=Erreur
CopyFromPaletteActionProvider.Label2=Importer les composants de la Palette
AbstractXMLConfigPage.MAXOUTPUTTip=Entier. Nombre maximum de sorties pour cette connexion.
ImportComponentDialog.Browser=Parcourir...
@@ -18,7 +18,7 @@ CreateComponentWizard.SpecifyRes=Sp
AbstractXMLConfigPage.REPOSITORYVALUETip=Référentiel de Métadonnées à sélectionner.
PushToPaletteActionProvider.ErrorMSG=Le répertoire des composants utilisateur n'est pas défini.
AbstractXMLConfigPage.NUMROWTip=Entier. Position de ligne du paramètre dans la vue Composant
PushToPaletteActionProvider.Error=ERROR
PushToPaletteActionProvider.Error=Erreur
ComponentProjectManager.InternalErrorMsg=Erreur interne \: {(0)}
AbstractXMLConfigPage.IntValue=Entier
ImportComponentDialog.ImportCanceled=Import des composants annulé

View File

@@ -19,21 +19,16 @@ WizardComponentFolderPage.ErrMSG1=Nije ozna\u010Den jezik za komponentu
CreateComponentWizard.FillIn=Popuni svojstva komponente
ComponentProjectPreferencePage.Warning=Upozorenje
AbstractXMLConfigPage.VERSIONTip=Decimalna vrijednost koja ozna\u010Dava verziju va\u0161e nove komponente.
WizardJetFilesChoosePage.Directory=Direktorij:
WizardComponentFolderPage.Name=Ime
RemoveResourceAction.Remove=Ukloni
WizardJetFilesChoosePage.UseIconFrom=Koristi ikonu iz:
AbstractXMLConfigPage.SetProperties=Postavi svojstva odabranog elementa.
AddResourceAction.AddLib=Dodaj biblioteke...
WizardComponentFolderPage.Perl=Perl
AbstractXMLConfigPage.NBLINESTip=Cjelobrojna vrijednost. Linije se prote\u017Eu od tog parametra unutar Component pogleda.
AbstractXMLConfigPage.MININPUTTip=Integer vrijednost. Najmanji broj ulaza za ovu vezu.
WizardJetFilesChoosePage.UseDefaultIcon=Koristi zadanu ikonu
WizardComponentFolderPage.LongName=Duga\u010Dko ime (mouseover tooltip)
CopyComponentActionProvider.CopyComponent=Kopiraj tu komponentu
AddExternalResourceAction.ErrorMsg=Ozna\u010Dena vanjska arhiva nije dostupna ili ne postoji.
CopyFromPaletteActionProvider.Label=Kopiraj komponentu iz izbornika Palette
WizardJetFilesChoosePage.ChoseAIcon=Odaberi ikonu
AbstractXMLConfigPage.LINESTYLETip=Cjelobrojna vrijednost'. Stil spojne linije (1. Puna, 2: Crtkana, 3: To\u010Dka, 4: Crta-To\u010Dka)
ComponentProjectPreferencePage.ButtonLabel0=U redu
CreateComponentWizard.MainProperties=Glavna svojstva

View File

@@ -3,11 +3,6 @@ PushToPaletteActionProvider.Error=Fout
NewActionProvider.New=Nieuw
NewActionProvider.NewComponent=Nieuw Component
AbstractXMLConfigPage.Delete=Verwijderen
WizardJetFilesChoosePage.Directory=Directory:
CreateComponentWizard.NewComponent=Nieuw Component
WizardComponentFolderPage.Name=Naam
WizardComponentFolderPage.Perl=Perl
WizardJetFilesChoosePage.UseDefaultIcon=Gebruik default icon
WizardJetFilesChoosePage.ChoseAIcon=Kies een icon
AbstractXMLConfigPage.New=Nieuw
WizardComponentFolderPage.Java=Java

View File

@@ -1,108 +0,0 @@
AbstractXMLConfigPage.BooleanTip=Boolean value (true or false).
AbstractXMLConfigPage.COLORTip=Hex value of RGB. For example\: "00FF00"
AbstractXMLConfigPage.CTYPETip=Connector type.
AbstractXMLConfigPage.Delete=Delete
AbstractXMLConfigPage.EXTENSIONTip=String value of plugin name. This option is for external componet.
AbstractXMLConfigPage.IntValue=Integer value.
AbstractXMLConfigPage.LINESTYLETip=Integer value. Line style of the connetion. (1\: Solid Line, 2\: Dash Line, 3\: Dot Line, 4\: Dashdot Line)
AbstractXMLConfigPage.MAXINPUTTip=Integer value. Maximum input connection for this connection
AbstractXMLConfigPage.MAXOUTPUTTip=Integer value. Maximum output connection for this connection
AbstractXMLConfigPage.MININPUTTip=Integer value. Minimum input connection for this connection
AbstractXMLConfigPage.MINOUTPUTTip=Integer value. Minimum output connection for this connection
AbstractXMLConfigPage.NBLINESTip=Integer value. Lines spans of this parameter in the component's properties view
AbstractXMLConfigPage.NUMROWTip=Integer value. Row position of this parameter in the component's properties view
AbstractXMLConfigPage.New=New
AbstractXMLConfigPage.REPOSITORYVALUETip=Metadata repository to select.
AbstractXMLConfigPage.SetProperties=Set the properties for selected element.
AbstractXMLConfigPage.TYPETip=Data type.
AbstractXMLConfigPage.VERSIONTip=A decimal value to indicate the version of your new component.
AddExternalResourceAction.AddELibs=Add External Libraries...
AddExternalResourceAction.ErrorMsg=The selected external archive is unavailable or does not exist.
AddExternalResourceAction.ErrorTitle=External Archive Error
AddExternalResourceAction.JarSelection=Jar Selection
AddResourceAction.AddLib=Add Libraries...
AddResourceAction.ChooseResource=&Choose jars and zips to add\:
AddResourceAction.JARSecection=JAR Selection
ComponentProjectManager.CreationProblems=Creation Problems
ComponentProjectManager.InternalErrorMsg=Internal error\: {0}
ComponentProjectManager.NewProject=New Component Project
ComponentProjectManager.WarningMsg=The underlying file system is case insensitive. There is an existing project which conflicts with {0}
ComponentProjectPreferencePage.ButtonLabel0=Ok
ComponentProjectPreferencePage.ChooseProject=Choose a project folder for this component designer
ComponentProjectPreferencePage.ComponentProject=Component Project\:
ComponentProjectPreferencePage.SelectPath=Select Component Project Path
ComponentProjectPreferencePage.Warning=Warning
ComponentProjectPreferencePage.WarningMSG=Warning, this modification will only impact Component Designer, not the Palette.
CopyComponentActionProvider.CopyComponent=Copy This Component
CopyComponentActionProvider.CopyComponent2=Copy Component
CopyComponentActionProvider.InputName=Input a new component name for
CopyComponentValidator.ComponentExist=The component has been exsit
CopyFromPaletteActionProvider.Label=Copy Components from Palette
CopyFromPaletteActionProvider.Label2=Import components from palette
CreateComponentWizard.CreateXMLJava=Create the XML configuration file for JAVA Component
CreateComponentWizard.CreateXMLPerl=Create the XML configuration file for PERL Component
CreateComponentWizard.FillIn=Fill in component properties
CreateComponentWizard.MainProperties=Main Properties
CreateComponentWizard.NewComponent=New Component
CreateComponentWizard.SpecifyRes=Specify resources
EditComponentActionProvider.Edit=Edit This Component
EditComponentActionProvider.GroupEdit=group.edit
FileCopy.ExceptionMSG=The source File "
ImportComponentDialog.Browser=Browser..
ImportComponentDialog.ChooseComponentsLabel=Choose components to import\:
ImportComponentDialog.ErrorMSG4=No component was selected for importing.
ImportComponentDialog.Filter=Filter\:
ImportComponentDialog.ImportCanceled=Import Components Canceled
ImportComponentDialog.ImportCanceledMSG=Task import components from palette was canceled.
ImportComponentDialog.ImportFinished=Import Components Finished
ImportComponentDialog.ImportFinishedMSG=Components imported successfully.
ImportComponentDialog.NoComponentsAvailable=No Components available.
ImportComponentDialog.SelectDirectoryLabel=Select a directory\:
ImportComponentDialog.ShowPaletteComponents=Show Palette Components
ImportComponentDialog.WarningMSG=This operation will overwrite the existing components in workspace. Do you really want to import the selected components?
ImportComponentDialog.WarningTitle=Warning
NewActionProvider.New=New
NewActionProvider.NewComponent=New Component
PluginConstant.Borwser=Browser..
ProjectSelectionDialog.ChooseFolder=Choose a project folder for this session
ProjectSelectionDialog.ComponentProject=Component Project\:
ProjectSelectionDialog.SelectPath=Select Project Path
PushToPaletteActionProvider.Error=Error
PushToPaletteActionProvider.Error2=Error
PushToPaletteActionProvider.ErrorMSG=User component folder is not set.
PushToPaletteActionProvider.ErrorMSG2=User component folder doesn't exist.
PushToPaletteActionProvider.Information=Informaton
PushToPaletteActionProvider.InformationMSG=Components have been published. The palette is going to be refreshed.
PushToPaletteActionProvider.OK=OK
PushToPaletteActionProvider.OK2=OK
PushToPaletteActionProvider.OK3=OK
PushToPaletteActionProvider.PushComponentsToPalette=Push Components to Palette
PushToPaletteActionProvider.PushToPaletteActionProvider.failed=Push components to palette failed for these invalid XML files.\n
PushToPaletteActionProvider.PushToPaletteActionProvider.result=Validation result
RemoveResourceAction.Remove=Remove
ValidateComponentXMLActionProvider.error=\n\tThere is an Error on line {0}
ValidateComponentXMLActionProvider.fatalerror=\n\tThere is a Fatal Error on line {0}
ValidateComponentXMLActionProvider.invalid=Invalid component XML file\:\n
ValidateComponentXMLActionProvider.ok=OK
ValidateComponentXMLActionProvider.result=Validation result
ValidateComponentXMLActionProvider.valid=Component XML file is valid\!
ValidateComponentXMLActionProvider.validate=Validate Component XML
ValidateComponentXMLActionProvider.warning=\n\tThere is a Warning on line {0}
WizardComponentFolderPage.Available=Available in
WizardComponentFolderPage.ErrMSG1=The component language have not been selected
WizardComponentFolderPage.ErrMSG2=The component Name is empty
WizardComponentFolderPage.ErrMSG3=This component already exists
WizardComponentFolderPage.ErrMSG4=The component Long Name is empty
WizardComponentFolderPage.ErrMSG5=The component Family is empty
WizardComponentFolderPage.Family=Family
WizardComponentFolderPage.Java=Java
WizardComponentFolderPage.LongName=Long Name (mouseover tooltip)
WizardComponentFolderPage.Name=Name
WizardComponentFolderPage.Perl=Perl
WizardJetFilesChoosePage.BeginFile=Begin File
WizardJetFilesChoosePage.ChoseAIcon=Chose an icon
WizardJetFilesChoosePage.Directory=Directory\:
WizardJetFilesChoosePage.EndFile=End File
WizardJetFilesChoosePage.MainFile=Main File
WizardJetFilesChoosePage.UseDefaultIcon=Use default icon
WizardJetFilesChoosePage.UseIconFrom=Use icon from\:

View File

@@ -0,0 +1,87 @@
FileCopy.ExceptionMSG=\u6E90\u6587\u4EF6"
EditComponentActionProvider.Edit=\u7F16\u8F91\u7EC4\u4EF6
ImportComponentDialog.ErrorMSG4=\u6CA1\u6709\u9009\u62E9\u7EC4\u4EF6\u5BFC\u5165
AbstractXMLConfigPage.TYPETip=%u8CC7%u6599%u578B%u614B.
PushToPaletteActionProvider.Error2=\u9519\u8BEF
CopyFromPaletteActionProvider.Label2=\u4ECEpalette\u5BFC\u5165\u7EC4\u4EF6
AbstractXMLConfigPage.MAXOUTPUTTip=\u6574\u6570\u503C.\u8FDE\u63A5\u6700\u5927\u503C\u8F93\u51FA
ImportComponentDialog.Browser=\u6D4F\u89C8..
ComponentProjectPreferencePage.WarningMSG=\u8B66\u544A,\u8FD9\u79CD\u4FEE\u6539\u4EC5\u4EC5\u5F71\u54CD\u7EC4\u4EF6\u8BBE\u8BA1\u5668\uFF0C\u4E0D\u5F71\u54CDPalette.
AbstractXMLConfigPage.MAXINPUTTip=\u6574\u6570\u503C.\u8FDE\u63A5\u6700\u5927\u503C\u8F93\u5165.
PushToPaletteActionProvider.ErrorMSG2=\u7528\u6237\u7EC4\u4EF6\u6587\u4EF6\u5939\u4E0D\u5B58\u5728\u3002
ComponentProjectManager.CreationProblems=\u95ee\u9898\u521b\u5efa
CopyComponentActionProvider.InputName=\u8F93\u5165\u65B0\u7684\u7EC4\u4EF6\u540D
CreateComponentWizard.SpecifyRes=\u6307\u5B9A\u8D44\u6E90
AbstractXMLConfigPage.REPOSITORYVALUETip=%u9078%u64C7 Metadata %u5132%u85CF%u5EAB.
PushToPaletteActionProvider.ErrorMSG=\u7528\u6237\u7EC4\u4EF6\u6587\u4EF6\u5939\u672A\u8BBE\u7F6E\u3002
AbstractXMLConfigPage.NUMROWTip=\u6574\u6570\u503C.\u6B64\u53C2\u6570\u5217\u4F4D\u7F6E\u5728\u7EC4\u4EF6\u89C6\u56FE
PushToPaletteActionProvider.Error=\u9519\u8BEF
ComponentProjectManager.InternalErrorMsg=\u5185\u90E8\u9519\u8BEF\uFF1A{0}
AbstractXMLConfigPage.IntValue=%u6574%u6578%u503C
ImportComponentDialog.ImportCanceled=\u5BFC\u5165\u7EC4\u4EF6\u5DF2\u53D6\u6D88
PushToPaletteActionProvider.OK=\u786E\u5B9A
WizardJetFilesChoosePage.BeginFile=\u5F00\u59CB\u6587\u4EF6
AbstractXMLConfigPage.COLORTip=RGB\u5341\u516D\u8FDB\u5236.\u4F8B\u5982:"00FF00"
CreateComponentWizard.CreateXMLPerl=\u521B\u5EFAPERL\u7EC4\u4EF6\u7684XML\u914D\u7F6E\u6587\u4EF6
ImportComponentDialog.SelectDirectoryLabel=\u9009\u62E9\u4E00\u4E2A\u8DEF\u5F84\uFF1A
PushToPaletteActionProvider.Information=\u4FE1\u606F
PluginConstant.Borwser=\u6D4F\u89C8..
NewActionProvider.New=\u65b0
AbstractXMLConfigPage.EXTENSIONTip=\u63D2\u4EF6\u540D\u79F0\u5B57\u7B26\u4E32\u503C.\u6B64\u9009\u9879\u7528\u4E8E\u5916\u90E8\u7EC4\u4EF6.
ImportComponentDialog.ShowPaletteComponents=\u663E\u793A\u7EC4\u4EF6\u8C03\u8272\u677F
ComponentProjectPreferencePage.ChooseProject=\u9009\u62E9\u7EC4\u4EF6\u8BBE\u8BA1\u5DE5\u7A0B\u6587\u4EF6\u5939
WizardComponentFolderPage.ErrMSG5=\u7EC4\u4EF6\u65CF\u65E0\u5185\u5BB9
AbstractXMLConfigPage.BooleanTip=Boolean\u503C(\u771F\u6216\u5047).
AbstractXMLConfigPage.Delete=\u5220\u9664
WizardComponentFolderPage.ErrMSG3=\u7EC4\u4EF6\u5DF2\u5B58\u5728
WizardComponentFolderPage.ErrMSG2=\u7EC4\u4EF6\u540D\u4E3A\u7A7A
WizardComponentFolderPage.ErrMSG1=\u6CA1\u6709\u9009\u62E9\u7EC4\u4EF6\u7684\u8BED\u8A00
CreateComponentWizard.FillIn=\u586B\u5199\u7EC4\u4EF6\u5C5E\u6027
ImportComponentDialog.ImportCanceledMSG=\u5DF2\u53D6\u6D88\u4ECEPalette\u4E0A\u5BFC\u5165\u7EC4\u4EF6
ComponentProjectPreferencePage.Warning=\u8B66\u544A
AbstractXMLConfigPage.VERSIONTip=%u8ACB%u7528%u4E00%u500B%u5341%u9032%u4F4D%u6578%u503C%u4F86%u6A19%u8A18%u60A8%u7684%u65B0%u5143%u4EF6%u7248%u672C.
WizardJetFilesChoosePage.Directory=\u76EE\u5F55
WizardComponentFolderPage.Name=\u8fde\u63a5\u540d
RemoveResourceAction.Remove=\u5220\u9664
WizardJetFilesChoosePage.UseIconFrom=\u9009\u62E9\u56FE\u6807\uFF1A
ImportComponentDialog.ImportFinished=\u5BFC\u5165\u7EC4\u4EF6\u5B8C\u6210
AbstractXMLConfigPage.SetProperties=\u8BBE\u7F6E\u9009\u62E9\u5143\u7D20\u5C5E\u6027
ProjectSelectionDialog.ChooseFolder=\u5728\u6B64\u4F1A\u8BDD\u4E2D\u9009\u62E9\u4E00\u4E2A\u5DE5\u7A0B\u6587\u4EF6\u5939
ComponentProjectPreferencePage.ComponentProject=\u7EC4\u4EF6\u5DE5\u7A0B
ImportComponentDialog.ImportFinishedMSG=\u7EC4\u4EF6\u5BFC\u5165\u6210\u529F
AddExternalResourceAction.ErrorTitle=\u5916\u90E8\u6863\u6848\u9519\u8BEF
AbstractXMLConfigPage.MININPUTTip=\u6574\u6570\u503C.\u8FDE\u63A5\u6700\u5C0F\u503C\u8F93\u51FA
WizardJetFilesChoosePage.MainFile=\u4E3B\u6587\u4EF6
CreateComponentWizard.CreateXMLJava=\u521B\u5EFAJava\u7EC4\u4EF6\u7684XML\u914D\u7F6E\u6587\u4EF6
WizardJetFilesChoosePage.UseDefaultIcon=\u4F7F\u7528\u9ED8\u8BA4\u7684\u56FE\u6807
CopyComponentActionProvider.CopyComponent=\u590D\u5236\u8FD9\u4E2A\u7EC4\u4EF6
ImportComponentDialog.ChooseComponentsLabel=\u9009\u62E9\u8981\u5BFC\u5165\u7684\u7EC4\u4EF6\uFF1A
AddExternalResourceAction.ErrorMsg=\u9009\u5B9A\u7684\u5916\u90E8\u6863\u6848\u662F\u4E0D\u53EF\u7528\u6216\u4E0D\u5B58\u5728.
ComponentProjectManager.NewProject=\u65B0\u7EC4\u4EF6\u9879\u76EE
CopyFromPaletteActionProvider.Label=\u4ECEPalette\u590D\u5236\u7EC4\u4EF6
WizardJetFilesChoosePage.ChoseAIcon=\u9009\u62E9\u6309\u94AE
ComponentProjectPreferencePage.SelectPath=\u9009\u62E9\u7EC4\u4EF6\u5DE5\u7A0B\u8DEF\u5F84
AbstractXMLConfigPage.LINESTYLETip=\u6574\u6570\u503C.\u8FDE\u63A5\u7EBF\u98CE\u683C(1: Solid, 2: Dash, 3: Dot, 4: Dashdot)
WizardJetFilesChoosePage.EndFile=\u7ED3\u675F\u6587\u4EF6
PushToPaletteActionProvider.InformationMSG=\u7EC4\u4EF6\u5DF2\u53D1\u5E03\uFF0Cpalette\u5C06\u5237\u65B0\u3002
ProjectSelectionDialog.ComponentProject=\u7EC4\u4EF6\u5DE5\u7A0B
ComponentProjectPreferencePage.ButtonLabel0=\u786E\u5B9A
AbstractXMLConfigPage.New=\u65b0
CopyComponentValidator.ComponentExist=\u6B64\u7EC4\u4EF6\u5DF2\u5B58\u5728
ImportComponentDialog.WarningMSG=\u64CD\u4F5C\u5C06\u8986\u76D6\u5DE5\u4F5C\u533A\u5DF2\u5B58\u5728\u7684\u7EC4\u4EF6\u3002\u60A8\u771F\u7684\u8981\u5BFC\u5165\u5DF2\u9009\u62E9\u7684\u7EC4\u4EF6\u5417\uFF1F
CreateComponentWizard.MainProperties=\u4E3B\u8981\u5C5E\u6027
ComponentProjectManager.WarningMsg=\u5E95\u5C42\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u533A\u5206\u5927\u5C0F\u5199\u3002\u5DF2\u7ECF\u5B58\u5728\u4E00\u4E2A\u9879\u76EE\u4E0E{0}\u51B2\u7A81
WizardComponentFolderPage.Family=\u65cf
PushToPaletteActionProvider.OK3=\u786E\u5B9A
PushToPaletteActionProvider.OK2=\u786E\u5B9A
CopyComponentActionProvider.CopyComponent2=\u590D\u5236\u7EC4\u4EF6
AbstractXMLConfigPage.CTYPETip=\u8FDE\u7ED3\u5668\u7C7B\u578B
AddResourceAction.ChooseResource=&\u9009\u62E9\u6DFB\u52A0jars\u548Czips:
ImportComponentDialog.WarningTitle=\u8B66\u544A
AddExternalResourceAction.AddELibs=\u6DFB\u52A0\u5916\u90E8\u5E93...
ImportComponentDialog.NoComponentsAvailable=\u6CA1\u6709\u53EF\u7528\u7684\u7EC4\u4EF6
AbstractXMLConfigPage.MINOUTPUTTip=\u6574\u6570\u503C\u3002\u8FDE\u63A5\u6700\u5C0F\u503C\u8F93\u51FA
ValidateComponentXMLActionProvider.ok=\u786E\u8BA4
ValidateComponentXMLActionProvider.result=\u9A8C\u8BC1\u7ED3\u679C
ValidateComponentXMLActionProvider.valid=\u7EC4\u4EF6XML\u6587\u4EF6\u5408\u6CD5\uFF01
ValidateComponentXMLActionProvider.validate=\u9A8C\u8BC1\u7EC4\u4EF6XML\u6587\u4EF6

View File

@@ -1,88 +0,0 @@
FileCopy.ExceptionMSG=\u6E90\u6587\u4EF6"
EditComponentActionProvider.Edit=\u7F16\u8F91\u7EC4\u4EF6
ImportComponentDialog.ErrorMSG4=\u6CA1\u6709\u9009\u62E9\u7EC4\u4EF6\u5BFC\u5165
AbstractXMLConfigPage.TYPETip=%u8CC7%u6599%u578B%u614B.
PushToPaletteActionProvider.Error2=\u9519\u8BEF
CopyFromPaletteActionProvider.Label2=\u4ECEpalette\u5BFC\u5165\u7EC4\u4EF6
AbstractXMLConfigPage.MAXOUTPUTTip=\u6574\u6570\u503C.\u8FDE\u63A5\u6700\u5927\u503C\u8F93\u51FA
ImportComponentDialog.Browser=\u6D4F\u89C8..
ComponentProjectPreferencePage.WarningMSG=\u8B66\u544A,\u8FD9\u79CD\u4FEE\u6539\u4EC5\u4EC5\u5F71\u54CD\u7EC4\u4EF6\u8BBE\u8BA1\u5668\uFF0C\u4E0D\u5F71\u54CDPalette.
AbstractXMLConfigPage.MAXINPUTTip=\u6574\u6570\u503C.\u8FDE\u63A5\u6700\u5927\u503C\u8F93\u5165.
PushToPaletteActionProvider.ErrorMSG2=\u7528\u6237\u7EC4\u4EF6\u6587\u4EF6\u5939\u4E0D\u5B58\u5728\u3002
ComponentProjectManager.CreationProblems=\u95ee\u9898\u521b\u5efa
CopyComponentActionProvider.InputName=\u8F93\u5165\u65B0\u7684\u7EC4\u4EF6\u540D
CreateComponentWizard.SpecifyRes=\u6307\u5B9A\u8D44\u6E90
AbstractXMLConfigPage.REPOSITORYVALUETip=%u9078%u64C7 Metadata %u5132%u85CF%u5EAB.
PushToPaletteActionProvider.ErrorMSG=\u7528\u6237\u7EC4\u4EF6\u6587\u4EF6\u5939\u672A\u8BBE\u7F6E\u3002
AbstractXMLConfigPage.NUMROWTip=\u6574\u6570\u503C.\u6B64\u53C2\u6570\u5217\u4F4D\u7F6E\u5728\u7EC4\u4EF6\u89C6\u56FE
PushToPaletteActionProvider.Error=\u9519\u8BEF
ComponentProjectManager.InternalErrorMsg=\u5185\u90E8\u9519\u8BEF\uFF1A{0}
AbstractXMLConfigPage.IntValue=%u6574%u6578%u503C
ImportComponentDialog.ImportCanceled=\u5BFC\u5165\u7EC4\u4EF6\u5DF2\u53D6\u6D88
PushToPaletteActionProvider.OK=\u786E\u5B9A
WizardJetFilesChoosePage.BeginFile=\u5F00\u59CB\u6587\u4EF6
AbstractXMLConfigPage.COLORTip=RGB\u5341\u516D\u8FDB\u5236.\u4F8B\u5982:"00FF00"
CreateComponentWizard.CreateXMLPerl=\u521B\u5EFAPERL\u7EC4\u4EF6\u7684XML\u914D\u7F6E\u6587\u4EF6
ImportComponentDialog.SelectDirectoryLabel=\u9009\u62E9\u4E00\u4E2A\u8DEF\u5F84\uFF1A
PushToPaletteActionProvider.Information=\u4FE1\u606F
PluginConstant.Borwser=\u6D4F\u89C8..
NewActionProvider.New=\u65b0
AbstractXMLConfigPage.EXTENSIONTip=\u63D2\u4EF6\u540D\u79F0\u5B57\u7B26\u4E32\u503C.\u6B64\u9009\u9879\u7528\u4E8E\u5916\u90E8\u7EC4\u4EF6.
ImportComponentDialog.ShowPaletteComponents=\u663E\u793A\u7EC4\u4EF6\u8C03\u8272\u677F
ComponentProjectPreferencePage.ChooseProject=\u9009\u62E9\u7EC4\u4EF6\u8BBE\u8BA1\u5DE5\u7A0B\u6587\u4EF6\u5939
WizardComponentFolderPage.ErrMSG5=\u7EC4\u4EF6\u65CF\u65E0\u5185\u5BB9
AbstractXMLConfigPage.BooleanTip=Boolean\u503C(\u771F\u6216\u5047).
AbstractXMLConfigPage.Delete=\u5220\u9664
WizardComponentFolderPage.ErrMSG3=\u7EC4\u4EF6\u5DF2\u5B58\u5728
WizardComponentFolderPage.ErrMSG2=\u7EC4\u4EF6\u540D\u4E3A\u7A7A
WizardComponentFolderPage.ErrMSG1=\u6CA1\u6709\u9009\u62E9\u7EC4\u4EF6\u7684\u8BED\u8A00
CreateComponentWizard.FillIn=\u586B\u5199\u7EC4\u4EF6\u5C5E\u6027
ImportComponentDialog.ImportCanceledMSG=\u5DF2\u53D6\u6D88\u4ECEPalette\u4E0A\u5BFC\u5165\u7EC4\u4EF6
ComponentProjectPreferencePage.Warning=\u8B66\u544A
AbstractXMLConfigPage.VERSIONTip=%u8ACB%u7528%u4E00%u500B%u5341%u9032%u4F4D%u6578%u503C%u4F86%u6A19%u8A18%u60A8%u7684%u65B0%u5143%u4EF6%u7248%u672C.
WizardJetFilesChoosePage.Directory=\u76EE\u5F55
WizardComponentFolderPage.Name=\u8fde\u63a5\u540d
RemoveResourceAction.Remove=\u5220\u9664
WizardJetFilesChoosePage.UseIconFrom=\u9009\u62E9\u56FE\u6807\uFF1A
ImportComponentDialog.ImportFinished=\u5BFC\u5165\u7EC4\u4EF6\u5B8C\u6210
AbstractXMLConfigPage.SetProperties=\u8BBE\u7F6E\u9009\u62E9\u5143\u7D20\u5C5E\u6027
ProjectSelectionDialog.ChooseFolder=\u5728\u6B64\u4F1A\u8BDD\u4E2D\u9009\u62E9\u4E00\u4E2A\u5DE5\u7A0B\u6587\u4EF6\u5939
ComponentProjectPreferencePage.ComponentProject=\u7EC4\u4EF6\u5DE5\u7A0B
ImportComponentDialog.ImportFinishedMSG=\u7EC4\u4EF6\u5BFC\u5165\u6210\u529F
AddExternalResourceAction.ErrorTitle=\u5916\u90E8\u6863\u6848\u9519\u8BEF
AbstractXMLConfigPage.MININPUTTip=\u6574\u6570\u503C.\u8FDE\u63A5\u6700\u5C0F\u503C\u8F93\u51FA
WizardJetFilesChoosePage.MainFile=\u4E3B\u6587\u4EF6
CreateComponentWizard.CreateXMLJava=\u521B\u5EFAJava\u7EC4\u4EF6\u7684XML\u914D\u7F6E\u6587\u4EF6
WizardJetFilesChoosePage.UseDefaultIcon=\u4F7F\u7528\u9ED8\u8BA4\u7684\u56FE\u6807
CopyComponentActionProvider.CopyComponent=\u590D\u5236\u8FD9\u4E2A\u7EC4\u4EF6
ImportComponentDialog.ChooseComponentsLabel=\u9009\u62E9\u8981\u5BFC\u5165\u7684\u7EC4\u4EF6\uFF1A
AddExternalResourceAction.ErrorMsg=\u9009\u5B9A\u7684\u5916\u90E8\u6863\u6848\u662F\u4E0D\u53EF\u7528\u6216\u4E0D\u5B58\u5728.
ComponentProjectManager.NewProject=\u65B0\u7EC4\u4EF6\u9879\u76EE
CopyFromPaletteActionProvider.Label=\u4ECEPalette\u590D\u5236\u7EC4\u4EF6
WizardJetFilesChoosePage.ChoseAIcon=\u9009\u62E9\u6309\u94AE
ComponentProjectPreferencePage.SelectPath=\u9009\u62E9\u7EC4\u4EF6\u5DE5\u7A0B\u8DEF\u5F84
AbstractXMLConfigPage.LINESTYLETip=\u6574\u6570\u503C.\u8FDE\u63A5\u7EBF\u98CE\u683C(1: Solid, 2: Dash, 3: Dot, 4: Dashdot)
WizardJetFilesChoosePage.EndFile=\u7ED3\u675F\u6587\u4EF6
PushToPaletteActionProvider.InformationMSG=\u7EC4\u4EF6\u5DF2\u53D1\u5E03\uFF0Cpalette\u5C06\u5237\u65B0\u3002
ProjectSelectionDialog.ComponentProject=\u7EC4\u4EF6\u5DE5\u7A0B
ComponentProjectPreferencePage.ButtonLabel0=\u786E\u5B9A
AbstractXMLConfigPage.New=\u65b0
CopyComponentValidator.ComponentExist=\u6B64\u7EC4\u4EF6\u5DF2\u5B58\u5728
ImportComponentDialog.WarningMSG=\u64CD\u4F5C\u5C06\u8986\u76D6\u5DE5\u4F5C\u533A\u5DF2\u5B58\u5728\u7684\u7EC4\u4EF6\u3002\u60A8\u771F\u7684\u8981\u5BFC\u5165\u5DF2\u9009\u62E9\u7684\u7EC4\u4EF6\u5417\uFF1F
CreateComponentWizard.MainProperties=\u4E3B\u8981\u5C5E\u6027
ComponentProjectManager.WarningMsg=\u5E95\u5C42\u6587\u4EF6\u7CFB\u7EDF\u4E0D\u533A\u5206\u5927\u5C0F\u5199\u3002\u5DF2\u7ECF\u5B58\u5728\u4E00\u4E2A\u9879\u76EE\u4E0E{0}\u51B2\u7A81
WizardComponentFolderPage.Family=\u65cf
PushToPaletteActionProvider.OK3=\u786E\u5B9A
PushToPaletteActionProvider.OK2=\u786E\u5B9A
CopyComponentActionProvider.CopyComponent2=\u590D\u5236\u7EC4\u4EF6
AbstractXMLConfigPage.CTYPETip=\u8FDE\u7ED3\u5668\u7C7B\u578B
AddResourceAction.ChooseResource=&\u9009\u62E9\u6DFB\u52A0jars\u548Czips:
ImportComponentDialog.WarningTitle=\u8B66\u544A
AddExternalResourceAction.AddELibs=\u6DFB\u52A0\u5916\u90E8\u5E93...
ImportComponentDialog.NoComponentsAvailable=\u6CA1\u6709\u53EF\u7528\u7684\u7EC4\u4EF6
AbstractXMLConfigPage.MINOUTPUTTip=\u6574\u6570\u503C\u3002\u8FDE\u63A5\u6700\u5C0F\u503C\u8F93\u51FA
ValidateComponentXMLActionProvider.ok=\u786E\u8BA4
ValidateComponentXMLActionProvider.result=\u9A8C\u8BC1\u7ED3\u679C
ValidateComponentXMLActionProvider.valid=\u7EC4\u4EF6XML\u6587\u4EF6\u5408\u6CD5\uFF01
ValidateComponentXMLActionProvider.validate=\u9A8C\u8BC1\u7EC4\u4EF6XML\u6587\u4EF6
PushToPaletteActionProvider.PushToPaletteActionProvider.result=\u9A8C\u8BC1\u7ED3\u679C

View File

@@ -1 +0,0 @@
jarprocessor.exclude.children=true

View File

@@ -1,6 +0,0 @@
ApplicationActionBarAdvisor.fileMenu=&File
ApplicationActionBarAdvisor.helpMenu=&Help
ApplicationActionBarAdvisor.windowMenu=&Window
ApplicationWorkbenchWindowAdvisor.rcpApp=RCP Application
FileWizard.0=File Wizard
ShowViewAction.actionLabel=Show view...

View File

@@ -0,0 +1,7 @@
FileWizard.0=\u6587\u4EF6\u5411\u5BFC
\n
ApplicationActionBarAdvisor.helpMenu=\u5E2E\u52A9(&H)
ApplicationActionBarAdvisor.fileMenu=\u6587\u4EF6(&F)
ShowViewAction.actionLabel=\u663E\u793A\u89C6\u56FE...(&v)
ApplicationActionBarAdvisor.windowMenu=\u7A97\u53E3(&W)
ApplicationWorkbenchWindowAdvisor.rcpApp=RCP\u5E94\u7528\u7A0B\u5E8F

View File

@@ -1,6 +0,0 @@
FileWizard.0=\u6587\u4EF6\u5411\u5BFC
\n
ApplicationActionBarAdvisor.helpMenu=\u5E2E\u52A9(&H)
ApplicationActionBarAdvisor.fileMenu=\u6587\u4EF6(&F)
ShowViewAction.actionLabel=\u663E\u793A\u89C6\u56FE...(&v)
ApplicationActionBarAdvisor.windowMenu=\u7A97\u53E3(&W)

View File

@@ -1 +0,0 @@
jarprocessor.exclude.children=true

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

File diff suppressed because one or more lines are too long

View File

@@ -12,15 +12,14 @@ Require-Bundle: org.talend.model,
org.eclipse.ui.navigator,
org.talend.core.runtime,
org.talend.metadata.managment,
org.apache.log4j,
org.eclipse.jet.editor,
org.talend.core,
org.apache.log4j,
org.talend.libraries.dom4j-jaxen,
org.eclipse.jet.editor,
org.talend.designer.components.localprovider,
org.eclipse.jdt.core,
org.eclipse.xsd,
org.talend.datatools.xml,
org.apache.commons.lang;bundle-version="2.4.0",
org.talend.libraries.dom4j-jaxen
org.talend.commons,
org.talend.datatools.xml
Eclipse-LazyStart: true
Export-Package: org.talend.componentdesigner,
org.talend.componentdesigner.i18n,

View File

@@ -1 +0,0 @@
jarprocessor.exclude.children=true

View File

@@ -16,7 +16,7 @@
<extension point="org.eclipse.ui.perspectives">
<perspective class="org.talend.componentdesigner.ui.Perspective"
id="org.talend.componentdesigner.perspective"
name="Component Designer">
name="Component's Designer">
</perspective>
</extension>
<extension point="org.eclipse.ui.perspectiveExtensions">
@@ -99,7 +99,7 @@
<contentExtension
pattern="org.talend.componentdesigner.resourceContent" />
<contentExtension
pattern="org.talend.componentdesigner.ui.navigator.resources.filters.*" />
pattern="org.eclipse.ui.navigator.resources.filters.*" />
</includes>
</viewerContentBinding>
<viewerActionBinding
@@ -267,7 +267,7 @@
</filterExpression>
</commonFilter> -->
<commonFilter
id="org.talend.componentdesigner.ui.navigator.resources.filters.nonComponentProject"
id="org.eclipse.ui.navigator.resources.filters.nonComponentProject"
name="nonComponentProject" description="not the component project"
activeByDefault="true">
<filterExpression>

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
@@ -12,6 +12,10 @@
// ============================================================================
package org.talend.componentdesigner;
import java.io.IOException;
import java.util.Properties;
import org.apache.log4j.PropertyConfigurator;
import org.eclipse.core.resources.IProject;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.widgets.Shell;
@@ -42,10 +46,18 @@ public class ComponentDesigenerPlugin extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
Properties prop = new Properties();
try {
prop.load(ComponentDesigenerPlugin.class.getResourceAsStream("log4j.properties")); //$NON-NLS-1$
} catch (IOException e) {
// e.printStackTrace();
org.talend.componentdesigner.exception.ExceptionHandler.process(e);
}
PropertyConfigurator.configure(prop);
}
/*
@@ -53,7 +65,6 @@ public class ComponentDesigenerPlugin extends AbstractUIPlugin {
*
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
@Override
public void stop(BundleContext context) throws Exception {
plugin = null;
super.stop(context);

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -0,0 +1,47 @@
### direct log messages to stdout ###
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
### direct messages to file hibernate.log ###
#log4j.appender.file=org.apache.log4j.FileAppender
#log4j.appender.file.File=hibernate.log
#log4j.appender.file.layout=org.apache.log4j.PatternLayout
#log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
### set log levels - for more verbose logging change 'info' to 'debug' ###
log4j.rootLogger=warn, stdout
#log4j.logger.org.hibernate=info
log4j.logger.org.hibernate=debug
### log HQL query parser activity
#log4j.logger.org.hibernate.hql.ast.AST=debug
### log just the SQL
#log4j.logger.org.hibernate.SQL=debug
### log JDBC bind parameters ###
log4j.logger.org.hibernate.type=info
#log4j.logger.org.hibernate.type=debug
### log schema export/update ###
log4j.logger.org.hibernate.tool.hbm2ddl=debug
### log HQL parse trees
#log4j.logger.org.hibernate.hql=debug
### log cache activity ###
#log4j.logger.org.hibernate.cache=debug
### log transaction activity
#log4j.logger.org.hibernate.transaction=debug
### log JDBC resource acquisition
#log4j.logger.org.hibernate.jdbc=debug
### enable the following line if you want to track down connection ###
### leakages when using DriverManagerConnectionProvider ###
#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
@@ -260,6 +260,7 @@ public final class ComponentProjectManager {
addLibClasspathEntries(ces, "org.talend.metadata.managment"); //$NON-NLS-1$
addLibClasspathEntries(ces, "org.talend.core"); //$NON-NLS-1$
addLibClasspathEntries(ces, "org.talend.designer.codegen"); //$NON-NLS-1$
addLibClasspathEntries(ces, "org.talend.commons"); //$NON-NLS-1$
return ces;
}

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
@@ -34,9 +34,6 @@ import org.talend.componentdesigner.i18n.internal.Messages;
import org.talend.componentdesigner.util.XSDValidator;
import org.talend.componentdesigner.util.file.FileCopy;
import org.talend.core.CorePlugin;
import org.talend.core.model.components.IComponent;
import org.talend.core.model.components.IComponentsFactory;
import org.talend.repository.model.ComponentsFactoryProvider;
/**
* DOC slanglois class global comment. Detailled comment
@@ -52,7 +49,6 @@ public class PushToPaletteActionProvider extends CommonActionProvider {
*
* @see org.eclipse.ui.navigator.CommonActionProvider#init(org.eclipse.ui.navigator.ICommonActionExtensionSite)
*/
@Override
public void init(ICommonActionExtensionSite anExtensionSite) {
if (anExtensionSite.getViewSite() instanceof ICommonViewerWorkbenchSite) {
@@ -63,7 +59,6 @@ public class PushToPaletteActionProvider extends CommonActionProvider {
/**
* Adds a submenu to the given menu with the name "New Component".
*/
@Override
public void fillContextMenu(IMenuManager menu) {
menu.insertBefore("group.edit", copyProjectAction); //$NON-NLS-1$
// Object obj = ((TreeSelection) this.getContext().getSelection()).getFirstElement();// need to get all
@@ -91,10 +86,9 @@ public class PushToPaletteActionProvider extends CommonActionProvider {
/*
* (non-Javadoc) Method declared on IAction.
*/
@Override
public void run() {
String path = CorePlugin.getDefault().getComponentsLocalProviderService().getPreferenceStore()
.getString("USER_COMPONENTS_FOLDER"); //$NON-NLS-1$
String path = CorePlugin.getDefault().getComponentsLocalProviderService().getPreferenceStore().getString(
"USER_COMPONENTS_FOLDER"); //$NON-NLS-1$
if (path == null || path.length() == 0) {
new MessageDialog(
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
@@ -136,15 +130,6 @@ public class PushToPaletteActionProvider extends CommonActionProvider {
}
}
// add for bug TDI-26719, clear image cash from EmfComponent
IComponentsFactory components = ComponentsFactoryProvider.getInstance();
List<IComponent> comList = components.getCustomComponents();
for (IComponent com : comList) {
if (com.getImageRegistry() != null) {
com.getImageRegistry().clear();
}
}
MessageDialog warningMessageDialog = new MessageDialog(
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
Messages.getString("PushToPaletteActionProvider.Information"), null, Messages.getString("PushToPaletteActionProvider.InformationMSG"), MessageDialog.INFORMATION, //$NON-NLS-1$ //$NON-NLS-2$
@@ -162,8 +147,7 @@ public class PushToPaletteActionProvider extends CommonActionProvider {
MessageDialog warningMessageDialog = new MessageDialog(
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(),
Messages.getString("PushToPaletteActionProvider.PushToPaletteActionProvider.result"), null, waringInfo, //$NON-NLS-1$
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), Messages.getString("PushToPaletteActionProvider.PushToPaletteActionProvider.result"), null, waringInfo, //$NON-NLS-1$
MessageDialog.WARNING, new String[] { Messages.getString("PushToPaletteActionProvider.OK3") }, 0); //$NON-NLS-1$
warningMessageDialog.open();
@@ -178,7 +162,6 @@ public class PushToPaletteActionProvider extends CommonActionProvider {
// get the correct XML file for components
File[] list = componentFolder.listFiles(new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
// _java.xml
String javaXmlName = dir.getName() + "_java.xml"; //$NON-NLS-1$

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
@@ -12,15 +12,11 @@
// ============================================================================
package org.talend.componentdesigner.ui.preferencepage;
import java.io.File;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.preference.DirectoryFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.IWorkbench;
@@ -31,8 +27,8 @@ import org.talend.componentdesigner.i18n.internal.Messages;
/**
* This class represents a preference page that is contributed to the Preferences dialog. By subclassing
* <samp>FieldEditorPreferencePage</samp>, we can use the field support built into JFace that allows us to create a page
* that is small and knows how to save, restore and apply itself.
* <samp>FieldEditorPreferencePage</samp>, we can use the field support built into JFace that allows us to create a
* page that is small and knows how to save, restore and apply itself.
* <p>
* This page is used to modify preferences only. They are stored in the preference store that belongs to the main
* plug-in class. That way, preferences can be accessed directly via the preference store.
@@ -69,39 +65,23 @@ public class ComponentProjectPreferencePage extends FieldEditorPreferencePage im
GridData gd = new GridData();
gd.horizontalSpan = 3;
l.setLayoutData(gd);
filePathTemp = new DirectoryFieldEditor(PluginConstant.PROJECT_URL,
Messages.getString("ComponentProjectPreferencePage.ComponentProject"), //$NON-NLS-1$
filePathTemp = new DirectoryFieldEditor(PluginConstant.PROJECT_URL, Messages
.getString("ComponentProjectPreferencePage.ComponentProject"), //$NON-NLS-1$
getFieldEditorParent());
addField(filePathTemp);
// addModifyListener for the filePath text
filePathTemp.getTextControl(getFieldEditorParent()).addModifyListener(new ModifyListener() {
@Override
public void modifyText(ModifyEvent e) {
String newPath = filePathTemp.getTextControl(getFieldEditorParent()).getText();
File file = new File(newPath);
if (!file.exists() && !"".equals(newPath)) {
filePathTemp.showErrorMessage();
setValid(false);
} else {
setValid(true);
}
}
});
}
/*
* (non-Javadoc)
*
* @see
* org.eclipse.jface.preference.FieldEditorPreferencePage#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
* @see org.eclipse.jface.preference.FieldEditorPreferencePage#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
*/
public void propertyChange(PropertyChangeEvent event) {
super.propertyChange(event);
MessageDialog warningMessageDialog = new MessageDialog(getFieldEditorParent().getShell(),
Messages.getString("ComponentProjectPreferencePage.Warning"), null, //$NON-NLS-1$
MessageDialog warningMessageDialog = new MessageDialog(getFieldEditorParent().getShell(), Messages
.getString("ComponentProjectPreferencePage.Warning"), null, //$NON-NLS-1$
Messages.getString("ComponentProjectPreferencePage.WarningMSG"), MessageDialog.WARNING, //$NON-NLS-1$
new String[] { Messages.getString("ComponentProjectPreferencePage.ButtonLabel0") }, 0); //$NON-NLS-1$
warningMessageDialog.open();

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
@@ -32,6 +32,8 @@ import org.talend.componentdesigner.PluginConstant;
import org.talend.componentdesigner.i18n.internal.Messages;
import org.talend.componentdesigner.model.componentpref.ComponentPref;
import org.talend.componentdesigner.model.enumtype.LanguageType;
import org.talend.core.GlobalServiceRegister;
import org.talend.core.service.ICorePerlService;
/**
* @author rli
@@ -43,14 +45,21 @@ public class WizardComponentFolderPage extends AbstractComponentPage {
private Button useJavaLangButton;
private Button usePerlLangButton;
private Text componentFolderText;
private boolean isUsePerl = true;
/**
* @param pageName
* @param componentPref
*/
public WizardComponentFolderPage(String pageName, ComponentPref componentPref) {
super(pageName, componentPref);
if (!GlobalServiceRegister.getDefault().isServiceRegistered(ICorePerlService.class)) {
isUsePerl = false;
}
}
@Override
@@ -65,7 +74,6 @@ public class WizardComponentFolderPage extends AbstractComponentPage {
*
* @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
*/
@Override
public void modifyText(ModifyEvent e) {
setPageComplete(validatePage());
componentPref.setName(componentFolderText.getText());
@@ -79,7 +87,6 @@ public class WizardComponentFolderPage extends AbstractComponentPage {
*
* @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
*/
@Override
public void modifyText(ModifyEvent e) {
setPageComplete(validatePage());
componentPref.setLongName(componentLongName.getText());
@@ -91,10 +98,22 @@ public class WizardComponentFolderPage extends AbstractComponentPage {
this.componentFolderText.setText(componentPref.getName());
this.componentFolderText.setEnabled(false);
switch (componentPref.getLanguageType()) {
case PERLLANGUAGETYPE:
if (isUsePerl) {
this.usePerlLangButton.setSelection(true);
}
this.useJavaLangButton.setSelection(false);
break;
case JAVALANGUAGETYPE:
if (isUsePerl) {
this.usePerlLangButton.setSelection(false);
}
this.useJavaLangButton.setSelection(true);
break;
case BOTHLANGUAGETYPE:
if (isUsePerl) {
this.usePerlLangButton.setSelection(true);
}
this.useJavaLangButton.setSelection(true);
break;
default:
@@ -147,22 +166,35 @@ public class WizardComponentFolderPage extends AbstractComponentPage {
useJavaLangButton = new Button(languageGroup, SWT.CHECK | SWT.RIGHT);
useJavaLangButton.setText(Messages.getString("WizardComponentFolderPage.Java")); //$NON-NLS-1$
if (isUsePerl) {
usePerlLangButton = new Button(languageGroup, SWT.CHECK | SWT.RIGHT);
usePerlLangButton.setText(Messages.getString("WizardComponentFolderPage.Perl")); //$NON-NLS-1$
}
SelectionListener listener = new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
setPageComplete(validatePage());
componentPref.setLanguageType(LanguageType.JAVALANGUAGETYPE);
LanguageType type;
if (isUsePerl) {
type = LanguageType.find(useJavaLangButton.getSelection(), false);
} else {
type = LanguageType.find(useJavaLangButton.getSelection(), usePerlLangButton.getSelection());
}
componentPref.setLanguageType(type);
// propertyChangeBean.firePropertyChange(PluginConstant.LANGUAGE_PROPERTY, null, type);
}
};
useJavaLangButton.addSelectionListener(listener);
if (isUsePerl) {
usePerlLangButton.addSelectionListener(listener);
}
}
@Override
protected boolean validatePage() {
if (useJavaLangButton != null) {
if (!(useJavaLangButton.getSelection())) {
if (useJavaLangButton != null || usePerlLangButton != null) {
if (!(useJavaLangButton.getSelection() || usePerlLangButton.getSelection())) {
setErrorMessage(Messages.getString("WizardComponentFolderPage.ErrMSG1")); //$NON-NLS-1$
return false;
}

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -2,7 +2,7 @@
<feature
id="org.talend.designer_feature"
label="Designer Feature"
version="1.0.0.qualifier"
version="2.2.0.qualifier"
provider-name=".Talend SA.">
<description url="http://www.talend.com/online/featuresdescription.html#designer-feature">
@@ -23,6 +23,7 @@
</url>
<requires>
<import plugin="org.talend.commons"/>
<import plugin="org.talend.core.runtime"/>
<import plugin="org.talend.core"/>
<import plugin="org.talend.commons.ui"/>
@@ -96,7 +97,7 @@
<import plugin="org.eclipse.ui.navigator" version="3.3.200" match="compatible"/>
<import plugin="org.eclipse.ui.navigator.resources" version="3.4.0" match="compatible"/>
<import plugin="org.eclipse.jdt.core.manipulation" version="1.3.0" match="compatible"/>
<import plugin="com.ibm.icu" version="4.2.1.v20100412" match="equivalent"/>
<import plugin="com.ibm.icu" version="3.4.4" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.resources" version="3.3.0" match="compatible"/>
<import plugin="org.eclipse.text" version="3.1.0" match="compatible"/>
<import plugin="org.eclipse.core.commands" version="3.5.0" match="compatible"/>
@@ -183,8 +184,8 @@
<import plugin="org.eclipse.gmf.runtime.common.ui.services.action" version="1.2.0" match="compatible"/>
<import plugin="org.eclipse.emf.edit.ui" version="2.5.0" match="compatible"/>
<import plugin="org.eclipse.gmf.runtime.diagram.ui.properties" version="1.2.0" match="compatible"/>
<import plugin="org.apache.lucene" version="1.9.1.v20100518-1140" match="perfect"/>
<import plugin="org.apache.lucene.analysis" version="1.9.1.v20100518-1140" match="perfect"/>
<import plugin="org.apache.lucene" version="1.9.1" match="compatible"/>
<import plugin="org.apache.lucene.analysis" version="1.9.1" match="compatible"/>
<import plugin="org.eclipse.core.runtime" version="3.6.0" match="greaterOrEqual"/>
<import plugin="javax.xml" version="1.3.4" match="compatible"/>
<import plugin="org.apache.xml.resolver" version="1.2.0" match="compatible"/>
@@ -239,7 +240,7 @@
<import plugin="org.eclipse.emf.ecore" version="2.4.0" match="compatible"/>
<import plugin="org.eclipse.wst.common.core" version="1.2.0" match="compatible"/>
<import plugin="org.eclipse.emf.ecore.xmi" version="2.4.0" match="compatible"/>
<import plugin="com.ibm.icu" version="4.2.1.v20100412" match="equivalent"/>
<import plugin="com.ibm.icu" version="3.8.1" match="greaterOrEqual"/>
<import plugin="org.eclipse.wst.common.core" version="1.1.201" match="compatible"/>
<import plugin="org.eclipse.osgi.util" version="3.1.300" match="compatible"/>
<import plugin="org.talend.libraries.jdom"/>
@@ -472,7 +473,7 @@
id="com.ibm.icu"
download-size="0"
install-size="0"
version="4.2.1.v20100412"
version="0.0.0"
unpack="false"/>
<plugin
@@ -581,7 +582,7 @@
id="org.apache.lucene"
download-size="0"
install-size="0"
version="1.9.1.v20100518-1140"
version="0.0.0"
unpack="false"/>
<plugin
@@ -930,7 +931,7 @@
id="javax.servlet"
download-size="0"
install-size="0"
version="2.5.0.v200910301333"
version="0.0.0"
unpack="false"/>
<plugin
@@ -1070,7 +1071,7 @@
id="org.apache.lucene.analysis"
download-size="0"
install-size="0"
version="1.9.1.v20100518-1140"
version="0.0.0"
unpack="false"/>
<plugin
@@ -1224,7 +1225,7 @@
id="org.apache.ant"
download-size="0"
install-size="0"
version="1.7.1.v20100518-1145"
version="0.0.0"
unpack="false"/>
<plugin
@@ -1343,7 +1344,7 @@
version="0.0.0"/>
<plugin
id="org.talend.libraries.csv"
id="org.talend.libraries.jdbc.sybase"
download-size="0"
install-size="0"
version="0.0.0"/>
@@ -1354,13 +1355,6 @@
install-size="0"
version="0.0.0"/>
<plugin
id="org.talend.librariesmanager.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.talend.metadata.managment"
download-size="0"

View File

@@ -1 +0,0 @@
jarprocessor.exclude.children=true

View File

@@ -1,20 +0,0 @@
prefs.configuration.title=Map components preferences :
prefs.configuration.LINK_STYLE=Default mapping links display as :
prefs.configuration.LINK_STYLE.AUTO=Auto
prefs.configuration.LINK_STYLE.BEZIER_CURVE=Curves
prefs.configuration.LINK_STYLE.LINE=Lines (fast)
DraggingInfosPopup.draggingEntry=Dragging {0} entry.
DraggingInfosPopup.dropInvalid=\n<< Drop invalid >>\n
DraggingInfosPopup.draggingEntries=Dragging {0} entries.
DraggingInfosPopup.dropInvalidWithKey=\n<< Drop invalid >>\nPress both Shift and Ctrl keys to map one to one and overwrite
DraggingInfosPopup.overwriteMode=\ > Overwrite mode
DraggingInfosPopup.appendMode=\ > Append mode
DraggingInfosPopup.appendModeToOverwrite=\ > Append mode (Ctrl key to overwrite)
DraggingInfosPopup.insertAllSelectedEntries=\ > Insert all selected entries
DraggingInfosPopup.insertRemainingEntries=\ > Insert remaining entries
DraggingInfosPopup.eachSourceEntryExpressionToEachTargetExpression= > Each source entry expression to each target expression
DraggingInfosPopup.eachSourceEntryToEachTargetExpression= > Each source entry to each target expression
DraggingInfosPopup.allSourceEntriesExpressionToASingleOneTargetExpressionShiftKey= > All source entries expression to a single one target expression (Shift key to change mapping)
DraggingInfosPopup.allSourceEntriesExpressionToASingleOneTargetExpression= > All source entries expression to a single one target expression
DraggingInfosPopup.allSourceEntriesToASingleOneTargetExpressionShiftKey= > All source entries to a single one target expression (Shift key to change mapping)
DraggingInfosPopup.allSourceEntriesToASingleOneTargetExpression= > All source entries to a single one target expression

View File

@@ -1 +0,0 @@
jarprocessor.exclude.children=true

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt
@@ -12,9 +12,6 @@
// ============================================================================
package org.talend.designer.abstractmap;
import java.util.HashMap;
import java.util.Map;
import org.apache.oro.text.regex.MalformedPatternException;
import org.apache.oro.text.regex.Pattern;
import org.apache.oro.text.regex.PatternCompiler;
@@ -26,16 +23,16 @@ import org.apache.oro.text.regex.Substitution;
import org.apache.oro.text.regex.Util;
import org.talend.commons.ui.runtime.exception.ExceptionHandler;
import org.talend.core.model.context.UpdateContextVariablesHelper;
import org.talend.core.model.process.AbstractExternalNode;
import org.talend.core.model.process.IElementParameter;
import org.talend.core.model.process.node.IExternalMapEntry;
import org.talend.core.model.process.node.MapperExternalNode;
import org.talend.designer.abstractmap.ui.prefs.MapPrefsConstants;
/**
* DOC amaumont class global comment. Detailled comment <br/>
*
*/
public abstract class AbstractMapComponent extends MapperExternalNode {
public abstract class AbstractMapComponent extends AbstractExternalNode {
/**
* DOC amaumont AbstractMapComponent constructor comment.
@@ -49,7 +46,6 @@ public abstract class AbstractMapComponent extends MapperExternalNode {
*
* @see org.talend.core.model.process.IExternalNode#initialize()
*/
@Override
public void initialize() {
initElementParameters();
}
@@ -79,7 +75,7 @@ public abstract class AbstractMapComponent extends MapperExternalNode {
protected boolean hasDataIntoExpression(Pattern pattern, PatternMatcher matcher, String expression) {
if (expression != null) {
if (matcher.matches(expression, pattern)) {
if (matcher.contains(expression, pattern)) {
return true;
}
}
@@ -91,7 +87,6 @@ public abstract class AbstractMapComponent extends MapperExternalNode {
*
* @see org.talend.core.model.process.INode#useData(java.lang.String)
*/
@Override
public boolean useData(String name) {
if (super.useData(name)) {
return true;
@@ -108,7 +103,6 @@ public abstract class AbstractMapComponent extends MapperExternalNode {
*
* @see org.talend.core.model.process.INode#renameData(java.lang.String, java.lang.String)
*/
@Override
public void renameData(String oldName, String newName) {
super.renameData(oldName, newName);
@@ -116,17 +110,11 @@ public abstract class AbstractMapComponent extends MapperExternalNode {
}
private static Map<String, Pattern> patternsCache = new HashMap<String, Pattern>();
protected final Pattern getRenamePattern(String oldName) {
if (patternsCache.containsKey(oldName)) {
return patternsCache.get(oldName);
}
PatternCompiler compiler = new Perl5Compiler();
Pattern pattern = null;
try {
pattern = compiler.compile("\\b(" + UpdateContextVariablesHelper.replaceSpecialChar(oldName) + ")(\\b|\\_)"); //$NON-NLS-1$ //$NON-NLS-2$
patternsCache.put(oldName, pattern);
return pattern;
} catch (MalformedPatternException e) {
ExceptionHandler.process(e);
@@ -134,15 +122,8 @@ public abstract class AbstractMapComponent extends MapperExternalNode {
}
}
private static Map<String, Perl5Substitution> substitutionsCache = new HashMap<String, Perl5Substitution>();
protected final Perl5Substitution getRenameSubstitution(String newName) {
if (substitutionsCache.containsKey(newName)) {
return substitutionsCache.get(newName);
}
Perl5Substitution ps = new Perl5Substitution(newName + "$2", Perl5Substitution.INTERPOLATE_ALL); //$NON-NLS-1$
substitutionsCache.put(newName, ps);
return ps;
return new Perl5Substitution(newName + "$2", Perl5Substitution.INTERPOLATE_ALL); //$NON-NLS-1$
}
/**

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

View File

@@ -1,6 +1,6 @@
// ============================================================================
//
// Copyright (C) 2006-2013 Talend Inc. - www.talend.com
// Copyright (C) 2006-2012 Talend Inc. - www.talend.com
//
// This source code is available under agreement available at
// %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt

Some files were not shown because too many files have changed in this diff Show More