Skip to content

Commit 0aef569

Browse files
Merge pull request #3 from shoaibkhan-aspose/master
Aspose Project Wizard 2.4 for NetBeans 8.1
2 parents 8fa1ca5 + 9c7b29a commit 0aef569

File tree

10 files changed

+107
-168
lines changed

10 files changed

+107
-168
lines changed

Plugins/Aspose_for_NetBeans/manifest.mf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Manifest-Version: 1.0
22
OpenIDE-Module: com.aspose.nbplugin
33
OpenIDE-Module-Layer: com/aspose/nbplugin/layer.xml
44
OpenIDE-Module-Localizing-Bundle: com/aspose/nbplugin/Bundle.properties
5-
OpenIDE-Module-Specification-Version: 2.3.2
5+
OpenIDE-Module-Specification-Version: 2.4
66

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
build.xml.data.CRC32=c2f0fe01
1+
build.xml.data.CRC32=b3a14757
22
build.xml.script.CRC32=667ae84d
3-
build.xml.stylesheet.CRC32=a56c6a5b@2.67.1
3+
build.xml.stylesheet.CRC32=a56c6a5b@2.71.1
44
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6-
nbproject/build-impl.xml.data.CRC32=c2f0fe01
6+
nbproject/build-impl.xml.data.CRC32=b3a14757
77
nbproject/build-impl.xml.script.CRC32=c19f585f
8-
nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.67.1
8+
nbproject/build-impl.xml.stylesheet.CRC32=238281d1@2.71.1
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
user.properties.file=/Users/shoaibkhan/Library/Application Support/NetBeans/8.0.2/build.properties
1+
user.properties.file=/Users/shoaibkhan/Library/Application Support/NetBeans/8.1/build.properties

Plugins/Aspose_for_NetBeans/nbproject/project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
auxiliary.org-netbeans-spi-editor-hints-projects.perProjectHintSettingsFile=nbproject/cfg_hints.xml
2-
javac.source=1.7
2+
javac.source=1.6
33
javac.compilerargs=-Xlint -Xlint:-serial
44
license.file=nbproject/private/license.txt
55
nbm.homepage=http://www.aspose.com

Plugins/Aspose_for_NetBeans/nbproject/project.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,22 @@
3232
<specification-version>1.38.1</specification-version>
3333
</run-dependency>
3434
</dependency>
35+
<dependency>
36+
<code-name-base>org.netbeans.api.progress.nb</code-name-base>
37+
<build-prerequisite/>
38+
<compile-dependency/>
39+
<run-dependency>
40+
<specification-version>1.46.1</specification-version>
41+
</run-dependency>
42+
</dependency>
43+
<dependency>
44+
<code-name-base>org.netbeans.api.templates</code-name-base>
45+
<build-prerequisite/>
46+
<compile-dependency/>
47+
<run-dependency>
48+
<specification-version>1.6.1</specification-version>
49+
</run-dependency>
50+
</dependency>
3551
<dependency>
3652
<code-name-base>org.netbeans.modules.project.ant</code-name-base>
3753
<build-prerequisite/>
@@ -116,6 +132,14 @@
116132
<specification-version>8.22.1</specification-version>
117133
</run-dependency>
118134
</dependency>
135+
<dependency>
136+
<code-name-base>org.openide.util.ui</code-name-base>
137+
<build-prerequisite/>
138+
<compile-dependency/>
139+
<run-dependency>
140+
<specification-version>9.4.1</specification-version>
141+
</run-dependency>
142+
</dependency>
119143
</module-dependencies>
120144
<public-packages/>
121145
</data>

Plugins/Aspose_for_NetBeans/src/com/aspose/nbplugin/AsposeWizardPanelComponent.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,15 @@ public void storeSettings(Object settings)
146146
}
147147
}
148148

149-
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_CELLS, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeCells().isSelected());
150149
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_WORDS, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeWords().isSelected());
150+
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_CELLS, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeCells().isSelected());
151151
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_PDF, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposePdf().isSelected());
152152
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_SLIDES, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeSlides().isSelected());
153-
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_BARCODE, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeBarCode().isSelected());
154153
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_EMAIL, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeEmail().isSelected());
155-
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_OCR, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeOCR().isSelected());
154+
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_BARCODE, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeBarCode().isSelected());
156155
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_IMAGING, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeImaging().isSelected());
157156
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_TASKS, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeTasks().isSelected());
157+
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_OCR, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeOCR().isSelected());
158158
((WizardDescriptor) settings).putProperty(AsposeConstants.ASPOSE_DIAGRAM, ((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeDiagram().isSelected());
159159
}
160160

@@ -198,7 +198,6 @@ void updateComponentsSelectionList()
198198
if (((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposePdf().isSelected())
199199
{
200200
AsposeJavaComponents.list.get(AsposeConstants.ASPOSE_PDF).set_selected(true);
201-
AsposeJavaComponents.list.get(AsposeConstants.ASPOSE_PDF_KIT).set_selected(true);
202201
}
203202

204203
if (((AsposePanelVisualComponent) getComponent()).getjCheckBoxAsposeSlides().isSelected())

Plugins/Aspose_for_NetBeans/src/com/aspose/nbplugin/utils/AsposeComponentsManager.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ public boolean downloadComponents() {
7474
if (productRelease == null) {
7575
continue;
7676
}
77-
System.out.println("File Name: " + productRelease.getFileName());
78-
System.out.println("Download Link: " + productRelease.getDownloadLink());
77+
AsposeConstants.println("File Name: " + productRelease.getFileName());
78+
AsposeConstants.println("Download Link: " + productRelease.getDownloadLink());
7979
component.set_downloadUrl(productRelease.getDownloadLink());
8080
component.set_downloadFileName(productRelease.getFileName());
8181
component.set_changeLog(productRelease.getChangeLog());
@@ -449,6 +449,5 @@ static public void extractFolder(String zipFile, String newPath) throws ZipExcep
449449
is.close();
450450
}
451451
}
452-
}
453-
454-
}
452+
}
453+
}

