java - Pass and receive parameter into Eclipse plugin -


i develop plugin based on eclipse. want define , pass parameter eclipse , plugin can receive

for example

/soft/eclipse-3.7.2/eclipse -data /user/nquan/workspace -var1 value1 -var2 value2 

in eclipse plugin, how can value of var1 , var2?

regards

use org.eclipse.core.runtime.platform application arguments:

string [] args = platform.getapplicationargs(); 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -