Commit f3d373dd authored by Romain Bioteau's avatar Romain Bioteau Committed by GitHub
Browse files

tr(ci) improve PR build (#783)

* remove it from PR build
* commit generate code to fasten build
* configure cron for main job branches
parent 65d7acd4

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
/src
/.options
/messages.properties
/plugin.properties
/plugin.xml
/.classpath
# Tracing options for the org.bonitasoft.studio.diagram.form plug-in
# Common issues
org.bonitasoft.studio.diagram.form/debug=false
# Visual IDs
org.bonitasoft.studio.diagram.form/debug/visualID=false
# TODO: manually put keys and values
ProcessCreationWizardTitle=New Form Diagram
ProcessCreationWizard_DiagramModelFilePageTitle=Create Form Diagram
ProcessCreationWizard_DiagramModelFilePageDescription=Select file that will contain diagram and domain models.
ProcessCreationWizardOpenEditorError=Error opening diagram editor
ProcessCreationWizardCreationError=Creation Problems
ProcessCreationWizardPageExtensionError=File name should have {0} extension.
ProcessDiagramEditorUtil_OpenModelResourceErrorDialogTitle=Error
ProcessDiagramEditorUtil_OpenModelResourceErrorDialogMessage=Failed to load model file {0}
ProcessDiagramEditorUtil_CreateDiagramProgressTask=Creating diagram and model files
ProcessDiagramEditorUtil_CreateDiagramCommandLabel=Creating diagram and model
ProcessDocumentProvider_isModifiable=Updating cache failed
ProcessDocumentProvider_handleElementContentChanged=Failed to refresh hierarchy for changed resource
ProcessDocumentProvider_IncorrectInputError=invalid
ProcessDocumentProvider_NoDiagramInResourceError=Diagram is not present in resource
ProcessDocumentProvider_DiagramLoadingError=Error loading diagram
ProcessDocumentProvider_UnsynchronizedFileSaveError=The file has been changed on the file system
ProcessDocumentProvider_SaveDiagramTask=Saving diagram
ProcessDocumentProvider_SaveNextResourceTask=Saving {0}
ProcessDocumentProvider_SaveAsOperation=Saving {0} diagram as
InitDiagramFile_ResourceErrorDialogTitle=Error
InitDiagramFile_ResourceErrorDialogMessage=Model file loading failed
InitDiagramFile_WizardTitle=Initialize new {0} diagram file
InitDiagramFile_OpenModelFileDialogTitle=Select domain model
ProcessNewDiagramFileWizard_CreationPageName=Initialize new diagram file
ProcessNewDiagramFileWizard_CreationPageTitle=Diagram file
ProcessNewDiagramFileWizard_CreationPageDescription=Create new diagram based on {0} model content
ProcessNewDiagramFileWizard_RootSelectionPageName=Select diagram root element
ProcessNewDiagramFileWizard_RootSelectionPageTitle=Diagram root element
ProcessNewDiagramFileWizard_RootSelectionPageDescription=Select semantic model element to be depicted on diagram
ProcessNewDiagramFileWizard_RootSelectionPageSelectionTitle=Select diagram root element:
ProcessNewDiagramFileWizard_RootSelectionPageNoSelectionMessage=Diagram root element is not selected
ProcessNewDiagramFileWizard_RootSelectionPageInvalidSelectionMessage=Invalid diagram root element is selected
ProcessNewDiagramFileWizard_InitDiagramCommand=Initializing diagram contents
ProcessNewDiagramFileWizard_IncorrectRootError=Incorrect model object stored as a root resource object
FormDiagramEditor_SavingDeletedFile=The original file "{0}" has been deleted.
FormDiagramEditor_SaveAsErrorTitle=Problem During Save As...
FormDiagramEditor_SaveAsErrorMessage=Save could not be completed. Target file is already open in another editor.
FormDiagramEditor_SaveErrorTitle=Save Problems
FormDiagramEditor_SaveErrorMessage=Could not save file.
ProcessElementChooserDialog_SelectModelElementTitle=Select model element
ModelElementSelectionPageMessage=Select model element:
ValidateActionMessage=Validate
Default1Group_title=Default
Default1Group_desc=Holds top-level non-container tools
Checkbox1CreationTool_title=Checkbox
Checkbox1CreationTool_desc=Check box data field with a label
CheckboxList2CreationTool_title=Checkbox List
CheckboxList2CreationTool_desc=List of check boxes that will returns the list of selected values
Date3CreationTool_title=Date
Date3CreationTool_desc=Widget that let user enter a date with the help of a calendar
Duration4CreationTool_title=Duration
Duration4CreationTool_desc=Widget that let the user enter a duration
Password5CreationTool_title=Password
Password5CreationTool_desc=Text box with hidden text
List6CreationTool_title=List
List6CreationTool_desc=List widget that returns the selected values
Radio7CreationTool_title=Radio
Radio7CreationTool_desc=List of radio buttons that returns the selected value
Select8CreationTool_title=Select
Select8CreationTool_desc=Select widget that let user choose from a limited number of values
SuggestBox9CreationTool_title=Suggest Box
SuggestBox9CreationTool_desc=text widget that suggest possible value to the user while typing
TextBox10CreationTool_title=TextBox
TextBox10CreationTool_desc=Simple editable text widget
TextArea11CreationTool_title=TextArea
TextArea11CreationTool_desc=text widget with a larger space for editing
RichTextArea12CreationTool_title=Rich Text Area
RichTextArea12CreationTool_desc=Text area with formating options
Text13CreationTool_title=Text
Text13CreationTool_desc=simple non editable text field
Message14CreationTool_title=Message
Message14CreationTool_desc=non editable field of text with no label
Submit15CreationTool_title=Submit
Submit15CreationTool_desc=Button that allow to submit the form
Previous16CreationTool_title=Previous
Previous16CreationTool_desc=Button that allow to go to the previous page of the form
Next17CreationTool_title=Next
Next17CreationTool_desc=Button that allow to go to the next page of the form
SimpleButton18CreationTool_title=Simple Button
SimpleButton18CreationTool_desc=Simple button, can be used to run javascript
File19CreationTool_title=File
File19CreationTool_desc=Upload or download a file to or from an attachment
Image20CreationTool_title=Image
Image20CreationTool_desc=Display an image
Table21CreationTool_title=Table
Table21CreationTool_desc=Table widget that allow selecting one or more row
EditableGrid22CreationTool_title=Editable Grid
EditableGrid22CreationTool_desc=Grid containing editable cells
Hidden23CreationTool_title=Hidden
Hidden23CreationTool_desc=Hidden widget
IFrame24CreationTool_title=IFrame
IFrame24CreationTool_desc=IFrame widget
HTML25CreationTool_title=HTML
HTML25CreationTool_desc=HTML widget
CommandName_OpenDiagram=Open Diagram
NavigatorActionProvider_OpenDiagramActionName=Open Diagram
MessageFormatParser_InvalidInputError=Invalid input at {0}
ProcessModelingAssistantProviderTitle=Select domain model element
ProcessModelingAssistantProviderMessage=Available domain model elements:
pluginName=Bonita Form editor
providerName=Bonitasoft S.A.
editorName=Form Diagram Editing
context.description=Form Diagram Editing
context.name=In Form Diagram Editor
newWizardName=Form Diagram
newWizardDesc=Creates Form diagram.
initDiagramActionLabel=Initialize form diagram file
navigatorContentName=*.form diagram contents
update.diagram.name=Update Form diagram
update.diagram.description=Perform Form diagram update
# Property Sheet
tab.appearance=Appearance
tab.diagram=Rulers & Grid
tab.domain=Core
tab.Form=Form
# Preferences
prefpage.org.bonitasoft.studio.diagram.general=Process Diagram
prefpage.org.bonitasoft.studio.diagram.appearance=Appearance
prefpage.org.bonitasoft.studio.diagram.connections=Connections
prefpage.org.bonitasoft.studio.diagram.printing=Printing
prefpage.org.bonitasoft.studio.diagram.rulersAndGrid=Rulers And Grid
# Providers
metatype.name.Form_1000=Undefined
metatype.name.CheckBoxSingleFormField_2130=CheckBoxSingleFormField
metatype.name.ComboFormField_2114=ComboFormField
metatype.name.DateFormField_2115=DateFormField
metatype.name.ListFormField_2116=ListFormField
metatype.name.PasswordFormField_2117=PasswordFormField
metatype.name.RadioFormField_2118=RadioFormField
metatype.name.SelectFormField_2119=SelectFormField
metatype.name.SuggestBox_2144=SuggestBox
metatype.name.TextFormField_2120=TextFormField
metatype.name.TextAreaFormField_2121=TextAreaFormField
metatype.name.RichTextAreaFormField_2140=RichTextAreaFormField
metatype.name.SubmitFormButton_2126=SubmitFormButton
metatype.name.NextFormButton_2127=NextFormButton
metatype.name.PreviousFormButton_2128=PreviousFormButton
metatype.name.Group_2125=Group
metatype.name.MessageInfo_2131=MessageInfo
metatype.name.TextInfo_2132=TextInfo
metatype.name.FileWidget_2133=FileWidget
metatype.name.CheckBoxMultipleFormField_2134=CheckBoxMultipleFormField
metatype.name.ImageWidget_2135=ImageWidget
metatype.name.HiddenWidget_2136=HiddenWidget
metatype.name.DurationFormField_2137=DurationFormField
metatype.name.FormButton_2138=FormButton
metatype.name.Table_2139=Table
metatype.name.DynamicTable_2141=DynamicTable
metatype.name.IFrameWidget_2142=IFrameWidget
metatype.name.HtmlWidget_2143=HtmlWidget
metatype.name.PreviousFormButton_3114=PreviousFormButton
metatype.name.CheckBoxSingleFormField_3118=CheckBoxSingleFormField
metatype.name.ComboFormField_3103=ComboFormField
metatype.name.NextFormButton_3115=NextFormButton
metatype.name.DateFormField_3105=DateFormField
metatype.name.Group_3106=Group
metatype.name.ListFormField_3107=ListFormField
metatype.name.SubmitFormButton_3116=SubmitFormButton
metatype.name.PasswordFormField_3109=PasswordFormField
metatype.name.RadioFormField_3110=RadioFormField
metatype.name.SelectFormField_3111=SelectFormField
metatype.name.TextFormField_3112=TextFormField
metatype.name.TextAreaFormField_3113=TextAreaFormField
metatype.name.RichTextAreaFormField_3128=RichTextAreaFormField
metatype.name.FileWidget_3119=FileWidget
metatype.name.CheckBoxMultipleFormField_3120=CheckBoxMultipleFormField
metatype.name.DurationFormField_3121=DurationFormField
metatype.name.HiddenWidget_3122=HiddenWidget
metatype.name.ImageWidget_3123=ImageWidget
metatype.name.MessageInfo_3124=MessageInfo
metatype.name.TextInfo_3125=TextInfo
metatype.name.FormButton_3126=FormButton
metatype.name.Table_3127=Table
metatype.name.DynamicTable_3129=DynamicTable
metatype.name.IFrameWidget_3130=IFrameWidget
metatype.name.HtmlWidget_3131=HtmlWidget
metatype.name.SuggestBox_3132=SuggestBox
# Commands and menu actions
cmdcategory.name=Form Editor Commands
cmdcategory.desc=Form Editor Commands
This diff is collapsed.
/*
* Copyright (C) 2009-2015 BonitaSoft S.A.
* Bonitasoft, 32 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.bonitasoft.studio.model.process.diagram.form.edit.commands;
import org.bonitasoft.studio.model.form.CheckBoxMultipleFormField;
import org.bonitasoft.studio.model.form.FormFactory;
import org.bonitasoft.studio.model.form.Group;
import org.bonitasoft.studio.model.process.diagram.form.providers.ElementInitializers;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.common.core.command.CommandResult;
import org.eclipse.gmf.runtime.common.core.command.ICommand;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand;
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest;
import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
import org.eclipse.gmf.runtime.notation.View;
/**
* @generated
*/
public class CheckBoxMultipleFormField2CreateCommand extends EditElementCommand {
/**
* @generated
*/
public CheckBoxMultipleFormField2CreateCommand(CreateElementRequest req) {
super(req.getLabel(), null, req);
}
/**
* FIXME: replace with setElementToEdit()
* @generated
*/
protected EObject getElementToEdit() {
EObject container = ((CreateElementRequest) getRequest()).getContainer();
if (container instanceof View) {
container = ((View) container).getElement();
}
return container;
}
/**
* @generated
*/
public boolean canExecute() {
return true;
}
/**
* @generated
*/
protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
CheckBoxMultipleFormField newElement = FormFactory.eINSTANCE.createCheckBoxMultipleFormField();
Group owner = (Group) getElementToEdit();
owner.getWidgets().add(newElement);
ElementInitializers.getInstance().init_CheckBoxMultipleFormField_3120(newElement);
doConfigure(newElement, monitor, info);
((CreateElementRequest) getRequest()).setNewElement(newElement);
return CommandResult.newOKCommandResult(newElement);
}
/**
* @generated
*/
protected void doConfigure(CheckBoxMultipleFormField newElement, IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest()).getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest()).getClientContext());
configureRequest.addParameters(getRequest().getParameters());
ICommand configureCommand = elementType.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
}
/*
* Copyright (C) 2009-2015 BonitaSoft S.A.
* Bonitasoft, 32 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.bonitasoft.studio.model.process.diagram.form.edit.commands;
import org.bonitasoft.studio.model.form.CheckBoxMultipleFormField;
import org.bonitasoft.studio.model.form.Form;
import org.bonitasoft.studio.model.form.FormFactory;
import org.bonitasoft.studio.model.process.diagram.form.providers.ElementInitializers;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.common.core.command.CommandResult;
import org.eclipse.gmf.runtime.common.core.command.ICommand;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand;
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest;
import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
import org.eclipse.gmf.runtime.notation.View;
/**
* @generated
*/
public class CheckBoxMultipleFormFieldCreateCommand extends EditElementCommand {
/**
* @generated
*/
public CheckBoxMultipleFormFieldCreateCommand(CreateElementRequest req) {
super(req.getLabel(), null, req);
}
/**
* FIXME: replace with setElementToEdit()
* @generated
*/
protected EObject getElementToEdit() {
EObject container = ((CreateElementRequest) getRequest()).getContainer();
if (container instanceof View) {
container = ((View) container).getElement();
}
return container;
}
/**
* @generated
*/
public boolean canExecute() {
return true;
}
/**
* @generated
*/
protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
CheckBoxMultipleFormField newElement = FormFactory.eINSTANCE.createCheckBoxMultipleFormField();
Form owner = (Form) getElementToEdit();
owner.getWidgets().add(newElement);
ElementInitializers.getInstance().init_CheckBoxMultipleFormField_2134(newElement);
doConfigure(newElement, monitor, info);
((CreateElementRequest) getRequest()).setNewElement(newElement);
return CommandResult.newOKCommandResult(newElement);
}
/**
* @generated
*/
protected void doConfigure(CheckBoxMultipleFormField newElement, IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest()).getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest()).getClientContext());
configureRequest.addParameters(getRequest().getParameters());
ICommand configureCommand = elementType.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
}
/*
* Copyright (C) 2009-2015 BonitaSoft S.A.
* Bonitasoft, 32 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.bonitasoft.studio.model.process.diagram.form.edit.commands;
import org.bonitasoft.studio.model.form.CheckBoxSingleFormField;
import org.bonitasoft.studio.model.form.FormFactory;
import org.bonitasoft.studio.model.form.Group;
import org.bonitasoft.studio.model.process.diagram.form.providers.ElementInitializers;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.common.core.command.CommandResult;
import org.eclipse.gmf.runtime.common.core.command.ICommand;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand;
import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest;
import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
import org.eclipse.gmf.runtime.notation.View;
/**
* @generated
*/
public class CheckBoxSingleFormField2CreateCommand extends EditElementCommand {
/**
* @generated
*/
public CheckBoxSingleFormField2CreateCommand(CreateElementRequest req) {
super(req.getLabel(), null, req);
}
/**
* FIXME: replace with setElementToEdit()
* @generated
*/
protected EObject getElementToEdit() {
EObject container = ((CreateElementRequest) getRequest()).getContainer();
if (container instanceof View) {
container = ((View) container).getElement();
}
return container;
}
/**
* @generated
*/
public boolean canExecute() {
return true;
}
/**
* @generated
*/
protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
CheckBoxSingleFormField newElement = FormFactory.eINSTANCE.createCheckBoxSingleFormField();
Group owner = (Group) getElementToEdit();
owner.getWidgets().add(newElement);
ElementInitializers.getInstance().init_CheckBoxSingleFormField_3118(newElement);
doConfigure(newElement, monitor, info);
((CreateElementRequest) getRequest()).setNewElement(newElement);
return CommandResult.newOKCommandResult(newElement);
}
/**
* @generated
*/
protected void doConfigure(CheckBoxSingleFormField newElement, IProgressMonitor monitor, IAdaptable info)
throws ExecutionException {
IElementType elementType = ((CreateElementRequest) getRequest()).getElementType();
ConfigureRequest configureRequest = new ConfigureRequest(getEditingDomain(), newElement, elementType);
configureRequest.setClientContext(((CreateElementRequest) getRequest()).getClientContext());
configureRequest.addParameters(getRequest().getParameters());
ICommand configureCommand = elementType.getEditCommand(configureRequest);
if (configureCommand != null && configureCommand.canExecute()) {
configureCommand.execute(monitor, info);
}
}
}
/*
* Copyright (C) 2009-2015 BonitaSoft S.A.
* Bonitasoft, 32 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.bonitasoft.studio.model.process.diagram.form.edit.commands;