Skip to content

Commit cb7566c

Browse files
Merge pull request #7 from shoaibkhan-aspose/master
Aspose.Total Project Wizard v1.2 - Eclipse Update
2 parents 8e87964 + bfa479d commit cb7566c

File tree

14 files changed

+199
-162
lines changed

14 files changed

+199
-162
lines changed

Plugins/Aspose_for_Eclipse/EclipsePlugin/com.aspose.ecplugin.newproject.feature/category.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<site>
3-
<feature url="features/com.aspose.ecplugin.newproject.feature_1.1.0.jar" id="com.aspose.ecplugin.newproject.feature" version="1.1.0">
4-
<category name="aspose_projects"/>
3+
<feature url="features/com.aspose.ecplugin.newproject.feature_1.2.0.jar" id="com.aspose.ecplugin.newproject.feature" version="1.2">
4+
<category name="Aspose_Project_Wizard"/>
55
</feature>
6-
<category-def name="aspose_projects" label="Aspose">
6+
<bundle id="com.aspose.ecplugin" version="1.2.0">
7+
<category name="Aspose_Project_Wizard"/>
8+
</bundle>
9+
<category-def name="Aspose_Project_Wizard" label="Aspose Project Wizard">
710
<description>
811
www.aspose.com
912
</description>

Plugins/Aspose_for_Eclipse/EclipsePlugin/com.aspose.ecplugin.newproject.feature/feature.xml

Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,41 @@
22
<feature
33
id="com.aspose.ecplugin.newproject.feature"
44
label="Aspose Project Wizard"
5-
version="1.1.0"
6-
provider-name="Aspose">
5+
version="1.2"
6+
provider-name="Aspose"
7+
plugin="com.aspose.ecplugin">
78

8-
<description url="http://aspose.com">
9-
Creates new project for Aspose selected products after downloading them automatically.
9+
<description url="http://www.aspose.com">
10+
Creates new project for Aspose selected products after downloading
11+
them automatically.
1012
</description>
1113

12-
<copyright url="http://www.example.com/copyright">
13-
Aspose Copyright 2013-2014
14+
<copyright>
15+
Copyright (c) 2001-2015 Aspose Pty Ltd
1416
</copyright>
1517

1618
<license url="http://aspose.com">
1719
The MIT License (MIT)
1820

19-
Copyright (c) Aspose pty ltd, 2013-2014
20-
21-
Permission is hereby granted, free of charge, to any person obtaining a copy
22-
of this software and associated documentation files (the &quot;Software&quot;), to deal
23-
in the Software without restriction, including without limitation the rights
24-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
25-
copies of the Software, and to permit persons to whom the Software is
26-
furnished to do so, subject to the following conditions:
27-
28-
The above copyright notice and this permission notice shall be included in
29-
all copies or substantial portions of the Software.
30-
31-
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
32-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
33-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
35-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
36-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
37-
THE SOFTWARE.
21+
Copyright (c) 2001-2015 Aspose Pty Ltd
22+
23+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
24+
25+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
26+
27+
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3828
</license>
3929

4030
<url>
31+
<update label="Aspose.Total Project Wizard for Eclipse" url="http://cdn.aspose.com/marketplace/eclipse/asposewizardrepo/"/>
4132
<discovery label="aspose.com" url="http://www.aspose.com/java/total-component.aspx"/>
4233
</url>
4334

4435
<plugin
4536
id="com.aspose.ecplugin"
4637
download-size="0"
4738
install-size="0"
48-
version="1.1.0"
39+
version="1.2"
4940
unpack="false"/>
5041

5142
</feature>

Plugins/Aspose_for_Eclipse/EclipsePlugin/com.aspose.ecplugin/META-INF/MANIFEST.MF

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
3-
Bundle-Name: Aspose Ecplugin
3+
Bundle-Name: Aspose Project Wizard
44
Bundle-SymbolicName: com.aspose.ecplugin;singleton:=true
5-
Bundle-Version: 1.1
5+
Bundle-Version: 1.2
66
Bundle-Activator: com.aspose.ecplugin.Activator
7-
Bundle-Vendor: ASPOSE
7+
Bundle-Vendor: Aspose
88
Require-Bundle: org.eclipse.ui,
99
org.eclipse.core.runtime,
1010
org.eclipse.ui.ide;bundle-version="1.0.0",
-650 Bytes
Binary file not shown.
-664 Bytes
Binary file not shown.
-15.5 KB
Binary file not shown.

