Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bonita-studio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
bonita
bonita-studio
Commits
0ee08905
Commit
0ee08905
authored
Jul 21, 2017
by
Romain Bioteau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tr(refactorPlugin) merge browser into
preferences
parent
c858e9d5
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
79 additions
and
311 deletions
+79
-311
bundles/features/studio-feature/feature.xml
bundles/features/studio-feature/feature.xml
+0
-7
bundles/plugins/org.bonitasoft.studio.browser/.classpath
bundles/plugins/org.bonitasoft.studio.browser/.classpath
+0
-8
bundles/plugins/org.bonitasoft.studio.browser/.project
bundles/plugins/org.bonitasoft.studio.browser/.project
+0
-28
bundles/plugins/org.bonitasoft.studio.browser/META-INF/MANIFEST.MF
...lugins/org.bonitasoft.studio.browser/META-INF/MANIFEST.MF
+0
-18
bundles/plugins/org.bonitasoft.studio.browser/build.properties
...es/plugins/org.bonitasoft.studio.browser/build.properties
+0
-7
bundles/plugins/org.bonitasoft.studio.browser/messages.properties
...plugins/org.bonitasoft.studio.browser/messages.properties
+0
-2
bundles/plugins/org.bonitasoft.studio.browser/messages_es.properties
...gins/org.bonitasoft.studio.browser/messages_es.properties
+0
-3
bundles/plugins/org.bonitasoft.studio.browser/messages_fr.properties
...gins/org.bonitasoft.studio.browser/messages_fr.properties
+0
-3
bundles/plugins/org.bonitasoft.studio.browser/messages_ja.properties
...gins/org.bonitasoft.studio.browser/messages_ja.properties
+0
-3
bundles/plugins/org.bonitasoft.studio.browser/pom.xml
bundles/plugins/org.bonitasoft.studio.browser/pom.xml
+0
-13
bundles/plugins/org.bonitasoft.studio.browser/src-test/java/org/bonitasoft/studio/browser/operation/OpenBrowserOperationTest.java
...ft/studio/browser/operation/OpenBrowserOperationTest.java
+0
-43
bundles/plugins/org.bonitasoft.studio.browser/src/org/bonitasoft/studio/browser/BrowserSupportPlugin.java
...c/org/bonitasoft/studio/browser/BrowserSupportPlugin.java
+0
-50
bundles/plugins/org.bonitasoft.studio.browser/src/org/bonitasoft/studio/browser/i18n/Messages.java
...wser/src/org/bonitasoft/studio/browser/i18n/Messages.java
+0
-35
bundles/plugins/org.bonitasoft.studio.businessobject/META-INF/MANIFEST.MF
...org.bonitasoft.studio.businessobject/META-INF/MANIFEST.MF
+0
-1
bundles/plugins/org.bonitasoft.studio.businessobject/src/org/bonitasoft/studio/businessobject/ui/wizard/QueryWizardPage.java
...soft/studio/businessobject/ui/wizard/QueryWizardPage.java
+1
-1
bundles/plugins/org.bonitasoft.studio.designer/META-INF/MANIFEST.MF
...ugins/org.bonitasoft.studio.designer/META-INF/MANIFEST.MF
+0
-1
bundles/plugins/org.bonitasoft.studio.designer/src-test/java/org/bonitasoft/studio/designer/core/repository/WebPageFileStoreTest.java
...studio/designer/core/repository/WebPageFileStoreTest.java
+1
-1
bundles/plugins/org.bonitasoft.studio.designer/src-test/java/org/bonitasoft/studio/designer/ui/handler/OpenUIDesignerHandlerTest.java
...studio/designer/ui/handler/OpenUIDesignerHandlerTest.java
+1
-1
bundles/plugins/org.bonitasoft.studio.designer/src/org/bonitasoft/studio/designer/core/repository/WebPageFileStore.java
...oft/studio/designer/core/repository/WebPageFileStore.java
+1
-1
bundles/plugins/org.bonitasoft.studio.designer/src/org/bonitasoft/studio/designer/ui/handler/OpenUIDesignerHandler.java
...oft/studio/designer/ui/handler/OpenUIDesignerHandler.java
+1
-1
bundles/plugins/org.bonitasoft.studio.engine/META-INF/MANIFEST.MF
...plugins/org.bonitasoft.studio.engine/META-INF/MANIFEST.MF
+0
-1
bundles/plugins/org.bonitasoft.studio.engine/src/org/bonitasoft/studio/engine/command/AbstractOpenConsoleCommand.java
...oft/studio/engine/command/AbstractOpenConsoleCommand.java
+1
-1
bundles/plugins/org.bonitasoft.studio.engine/src/org/bonitasoft/studio/engine/operation/RunProcessOperation.java
...nitasoft/studio/engine/operation/RunProcessOperation.java
+1
-1
bundles/plugins/org.bonitasoft.studio.form.preview/META-INF/MANIFEST.MF
...s/org.bonitasoft.studio.form.preview/META-INF/MANIFEST.MF
+0
-1
bundles/plugins/org.bonitasoft.studio.form.preview/src/org/bonitasoft/studio/form/preview/FormPreviewOperation.java
.../bonitasoft/studio/form/preview/FormPreviewOperation.java
+1
-1
bundles/plugins/org.bonitasoft.studio.intro/META-INF/MANIFEST.MF
.../plugins/org.bonitasoft.studio.intro/META-INF/MANIFEST.MF
+1
-1
bundles/plugins/org.bonitasoft.studio.intro/src/org/bonitasoft/studio/intro/actions/OpenInExternalBrowserIntroAction.java
...tudio/intro/actions/OpenInExternalBrowserIntroAction.java
+26
-30
bundles/plugins/org.bonitasoft.studio.intro/src/org/bonitasoft/studio/intro/actions/SearchDocumentationInExternalBrowser.java
...o/intro/actions/SearchDocumentationInExternalBrowser.java
+28
-31
bundles/plugins/org.bonitasoft.studio.preferences/META-INF/MANIFEST.MF
...ns/org.bonitasoft.studio.preferences/META-INF/MANIFEST.MF
+1
-0
bundles/plugins/org.bonitasoft.studio.preferences/messages.properties
...ins/org.bonitasoft.studio.preferences/messages.properties
+2
-0
bundles/plugins/org.bonitasoft.studio.preferences/src/org/bonitasoft/studio/preferences/browser/OpenBrowserOperation.java
...soft/studio/preferences/browser/OpenBrowserOperation.java
+6
-9
bundles/plugins/org.bonitasoft.studio.preferences/src/org/bonitasoft/studio/preferences/i18n/Messages.java
.../src/org/bonitasoft/studio/preferences/i18n/Messages.java
+7
-7
bundles/plugins/pom.xml
bundles/plugins/pom.xml
+0
-1
No files found.
bundles/features/studio-feature/feature.xml
View file @
0ee08905
...
...
@@ -518,13 +518,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
version=
"0.0.0"
unpack=
"false"
/>
<plugin
id=
"org.bonitasoft.studio.browser"
download-size=
"0"
install-size=
"0"
version=
"0.0.0"
unpack=
"false"
/>
<plugin
id=
"org.bonitasoft.studio.validation.common"
download-size=
"0"
...
...
bundles/plugins/org.bonitasoft.studio.browser/.classpath
deleted
100644 → 0
View file @
c858e9d5
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"src"
path=
"src-test/java"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
</classpath>
bundles/plugins/org.bonitasoft.studio.browser/.project
deleted
100644 → 0
View file @
c858e9d5
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
org.bonitasoft.studio.browser
</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.jdt.core.javabuilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.pde.ManifestBuilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.pde.SchemaBuilder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.pde.PluginNature
</nature>
<nature>
org.eclipse.jdt.core.javanature
</nature>
</natures>
</projectDescription>
bundles/plugins/org.bonitasoft.studio.browser/META-INF/MANIFEST.MF
deleted
100644 → 0
View file @
c858e9d5
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Browser Support Plugin
Bundle-SymbolicName: org.bonitasoft.studio.browser
Bundle-Version: 7.6.0.qualifier
Bundle-Activator: org.bonitasoft.studio.browser.BrowserSupportPlugin
Bundle-Vendor: Bonitasoft S.A.
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.junit;bundle-version="4.11.0";resolution:=optional,
org.mockito;bundle-version="1.9.5";resolution:=optional,
assertj-core;bundle-version="1.5.0";resolution:=optional,
org.eclipse.ui.browser,
org.bonitasoft.studio.preferences,
org.bonitasoft.studio.common
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Export-Package: org.bonitasoft.studio.browser.operation
bundles/plugins/org.bonitasoft.studio.browser/build.properties
deleted
100644 → 0
View file @
c858e9d5
source..
=
src/
output..
=
bin/
bin.includes
=
META-INF/,
\
.,
\
plugin*.properties,
\
messages*.properties
src.excludes
=
src-test/java/
bundles/plugins/org.bonitasoft.studio.browser/messages.properties
deleted
100644 → 0
View file @
c858e9d5
noBrowserFoundTitle
=
No web browser defined
noBrowserFoundMsg
=
The Portal cannot be launched because no web browser has been defined. Please set a web browser in order to continue.
\ No newline at end of file
bundles/plugins/org.bonitasoft.studio.browser/messages_es.properties
deleted
100644 → 0
View file @
c858e9d5
#X-Generator: crowdin.com
noBrowserFoundTitle
=
Ning
\u
00fan navegador definido
noBrowserFoundMsg
=
El Portal no se puede lanzar porque no se ha definido ning
\u
00fan navegador web. Por favor seleccione un navegador para continuar.
bundles/plugins/org.bonitasoft.studio.browser/messages_fr.properties
deleted
100644 → 0
View file @
c858e9d5
#X-Generator: crowdin.com
noBrowserFoundTitle
=
Aucun navigateur web d
\u
00e9finie
noBrowserFoundMsg
=
Le portail ne peut pas
\u
00eatre lanc
\u
00e9 car aucun navigateur web n'a
\u
00e9t
\u
00e9 d
\u
00e9fini. Veuillez configurer un navigateur web pour pouvoir continuer.
bundles/plugins/org.bonitasoft.studio.browser/messages_ja.properties
deleted
100644 → 0
View file @
c858e9d5
#X-Generator: crowdin.com
noBrowserFoundTitle
=
\u
5b9a
\u
7fa9
\u3055\u
308c
\u3066\u3044\u
308b web
\u
30d6
\u
30e9
\u
30a6
\u
30b6
\u
304c
\u3042\u
308a
\u
307e
\u
305b
\u3093
noBrowserFoundMsg
=
Web
\u
30d6
\u
30e9
\u
30a6
\u
30b6
\u
304c
\u
5b9a
\u
7fa9
\u3055\u
308c
\u3066\u3044\u
306a
\u3044\u
305f
\u3081\u3001\u
30dd
\u
30fc
\u
30bf
\u
30eb
\u3092\u
8d77
\u
52d5
\u3067\u
304d
\u
307e
\u
305b
\u3093\u3002\u
7d9a
\u
884c
\u3059\u
308b
\u
306b
\u
306f
\u3001
web
\u
30d6
\u
30e9
\u
30a6
\u
30b6
\u3092\u
8a2d
\u
5b9a
\u3057\u3066\u
304f
\u3060\u3055\u3044\u3002
bundles/plugins/org.bonitasoft.studio.browser/pom.xml
deleted
100644 → 0
View file @
c858e9d5
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.bonitasoft.studio.bundles
</groupId>
<artifactId>
plugins
</artifactId>
<version>
7.6.0-SNAPSHOT
</version>
</parent>
<groupId>
org.bonitasoft.studio.bundles.plugins
</groupId>
<artifactId>
org.bonitasoft.studio.browser
</artifactId>
<packaging>
eclipse-plugin
</packaging>
</project>
bundles/plugins/org.bonitasoft.studio.browser/src-test/java/org/bonitasoft/studio/browser/operation/OpenBrowserOperationTest.java
deleted
100644 → 0
View file @
c858e9d5
/**
* Copyright (C) 2014 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.browser.operation
;
import
org.junit.After
;
import
org.junit.Before
;
/**
* @author Romain Bioteau
*
*/
public
class
OpenBrowserOperationTest
{
/**
* @throws java.lang.Exception
*/
@Before
public
void
setUp
()
throws
Exception
{
}
/**
* @throws java.lang.Exception
*/
@After
public
void
tearDown
()
throws
Exception
{
}
}
bundles/plugins/org.bonitasoft.studio.browser/src/org/bonitasoft/studio/browser/BrowserSupportPlugin.java
deleted
100644 → 0
View file @
c858e9d5
package
org.bonitasoft.studio.browser
;
import
org.eclipse.ui.plugin.AbstractUIPlugin
;
import
org.osgi.framework.BundleContext
;
/**
* The activator class controls the plug-in life cycle
*/
public
class
BrowserSupportPlugin
extends
AbstractUIPlugin
{
// The plug-in ID
public
static
final
String
PLUGIN_ID
=
"org.bonitasoft.studio.browser"
;
//$NON-NLS-1$
// The shared instance
private
static
BrowserSupportPlugin
plugin
;
/**
* The constructor
*/
public
BrowserSupportPlugin
()
{
}
/*
* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
*/
public
void
start
(
BundleContext
context
)
throws
Exception
{
super
.
start
(
context
);
plugin
=
this
;
}
/*
* (non-Javadoc)
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
*/
public
void
stop
(
BundleContext
context
)
throws
Exception
{
plugin
=
null
;
super
.
stop
(
context
);
}
/**
* Returns the shared instance
*
* @return the shared instance
*/
public
static
BrowserSupportPlugin
getDefault
()
{
return
plugin
;
}
}
bundles/plugins/org.bonitasoft.studio.browser/src/org/bonitasoft/studio/browser/i18n/Messages.java
deleted
100644 → 0
View file @
c858e9d5
/**
* Copyright (C) 2014 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.browser.i18n
;
import
org.eclipse.osgi.util.NLS
;
/**
* @author Romain Bioteau
*
*/
public
class
Messages
extends
NLS
{
static
{
NLS
.
initializeMessages
(
"messages"
,
Messages
.
class
);
}
public
static
String
noBrowserFoundTitle
;
public
static
String
noBrowserFoundMsg
;
}
bundles/plugins/org.bonitasoft.studio.businessobject/META-INF/MANIFEST.MF
View file @
0ee08905
...
...
@@ -44,7 +44,6 @@ Require-Bundle: org.bonitasoft.studio.engine;bundle-version="1.0.0",
org.eclipse.emf;bundle-version="2.6.0",
org.eclipse.emf.transaction,
org.eclipse.emf.databinding,
org.bonitasoft.studio.browser;bundle-version="6.5.0",
com.google.guava,
org.eclipse.e4.core.services,
org.eclipse.osgi.services;bundle-version="3.4.0",
...
...
bundles/plugins/org.bonitasoft.studio.businessobject/src/org/bonitasoft/studio/businessobject/ui/wizard/QueryWizardPage.java
View file @
0ee08905
...
...
@@ -30,7 +30,6 @@ import org.bonitasoft.engine.bdm.model.Query;
import
org.bonitasoft.engine.bdm.model.QueryParameter
;
import
org.bonitasoft.engine.bdm.model.field.Field
;
import
org.bonitasoft.engine.bdm.model.field.SimpleField
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.businessobject.i18n.Messages
;
import
org.bonitasoft.studio.businessobject.ui.wizard.editingsupport.QueryParameterNameEditingSupport
;
import
org.bonitasoft.studio.businessobject.ui.wizard.editingsupport.QueryParameterTypeEditingSupport
;
...
...
@@ -39,6 +38,7 @@ import org.bonitasoft.studio.common.jface.BonitaStudioFontRegistry;
import
org.bonitasoft.studio.common.log.BonitaStudioLog
;
import
org.bonitasoft.studio.pics.Pics
;
import
org.bonitasoft.studio.pics.PicsConstants
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.eclipse.core.databinding.Binding
;
import
org.eclipse.core.databinding.DataBindingContext
;
import
org.eclipse.core.databinding.UpdateValueStrategy
;
...
...
bundles/plugins/org.bonitasoft.studio.designer/META-INF/MANIFEST.MF
View file @
0ee08905
...
...
@@ -20,7 +20,6 @@ Export-Package: org.bonitasoft.studio.designer,
org.bonitasoft.studio.designer.ui.contribution
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.bonitasoft.studio.browser;bundle-version="6.5.0",
org.bonitasoft.studio.common.repository;bundle-version="6.5.0",
org.bonitasoft.studio.preferences,
org.bonitasoft.studio.common,
...
...
bundles/plugins/org.bonitasoft.studio.designer/src-test/java/org/bonitasoft/studio/designer/core/repository/WebPageFileStoreTest.java
View file @
0ee08905
...
...
@@ -20,11 +20,11 @@ import static org.mockito.Mockito.verify;
import
java.net.URL
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.repository.model.IRepositoryFileStore
;
import
org.bonitasoft.studio.common.repository.model.IRepositoryStore
;
import
org.bonitasoft.studio.designer.core.PageDesignerURLFactory
;
import
org.bonitasoft.studio.designer.core.repository.WebPageFileStore
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
...
...
bundles/plugins/org.bonitasoft.studio.designer/src-test/java/org/bonitasoft/studio/designer/ui/handler/OpenUIDesignerHandlerTest.java
View file @
0ee08905
...
...
@@ -22,9 +22,9 @@ import static org.mockito.Mockito.when;
import
java.net.URL
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.jface.FileActionDialog
;
import
org.bonitasoft.studio.preferences.BonitaPreferenceConstants
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.eclipse.core.runtime.preferences.IEclipsePreferences
;
import
org.junit.After
;
import
org.junit.Before
;
...
...
bundles/plugins/org.bonitasoft.studio.designer/src/org/bonitasoft/studio/designer/core/repository/WebPageFileStore.java
View file @
0ee08905
...
...
@@ -19,7 +19,6 @@ import java.net.MalformedURLException;
import
java.net.URL
;
import
java.util.Set
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.log.BonitaStudioLog
;
import
org.bonitasoft.studio.common.platform.tools.PlatformUtil
;
import
org.bonitasoft.studio.common.repository.model.IRepositoryFileStore
;
...
...
@@ -30,6 +29,7 @@ import org.bonitasoft.studio.designer.core.PageDesignerURLFactory;
import
org.bonitasoft.studio.designer.core.bar.BarResourceCreationException
;
import
org.bonitasoft.studio.designer.core.bos.WebFormBOSArchiveFileStoreProvider
;
import
org.bonitasoft.studio.preferences.BonitaStudioPreferencesPlugin
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.eclipse.core.runtime.preferences.InstanceScope
;
import
org.eclipse.swt.graphics.Image
;
import
org.eclipse.ui.IWorkbenchPart
;
...
...
bundles/plugins/org.bonitasoft.studio.designer/src/org/bonitasoft/studio/designer/ui/handler/OpenUIDesignerHandler.java
View file @
0ee08905
...
...
@@ -21,7 +21,6 @@ import java.net.MalformedURLException;
import
java.net.Proxy
;
import
java.net.URL
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.jface.BonitaErrorDialog
;
import
org.bonitasoft.studio.common.jface.FileActionDialog
;
import
org.bonitasoft.studio.common.log.BonitaStudioLog
;
...
...
@@ -29,6 +28,7 @@ import org.bonitasoft.studio.designer.UIDesignerPlugin;
import
org.bonitasoft.studio.designer.core.PageDesignerURLFactory
;
import
org.bonitasoft.studio.designer.i18n.Messages
;
import
org.bonitasoft.studio.preferences.BonitaStudioPreferencesPlugin
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.eclipse.core.commands.AbstractHandler
;
import
org.eclipse.core.commands.ExecutionEvent
;
import
org.eclipse.core.commands.ExecutionException
;
...
...
bundles/plugins/org.bonitasoft.studio.engine/META-INF/MANIFEST.MF
View file @
0ee08905
...
...
@@ -38,7 +38,6 @@ Require-Bundle: org.bonitasoft.studio.model;bundle-version="1.0.0",
org.eclipse.jdt.core,
org.eclipse.xtext.ui,
org.bonitasoft.studio.designer;bundle-version="6.5.0",
org.bonitasoft.studio.browser;bundle-version="6.5.0",
org.bonitasoft.studio.validation.common;bundle-version="7.1.0",
org.eclipse.e4.core.contexts,
org.eclipse.e4.core.di;bundle-version="1.4.0",
...
...
bundles/plugins/org.bonitasoft.studio.engine/src/org/bonitasoft/studio/engine/command/AbstractOpenConsoleCommand.java
View file @
0ee08905
...
...
@@ -18,7 +18,6 @@ import java.lang.reflect.InvocationTargetException;
import
java.net.MalformedURLException
;
import
java.net.URL
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.log.BonitaStudioLog
;
import
org.bonitasoft.studio.engine.BOSEngineManager
;
import
org.bonitasoft.studio.engine.i18n.Messages
;
...
...
@@ -26,6 +25,7 @@ import org.bonitasoft.studio.engine.operation.PortalURLBuilder;
import
org.bonitasoft.studio.engine.preferences.BonitaUserXpPreferencePage
;
import
org.bonitasoft.studio.preferences.BonitaPreferenceConstants
;
import
org.bonitasoft.studio.preferences.BonitaStudioPreferencesPlugin
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.eclipse.core.commands.AbstractHandler
;
import
org.eclipse.core.commands.ExecutionEvent
;
import
org.eclipse.core.commands.ExecutionException
;
...
...
bundles/plugins/org.bonitasoft.studio.engine/src/org/bonitasoft/studio/engine/operation/RunProcessOperation.java
View file @
0ee08905
...
...
@@ -19,7 +19,6 @@ import java.net.URL;
import
org.bonitasoft.engine.api.ProcessAPI
;
import
org.bonitasoft.engine.session.APISession
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.jface.BonitaErrorDialog
;
import
org.bonitasoft.studio.common.log.BonitaStudioLog
;
import
org.bonitasoft.studio.common.repository.Repository
;
...
...
@@ -33,6 +32,7 @@ import org.bonitasoft.studio.model.process.Actor;
import
org.bonitasoft.studio.model.process.Contract
;
import
org.bonitasoft.studio.model.process.FormMappingType
;
import
org.bonitasoft.studio.model.process.Pool
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.eclipse.core.commands.Command
;
import
org.eclipse.core.commands.ExecutionEvent
;
import
org.eclipse.core.runtime.IProgressMonitor
;
...
...
bundles/plugins/org.bonitasoft.studio.form.preview/META-INF/MANIFEST.MF
View file @
0ee08905
...
...
@@ -28,7 +28,6 @@ Require-Bundle: org.bonitasoft.studio.common;bundle-version="6.0.0",
org.bonitasoft.studio.diagram.custom;bundle-version="1.0.0",
org.bonitasoft.studio.configuration;bundle-version="6.0.0",
org.bonitasoft.studio.profiles;bundle-version="6.0.0",
org.bonitasoft.studio.browser;bundle-version="6.5.0",
org.mockito;resolution:=optional,
assertj-core;bundle-version="1.5.0";resolution:=optional,
org.junit;bundle-version="4.11.0";resolution:=optional,
...
...
bundles/plugins/org.bonitasoft.studio.form.preview/src/org/bonitasoft/studio/form/preview/FormPreviewOperation.java
View file @
0ee08905
...
...
@@ -40,7 +40,6 @@ import org.bonitasoft.engine.exception.UnknownAPITypeException;
import
org.bonitasoft.engine.exception.UpdateException
;
import
org.bonitasoft.engine.identity.UserNotFoundException
;
import
org.bonitasoft.engine.session.APISession
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.BonitaConstants
;
import
org.bonitasoft.studio.common.ProjectUtil
;
import
org.bonitasoft.studio.common.editingdomain.CustomDiagramEditingDomainFactory
;
...
...
@@ -66,6 +65,7 @@ import org.bonitasoft.studio.model.process.Task;
import
org.bonitasoft.studio.model.process.diagram.part.ProcessDiagramEditorUtil
;
import
org.bonitasoft.studio.preferences.BonitaPreferenceConstants
;
import
org.bonitasoft.studio.preferences.BonitaStudioPreferencesPlugin
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.bonitasoft.studio.repository.themes.ApplicationLookNFeelFileStore
;
import
org.eclipse.core.commands.ExecutionException
;
import
org.eclipse.core.runtime.Assert
;
...
...
bundles/plugins/org.bonitasoft.studio.intro/META-INF/MANIFEST.MF
View file @
0ee08905
...
...
@@ -18,7 +18,7 @@ Require-Bundle: org.eclipse.ui,
org.bonitasoft.studio.migration;bundle-version="1.0.0",
org.bonitasoft.studio.importer;bundle-version="6.2.0",
org.bonitasoft.studio.engine,
org.bonitasoft.studio.
browser;bundle-version="6.5
.0"
org.bonitasoft.studio.
preferences;bundle-version="7.6
.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-ActivationPolicy: lazy
Export-Package: org.bonitasoft.studio.intro,org.bonitasoft.studio.intr
...
...
bundles/plugins/org.bonitasoft.studio.intro/src/org/bonitasoft/studio/intro/actions/OpenInExternalBrowserIntroAction.java
View file @
0ee08905
/**
* Copyright (C) 2014 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
* 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/>.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package
org.bonitasoft.studio.intro.actions
;
...
...
@@ -23,43 +20,42 @@ import java.net.URL;
import
java.net.URLDecoder
;
import
java.util.Properties
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.log.BonitaStudioLog
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.eclipse.ui.intro.IIntroSite
;
import
org.eclipse.ui.intro.config.IIntroAction
;
/**
* @author Aurelien Pupier
*
*/
public
class
OpenInExternalBrowserIntroAction
implements
IIntroAction
{
@Override
public
void
run
(
final
IIntroSite
site
,
final
Properties
params
)
{
final
String
urlToOpen
=
retrieveURLToOpen
(
params
);
openInExternalBrowser
(
urlToOpen
);
}
@Override
public
void
run
(
final
IIntroSite
site
,
final
Properties
params
)
{
final
String
urlToOpen
=
retrieveURLToOpen
(
params
);
openInExternalBrowser
(
urlToOpen
);
}
private
void
openInExternalBrowser
(
final
String
urlToOpen
)
{
try
{
if
(
urlToOpen
!=
null
)
{
final
URL
url
=
new
URL
(
urlToOpen
);
private
void
openInExternalBrowser
(
final
String
urlToOpen
)
{
try
{
if
(
urlToOpen
!=
null
)
{
final
URL
url
=
new
URL
(
urlToOpen
);
new
OpenBrowserOperation
(
url
).
execute
();
}
}
catch
(
final
MalformedURLException
e
)
{
BonitaStudioLog
.
error
(
e
);
}
}
catch
(
final
MalformedURLException
e
)
{
BonitaStudioLog
.
error
(
e
);
}
}
}
private
String
retrieveURLToOpen
(
final
Properties
params
)
{
String
urlToOpen
=
null
;
try
{
final
String
urlEncoded
=
params
.
getProperty
(
"url"
);
urlToOpen
=
URLDecoder
.
decode
(
urlEncoded
,
"UTF-8"
);
}
catch
(
final
UnsupportedEncodingException
e
)
{
BonitaStudioLog
.
error
(
e
);
}
return
urlToOpen
;
}
private
String
retrieveURLToOpen
(
final
Properties
params
)
{
String
urlToOpen
=
null
;
try
{
final
String
urlEncoded
=
params
.
getProperty
(
"url"
);
urlToOpen
=
URLDecoder
.
decode
(
urlEncoded
,
"UTF-8"
);
}
catch
(
final
UnsupportedEncodingException
e
)
{
BonitaStudioLog
.
error
(
e
);
}
return
urlToOpen
;
}
}
bundles/plugins/org.bonitasoft.studio.intro/src/org/bonitasoft/studio/intro/actions/SearchDocumentationInExternalBrowser.java
View file @
0ee08905
/**
* Copyright (C) 2014 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
* 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/>.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package
org.bonitasoft.studio.intro.actions
;
...
...
@@ -23,44 +20,44 @@ import java.net.URL;
import
java.net.URLEncoder
;
import
java.util.Properties
;
import
org.bonitasoft.studio.browser.operation.OpenBrowserOperation
;
import
org.bonitasoft.studio.common.ModelVersion
;
import
org.bonitasoft.studio.common.ProductVersion
;
import
org.bonitasoft.studio.common.log.BonitaStudioLog
;
import
org.bonitasoft.studio.preferences.browser.OpenBrowserOperation
;
import
org.eclipse.ui.intro.IIntroSite
;
import
org.eclipse.ui.intro.config.IIntroAction
;
/**
* @author Aurelien Pupier
*
*/
public
class
SearchDocumentationInExternalBrowser
implements
IIntroAction
{
private
final
static
String
SEARCH_DOC_URL
=
String
.
format
(
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=668&bos_redirect_product=bos&bos_redirect_major_version=%s&bos_redirect_minor_version=0"
,
ProductVersion
.
CURRENT_VERSION
);
private
final
static
String
SEARCH_DOC_URL
=
String
.
format
(
"http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=668&bos_redirect_product=bos&bos_redirect_major_version=%s&bos_redirect_minor_version=0"
,
ProductVersion
.
CURRENT_VERSION
);
@Override
public
void
run
(
final
IIntroSite
arg0
,
final
Properties
params
)
{
final
String
urlToOpen
=
calculateURLToOpen
(
params
);
openInExternalBrowser
(
urlToOpen
);
}
@Override
public
void
run
(
final
IIntroSite
arg0
,
final
Properties
params
)
{
final
String
urlToOpen
=
calculateURLToOpen
(
params
);
openInExternalBrowser
(
urlToOpen
);
}
private
void
openInExternalBrowser
(
final
String
urlToOpen
)
{
try
{