Home
.. Links
.. Search
.. Plugins
.. Help
.. Irc Faq

Projects
.. Platform/Faq
.. JDT/Faq/Plan
.. PDE/Faq
.. SWT/Faq
.. RCP/Faq

Tools Projects
.. CDT/Faq
.. GEF/Faq
.. EMF/Faq

Wiki Tutorials

Hosted Projects
.. MTJ
.. Google Summer Of Code 2007
.. Update Manager 2.0
.. EasyEclipse
.. Stylebase for Eclipse

Archives

SnipetsExamples


xanax online phentermine 37 5mg hydrocodone no prescription xanax buy online diazepam adipex prescriptions buy cheap fioricet what does alprazolam look like ativan buy online order cialis tramadol herbal viagra valium online phentermine 37 5mg phentermine hydrocodone no prescription xanax online cheap diazepam adipex prescriptions buy cheap fioricet buy alprazolam online ativan cialis tramadol generic viagra valium online buy celexa valium xanax online buy tramadol cheap cialis buy cheap fioricet ambien buy carisoprodol buy ultram online canada discount celexa levitra buy soma online pharmacy tramadol cheap levitra buy online ultram zoloft suicide buy meridia buy cheap celexa generic cialis atenolol medication hydrocodone no prescription buy cheap ultracet carisoprodol buying cheap diazepam buy diazepam cheap tramadol drug fioricet buy cheap ultram cheap viagra side effects of xanax ambien alprazolam ativan cheap buy cialis buy online carisoprodol buy diazepam valium without prescription buy cialis generic valium xanax xr tramadol online buy cialis buy cheap fioricet generic ambien buy carisoprodol generic ultram buy celexa tramadol tramadol buy online fioricet cheap ultram viagra alternative buy xanax ambien alprazolam ativan data cialis online carisoprodol buying buy cheap diazepam buy valium

Eclipse-plugins snippets page : Snippets
How Running Snipets

Creating a SWT MenuBar

public void Print() {
// dispid=106, type=METHOD, name="ExecWB"
int[] rgdispid = oleAutomation.getIDsOfNames(new String[]{"ExecWB"});
int dispIdMember = rgdispid[0];
Variant[] rgvarg = new Variant[2]; // this is the URL parameter
rgvarg[0] = new Variant(6); // "SHDocVw.OLECMDID.OLECMDID_PRINT");
rgvarg[1] = new Variant(1); // "SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_PROMPTUSER");
Variant pVarResult = oleAutomation.invoke(dispIdMember, rgvarg);
}



Comments:

From kiko [213.16.35.174] - 9/7/04 7:16 AM

I have a problem with memory leaks when I open a swt dialog.
Here is the problem -

I have downloaded the plugin called Hyades which can launch a program and
than collect information about it. I have created a shell with a button
which opens a dialog. I open the shell. After that I press the Ok button
in the dialog and the dialog closes.Here is the code:

private void handleButtonDown() {
RoadTimeShiftsDialog dialog = new RoadTimeShiftsDialog(shell);
dialog.open();
}

The problem is that after I close this dialog and after I close the shell
Hyades shows that the carbage collector haven`t collected an instance of
RoadTimeShiftDialog. In fact if I press the button twice there will be two
not collected instance. If I press it 10 times there will be 10 not
collected instance. And so on.

My question is - Is the garbage collector responsible for collecting and
destroing the instances of this dialog or is it somehow my
responsibility.If it is my responsibility that what must I do ??

Thatk you.

From Neco [200.252.157.100] - 8/23/04 12:59 PM

How to create a Splash Screen with JFace?


Last Modified 10/2/06 11:46 AM

Hide Tools