Creating New ProjectType Netbeans Plugin - java

I am going thru official tutorials here and here. It pretty much summarise how to provide support of new project template. Just one thing is not clear to me. I am trying to replicate screens of PHP plugins as given below:
Selecting Project Category
Set path/Folers etc for Project Creation
I exactly need these two screens. Is there some existing Dialog template that I can use or I have to create from scratch?

Related

How do I use BootstrapFX in my Maven JavaFX project with FXML?

Using IntelliJ, I wanted to create a new JavaFX project using BootstrapFX framework in order to improve the look of my app. I thought it would be easy to include it and use it but I couldn't find any documentation online.
The only example I found is this: Link but this doesn't mention anything about settings in the FXML files and controller classes since it does everything in the start() method. Can somebody help me? I anticipately apologize for any incorrect thing I could have said since I am new to this.

Creating a new Java project in Eclipse does not create a (default) package?

I'm new to Java, and have been using mostly YouTube and various websites' tutorials to learn Java. I'm using Eclipse neon 3 as my IDE.
Every time a new project is created in one of these tutorials, I noticed a lot of the time that a package in the src file is created automatically , and is often times called "(default)". However, this is not the case for me; in fact, no package is created at all (pls see attached screenshot), but strangely enough, the classes I created for basic learning still ran (as far as I'm aware).
Therefore should I be concerned, and if so, how do I get the IDE to auto-create these packages? Should I just manually create a package every time I start a new project? Thanks.
From your screenshot, I guess you're probably using the Navigator view. Use Window-->Show View-->Project Explorer option. Also, I think the default package will appear only when you create a Class with no explicit package.

How to remove Java from RCP application

I am making an Eclipse product which contains the Xtext plugin.I followed this tutorial https://kthoms.wordpress.com/2010/11/12/setting-up-a-rcp-product-for-a-dsl/ and I made a running product.
I created a platform runtime feature with the "needed" plugins. Most plugins are useless and I remove them one by one. But I can't remove Java from the RCP application and some others useless plugins.
When I tried to remove jdt, for example, Xtext doesn't work anymore.
How can I remove Java from the application? Is it implement by a plugin?
Thank you for your help guys :)
If you want to remove something from platform, you can use "activities".
Open your plugin.xml, Extensions tab then add the extension org.eclipse.ui.activities
Create an activitypatternbinding child as the extension, give it an ID of your choice, then fill the pattern attribute with the eclipse id of the element you want to hide. If you want to hide java perspective, this should be something like org.eclipse.jdt.ui.JavaPerspective.
More infos here and here

Adding Workflow to custom portlets (created by Plugins-SDK)

I am new to liferay.
I am using Liferay 6.1.1 CE.
I want to add workflow (Kaleo) to a portlet which contains two textfields and a button.
The portlet is created through Plugins-SDK.
I've already gone through this blog: How to add workflow capabilities on Knowledge Base articles or any custom assets in plugins
But I just cant get so much information for my need.
Help me.
Try following it may help you
http://www.cignex.com/articles/applying-advanced-workflow-custom-assets-liferay-6
http://liferayzone.wordpress.com/2013/11/29/kaleo-workflow-configuration-for-custom-portlet-in-liferay-6-1/
Download workflow bundle and follow the steps which i specified in the document.
https://sourceforge.net/projects/meeralferay/files/LiferayWorkFlowPortlet

Adding Android SDK to an existing Java project?

I'm a fan of a fairly big open-source program which is written in Java and uses Swing as a front-end client on series of web actions. As I've been working with Android development for a few months, I had an idea that I could create a new app that works similarly to the Swing application. The program is well-organized and separates interface from implementation, also offering a command line interface as well as Swing.
So ideally I'd like to be able to just inject a new Android package into the existing file system somewhere, make use of the back end that already exists, and have it work seamlessly with new updates to the program. The closest suggestion I found was this:
Q: How can I create a new project from an existing project, using Android command line tools?
A: Copy the directory tree of the old project into a new project.
This doesn't seem like it can be feasible advice for me, since I have to work with the existing SVN repository rather than starting the whole thing from scratch. Is there any way to pull this off?
since I have to work with the existing SVN repository rather than starting the whole thing from scratch. Is there any way to pull this off?
I doubt it. Android won't like the Swing code; standard Java won't know what to do with the Android code.
I suggest that you reorganize your code base into three:
One generates a JAR file, containing the common logic
One is the rest of your existing Swing/command-line logic, which uses the JAR
One is a new Android project, which also uses the JAR
Maybe you can pull this off by having src-jar/, src-swing/ and src/ (latter for Android) and associated build scripts. Personally, I'd have three totally separate projects.
Since SVN supports move operations (at least, it used to, last I used it, oh so many years ago), you should be able to accomplish this reorganization without losing any version history.

Categories