Plugins/Aspose_for_NetBeans/src/com/aspose/nbplugin/utils/AsposeConstants.java

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,30 @@ public class AsposeConstants {
3535
public static final String APACHE_POI = "APACHE_POI";
3636
3737

38-
public static final String GIT_EX_URL_WORDS = "https://github.com/asposewords/Aspose_Words_Java.git";
39-
public static final String GIT_EX_URL_CELLS = "https://github.com/asposecells/Aspose_Cells_Java.git";
40-
public static final String GIT_EX_URL_PDF = "https://github.com/asposepdf/Aspose_Pdf_Java.git";
41-
public static final String GIT_EX_URL_SLIDES = "https://github.com/asposeslides/Aspose_Slides_Java.git";
42-
public static final String GIT_EX_URL_EMAIL = "https://github.com/asposeemail/Aspose_Email_Java.git";
43-
public static final String GIT_EX_URL_BARCODE = "https://github.com/asposebarcode/Aspose_BarCode_Java.git";
44-
public static final String GIT_EX_URL_IMAGING = "https://github.com/asposeimaging/Aspose_Imaging_Java.git";
45-
public static final String GIT_EX_URL_TASKS = "https://github.com/asposetasks/Aspose_Tasks_Java.git";
46-
public static final String GIT_EX_URL_OCR = "https://github.com/asposeocr/Aspose_OCR_Java.git";
47-
public static final String GIT_EX_URL_DIAGRAM = "https://github.com/asposediagram/Aspose_Diagram_Java.git";
38+
//Library download URLS
39+
public static final String GIT_URL_WORDS = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.words.aspx";
40+
public static final String GIT_URL_CELLS = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.cells.aspx";
41+
public static final String GIT_URL_PDF = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.pdf.aspx";
42+
public static final String GIT_URL_SLIDES = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.slides.aspx";
43+
public static final String GIT_URL_EMAIL = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.email.aspx";
44+
public static final String GIT_URL_BARCODE = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.barcode.aspx";
45+
public static final String GIT_URL_IMAGING = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.imaging.aspx";
46+
public static final String GIT_URL_TASKS = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.tasks.aspx";
47+
public static final String GIT_URL_OCR = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.ocr.aspx";
48+
public static final String GIT_URL_DIAGRAM = "http://community.aspose.com/community/secureservices/asposedownloads/java/aspose.diagram.aspx";
49+
50+
// Examples download URLS
51+
public static final String GIT_EX_URL_WORDS = "https://github.com/asposemarketplace/Aspose-Words-Java.git";
52+
public static final String GIT_EX_URL_CELLS = "https://github.com/asposemarketplace/Aspose-Cells-Java.git";
53+
public static final String GIT_EX_URL_PDF = "https://github.com/asposemarketplace/Aspose-Pdf-Java.git";
54+
public static final String GIT_EX_URL_SLIDES = "https://github.com/asposemarketplace/Aspose-Slides-Java.git";
55+
public static final String GIT_EX_URL_EMAIL = "https://github.com/asposemarketplace/Aspose-Email-Java.git";
56+
public static final String GIT_EX_URL_BARCODE = "https://github.com/asposemarketplace/Aspose-BarCode-Java.git";
57+
public static final String GIT_EX_URL_IMAGING = "https://github.com/asposemarketplace/Aspose-Imaging-Java.git";
58+
public static final String GIT_EX_URL_TASKS = "https://github.com/asposemarketplace/Aspose-Tasks-Java.git";
59+
public static final String GIT_EX_URL_OCR = "https://github.com/asposemarketplace/Aspose-OCR-Java.git";
60+
public static final String GIT_EX_URL_DIAGRAM = "https://github.com/asposemarketplace/Aspose-Diagram-Java.git";
4861

49-
public static final String GIT_ID_ASPOSE_WORDS = "42920c7271138ff7bc60f9da27218d9a0bb359c0";
50-
public static final String GIT_ID_ASPOSE_CELLS = "a40801141394df7a538507b72f4334a26ea8a975";
51-
public static final String GIT_ID_ASPOSE_PDF = "23e55f91141ffac84922f93382360eb994da99b3";
52-
public static final String GIT_ID_ASPOSE_SLIDES = "9b2469e8bf5422d236dc3bc70fd52d1056700da1";
53-
public static final String GIT_ID_ASPOSE_EMAIL = "06f2add49b99f8614980bf3fea825d6c53fecfd8";
54-
public static final String GIT_ID_ASPOSE_BARCODE = "cc4b605b1ade30ccdb2c8c87503094b20b38a88e";
55-
public static final String GIT_ID_ASPOSE_IMAGING = "216790129c2e297a3bb78e679bf541764efa1b0e";
56-
public static final String GIT_ID_ASPOSE_TASKS = "7b3a942a1ce6e4583a9adcbb1fae0d7940186ad9";
57-
public static final String GIT_ID_ASPOSE_OCR = "3b0e47cc23c60ea790b583d2fd7f550bf6c033f0";
58-
public static final String GIT_ID_ASPOSE_DIAGRAM = "bce6992a16efe4522e08ab59f92f3681e8f8b651";
59-
6062
public static final String WEBSERVICE_ENDPOINT = "http://community.aspose.com/community/SecureServices/AsposeDownloads.asmx";
6163

6264
//Project

0 commit comments

Comments
 (0)