Plugins/Aspose_for_Eclipse/EclipsePlugin/com.aspose.ecplugin/src/com/aspose/ecplugin/AsposeComponentsManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public void run(IProgressMonitor monitor) {
9292
if(component.is_selected())
9393
{
9494
try {
95-
ProductRelease productRelease = getProductReleaseInfo(component.get_downloadUrl());
95+
ProductRelease productRelease = getProductReleaseInfo(component.get_productUrl());
9696
component.set_downloadUrl(productRelease.getDownloadLink());
9797
component.set_downloadFileName(productRelease.getFileName());
9898
component.set_changeLog(productRelease.getChangeLog());
@@ -412,7 +412,7 @@ public static String removeExtention(String filePath) {
412412
public static boolean isIneternetConnected()
413413
{
414414
try {
415-
InetAddress address = InetAddress.getByName(AsposeConstants.INTERNTE_CONNNECTIVITY_PING_URL);
415+
InetAddress address = InetAddress.getByName(AsposeConstants.INTERNET_CONNECTIVITY_PING_URL);
416416
if(address == null)
417417
{
418418
return false;

Plugins/Aspose_for_Eclipse/EclipsePlugin/com.aspose.ecplugin/src/com/aspose/ecplugin/AsposeConstants.java

Lines changed: 49 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,30 @@ public class AsposeConstants {
2424
public static final String ASPOSE_DIAGRAM = "Aspose.Diagram";
2525
public static final String ASPOSE_TASKS = "Aspose.Tasks";
2626

27+
//Library download URLS
28+
public static final String GIT_URL_WORDS = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.words.aspx";
29+
public static final String GIT_URL_CELLS = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.cells.aspx";
30+
public static final String GIT_URL_PDF = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.pdf.aspx";
31+
public static final String GIT_URL_SLIDES = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.slides.aspx";
32+
public static final String GIT_URL_EMAIL = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.email.aspx";
33+
public static final String GIT_URL_BARCODE = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.barcode.aspx";
34+
public static final String GIT_URL_IMAGING = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.imaging.aspx";
35+
public static final String GIT_URL_TASKS = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.tasks.aspx";
36+
public static final String GIT_URL_OCR = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.ocr.aspx";
37+
public static final String GIT_URL_DIAGRAM = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.diagram.aspx";
38+
39+
// Examples download URLS
40+
public static final String GIT_EX_URL_WORDS = "git://github.com/asposemarketplace/Aspose-Words-Java.git";
41+
public static final String GIT_EX_URL_CELLS = "git://github.com/asposemarketplace/Aspose-Cells-Java.git";
42+
public static final String GIT_EX_URL_PDF = "git://github.com/asposemarketplace/Aspose-Pdf-Java.git";
43+
public static final String GIT_EX_URL_SLIDES = "git://github.com/asposemarketplace/Aspose-Slides-Java.git";
44+
public static final String GIT_EX_URL_EMAIL = "git://github.com/asposemarketplace/Aspose-Email-Java.git";
45+
public static final String GIT_EX_URL_BARCODE = "git://github.com/asposemarketplace/Aspose-BarCode-Java.git";
46+
public static final String GIT_EX_URL_IMAGING = "git://github.com/asposemarketplace/Aspose-Imaging-Java.git";
47+
public static final String GIT_EX_URL_TASKS = "git://github.com/asposemarketplace/Aspose-Tasks-Java.git";
48+
public static final String GIT_EX_URL_OCR = "git://github.com/asposemarketplace/Aspose-OCR-Java.git";
49+
public static final String GIT_EX_URL_DIAGRAM = "git://github.com/asposemarketplace/Aspose-Diagram-Java.git";
50+
2751
//public static final String WEBSERVICE_ENDPOINT = "http://community.aspose.com/community/SecureServices/AsposeDownloads.asmx";
2852

2953
//Project
@@ -35,7 +59,7 @@ public class AsposeConstants {
3559
public static final String LIB_FOLDER = "lib";
3660
public static final String BIN_FOLDER = "bin";
3761
public static final String ASPOSE_JAVA_COMP_LINK_OPN_CMD = "cmd /c start http://www.aspose.com/java/total-component.aspx";
38-
public static final String INTERNTE_CONNNECTIVITY_PING_URL = "java.sun.com";
62+
public static final String INTERNET_CONNECTIVITY_PING_URL = "community.aspose.com";
3963

4064
//Messages UI text
4165
public static final String FIRST_PAGE_NAME = "Aspose Project Wizard";
@@ -53,28 +77,28 @@ public class AsposeConstants {
5377
public static final String EXAMPLES_DOWNLOAD_REQUIRED = "Example needs to be downloaded, continue to download?";
5478
public static final String EXAMPLES_INTERNET_CONNECTION_REQUIRED_MESSAGE ="Internet connectivity is required to download examples";
5579
//advertise
56-
public static final String ASPOSE_ALL_COMPONENTS_TEXT = "» Generate reports using mail merge"
57-
+"\n» Excel Reporting - Build dynamic Excel reports on the fly"
58-
+"\n» Create Excel dashboards, incorporating charts and pivot tables"
59-
+"\n» High-fidelity Excel rendering and printing"
60-
+"\n» Create new PDF documents using the product API"
61-
+"\n» Transform an XML document into PDF format"
62-
+"\n» Convert an Image file into PDF format"
63-
+"\n» Create new slides or clone existing slides from templates"
64-
+"\n» Add, remove, replace or extract text from PDF files"
65-
+"\n» Add, remove, replace or extract images from PDF files"
66-
+"\n» Convert a PDF file to an image"
67-
+"\n» Generate barcode images and save to stream or image file"
68-
+"\n» Project management, such as project planning, definition and tracking"
69-
+"\n» Recognize barcodes from stream or image file"
70-
+"\n» Create, load and manipulate Microsoft Visio drawings within Java application";
80+
public static final String ASPOSE_ALL_COMPONENTS_TEXT = "» Generate reports using mail merge"
81+
+"\n» Excel Reporting - Build dynamic Excel reports on the fly"
82+
+"\n» Create Excel dashboards, incorporating charts and pivot tables"
83+
+"\n» High-fidelity Excel rendering and printing"
84+
+"\n» Create new PDF documents using the product API"
85+
+"\n» Transform an XML document into PDF format"
86+
+"\n» Convert an Image file into PDF format"
87+
+"\n» Create new slides or clone existing slides from templates"
88+
+"\n» Add, remove, replace or extract text from PDF files"
89+
+"\n» Add, remove, replace or extract images from PDF files"
90+
+"\n» Convert a PDF file to an image"
91+
+"\n» Generate barcode images and save to stream or image file"
92+
+"\n» Project management, such as project planning, definition and tracking"
93+
+"\n» Recognize barcodes from stream or image file"
94+
+"\n» Create, load and manipulate Microsoft Visio drawings within Java application";
7195

7296
public static final String ASPOSE_CELLS_FEATURE_TEXT =
73-
"Aspose.Cells for Java is an Excel® " +
97+
"Aspose.Cells for Java is an Excel® " +
7498
"\nspreadsheet reporting component that" +
7599
"\n enables Java applications to create " +
76-
"\nand manage Excel® spreadsheets without" +
77-
"\n using Microsoft Excel®. Aspose.Cells " +
100+
"\nand manage Excel® spreadsheets without" +
101+
"\n using Microsoft Excel®. Aspose.Cells " +
78102
"\nfor Java is an incredibly feature rich " +
79103
"\ncomponent that offers much more than " +
80104
"\njust basic data export functions.";
@@ -124,9 +148,9 @@ public class AsposeConstants {
124148
public static final String ASPOSE_TASKS_FEATURE_TEXT =
125149
"Aspose.Tasks for Java is a project management " +
126150
"\nAPI that enables Java application developers " +
127-
"\nto provide Microsoft Project® document manipulation" +
128-
"\n capability in their applications all without " +
129-
"\nusing Microsoft Project®. With this powerful API, "+
151+
"\nto provide Microsoft Project® document manipulation" +
152+
"\n capability in their applications - all without " +
153+
"\nusing Microsoft Project®. With this powerful API, "+
130154
"\ndevelopers can control various stages of project" +
131155
"\n management, such as project planning, definition"+
132156
"\n and tracking.";
@@ -160,11 +184,12 @@ public class AsposeConstants {
160184
"\nMicrosoft Visio. It provides better performance and "
161185
+"\nis easier to use to manipulate diagrams and convert " +
162186
"\nfiles than Microsoft Office Automation.";
163-
private static final boolean printing_allowed = true;
187+
188+
private static final boolean PRINTING_ALLOWED = true;
164189

165190
public static final void println(String message)
166191
{
167-
if(printing_allowed)
192+
if(PRINTING_ALLOWED)
168193
{
169194
System.out.println(message);
170195
}

Plugins/Aspose_for_Eclipse/EclipsePlugin/com.aspose.ecplugin/src/com/aspose/ecplugin/AsposeJavaComponent.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ public class AsposeJavaComponent {
1717
private boolean _latestRelease;
1818
private String _changeLog;
1919
private String _remoteExamplesRepository;
20+
private String _productUrl;
21+
2022
public AsposeJavaComponent()
2123
{
2224
_selected = false;
@@ -94,6 +96,20 @@ public void set_downloadUrl(String _downloadUrl) {
9496
this._downloadUrl = _downloadUrl;
9597
}
9698

99+
/**
100+
* @return the _productUrl
101+
*/
102+
public String get_productUrl() {
103+
return _productUrl;
104+
}
105+
106+
/**
107+
* @param _productUrl the _productUrl to set
108+
*/
109+
public void set_productUrl(String _productUrl) {
110+
this._productUrl = _productUrl;
111+
}
112+
97113
/**
98114
* @return the _latestVersion
99115
*/

0 commit comments

Comments
 (0)