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
Post a Comment