Custom ProgressMonitorDialog classAccess restriction on class due to restriction on required library rt.jar?How to turn off the Eclipse code formatter for certain sections of Java code?setVisible() before executing code in eclipse SWTSWT Table and TableviewerSWT - Opening / Disposing Shells - General PracticeMultiple delete confirmation - Eclipse GMFDouble click listener on eclipse workspace resourceHow to invoke getContainer() method of IWizard classDisable SWT Dialog close programmaticallyActions to perform after WizardPage is shown
Why does FFmpeg choose 10+20+20 ms instead of an even 16 ms for 60 fps GIF images?
At which point can a system be compromised when downloading archived data from an untrusted source?
Wordplay addition paradox
Kepler space telescope undetected planets
Was Jacobi the first to notice the ambiguity in the partial derivatives notation? And did anyone object to his fix?
Why is Katakana not pronounced Katagana?
Cover a cube with four-legged walky-squares!
Did Voldemort kill his father before finding out about Horcruxes?
Coverting list of string into integers and reshaping the original list
How can electric field be defined as force per charge, if the charge makes its own, singular electric field?
What are the first usages of "thong" as a wearable item of clothing, both on the feet and on the waist?
Why does Eliyahu appear at a brit milah?
Does the Intel 8085 CPU use real memory addresses?
Why does "git status" show I'm on the master branch and "git branch" does not in a newly created repository?
What happens if a company buys back all of its shares?
What is the word for "event executor"?
Is it ethical for a company to ask its employees to move furniture on a weekend?
Where do the electrons come from to make the carbon stable during bombardment of alpha particles on beryllium
Random piece of plastic
Is passive Investigation essentially truesight against illusions?
How to honestly answer questions from a girlfriend like "How did you find this place" without giving the impression I'm always talking about my exes?
Operation Unz̖̬̜̺̬a͇͖̯͔͉l̟̭g͕̝̼͇͓̪͍o̬̝͍̹̻
Improve quality of image bars
Which GPUs to get for Mathematical Optimization (if any...)?
Custom ProgressMonitorDialog class
Access restriction on class due to restriction on required library rt.jar?How to turn off the Eclipse code formatter for certain sections of Java code?setVisible() before executing code in eclipse SWTSWT Table and TableviewerSWT - Opening / Disposing Shells - General PracticeMultiple delete confirmation - Eclipse GMFDouble click listener on eclipse workspace resourceHow to invoke getContainer() method of IWizard classDisable SWT Dialog close programmaticallyActions to perform after WizardPage is shown
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Can I have a code snippet where the class ProgressMonitorDialog.java is extended. I have a requirement where a piece of code is executed under the ProgressMonitorDialog.java class (in its operation class) but the dialog should not be disposed after the immediately after, instead it must be in some other part of the code that cannot be included there .
eclipse swt jface
add a comment |
Can I have a code snippet where the class ProgressMonitorDialog.java is extended. I have a requirement where a piece of code is executed under the ProgressMonitorDialog.java class (in its operation class) but the dialog should not be disposed after the immediately after, instead it must be in some other part of the code that cannot be included there .
eclipse swt jface
add a comment |
Can I have a code snippet where the class ProgressMonitorDialog.java is extended. I have a requirement where a piece of code is executed under the ProgressMonitorDialog.java class (in its operation class) but the dialog should not be disposed after the immediately after, instead it must be in some other part of the code that cannot be included there .
eclipse swt jface
Can I have a code snippet where the class ProgressMonitorDialog.java is extended. I have a requirement where a piece of code is executed under the ProgressMonitorDialog.java class (in its operation class) but the dialog should not be disposed after the immediately after, instead it must be in some other part of the code that cannot be included there .
eclipse swt jface
eclipse swt jface
asked Mar 26 at 9:13
Hushedar MerwanHushedar Merwan
306 bronze badges
306 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
To stop the dialog being closed at the end of the run
call override the finishedRun
method.
The standard finishedRun
method is:
protected void finishedRun()
decrementNestingDepth();
close();
if you leave out the close()
call the dialog will stay open.
I have done the same, just added a check which I am handling somewhere else and then call the finishedRun method. If I again check the reference variable the shell is disposed but few variables hold some values. Will this affect the performance.
– Hushedar Merwan
Mar 26 at 9:55
Sorry but I don't understand the question
– greg-449
Mar 26 at 10:00
I have the reference to my custom ProgressDialog class in another class where I intend to dispose of the Dialog. After disposing it off once when I check the reference the shell is disposed but there are somethings still left. So will this affect my application performance since somethings are still left.
– Hushedar Merwan
Mar 26 at 10:11
It is impossible to answer that because I don't know what the 'somethings still left' are. If the shell is disposed then the dialog won't be used graphics resources anymore.
– greg-449
Mar 26 at 10:14
When I meant somethings it was some variables like block ,message etc. I wanted to be double sure before implementing it.
– Hushedar Merwan
Mar 26 at 10:53
|
show 1 more comment
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55353420%2fcustom-progressmonitordialog-class%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
To stop the dialog being closed at the end of the run
call override the finishedRun
method.
The standard finishedRun
method is:
protected void finishedRun()
decrementNestingDepth();
close();
if you leave out the close()
call the dialog will stay open.
I have done the same, just added a check which I am handling somewhere else and then call the finishedRun method. If I again check the reference variable the shell is disposed but few variables hold some values. Will this affect the performance.
– Hushedar Merwan
Mar 26 at 9:55
Sorry but I don't understand the question
– greg-449
Mar 26 at 10:00
I have the reference to my custom ProgressDialog class in another class where I intend to dispose of the Dialog. After disposing it off once when I check the reference the shell is disposed but there are somethings still left. So will this affect my application performance since somethings are still left.
– Hushedar Merwan
Mar 26 at 10:11
It is impossible to answer that because I don't know what the 'somethings still left' are. If the shell is disposed then the dialog won't be used graphics resources anymore.
– greg-449
Mar 26 at 10:14
When I meant somethings it was some variables like block ,message etc. I wanted to be double sure before implementing it.
– Hushedar Merwan
Mar 26 at 10:53
|
show 1 more comment
To stop the dialog being closed at the end of the run
call override the finishedRun
method.
The standard finishedRun
method is:
protected void finishedRun()
decrementNestingDepth();
close();
if you leave out the close()
call the dialog will stay open.
I have done the same, just added a check which I am handling somewhere else and then call the finishedRun method. If I again check the reference variable the shell is disposed but few variables hold some values. Will this affect the performance.
– Hushedar Merwan
Mar 26 at 9:55
Sorry but I don't understand the question
– greg-449
Mar 26 at 10:00
I have the reference to my custom ProgressDialog class in another class where I intend to dispose of the Dialog. After disposing it off once when I check the reference the shell is disposed but there are somethings still left. So will this affect my application performance since somethings are still left.
– Hushedar Merwan
Mar 26 at 10:11
It is impossible to answer that because I don't know what the 'somethings still left' are. If the shell is disposed then the dialog won't be used graphics resources anymore.
– greg-449
Mar 26 at 10:14
When I meant somethings it was some variables like block ,message etc. I wanted to be double sure before implementing it.
– Hushedar Merwan
Mar 26 at 10:53
|
show 1 more comment
To stop the dialog being closed at the end of the run
call override the finishedRun
method.
The standard finishedRun
method is:
protected void finishedRun()
decrementNestingDepth();
close();
if you leave out the close()
call the dialog will stay open.
To stop the dialog being closed at the end of the run
call override the finishedRun
method.
The standard finishedRun
method is:
protected void finishedRun()
decrementNestingDepth();
close();
if you leave out the close()
call the dialog will stay open.
answered Mar 26 at 9:38
greg-449greg-449
92.9k16 gold badges69 silver badges108 bronze badges
92.9k16 gold badges69 silver badges108 bronze badges
I have done the same, just added a check which I am handling somewhere else and then call the finishedRun method. If I again check the reference variable the shell is disposed but few variables hold some values. Will this affect the performance.
– Hushedar Merwan
Mar 26 at 9:55
Sorry but I don't understand the question
– greg-449
Mar 26 at 10:00
I have the reference to my custom ProgressDialog class in another class where I intend to dispose of the Dialog. After disposing it off once when I check the reference the shell is disposed but there are somethings still left. So will this affect my application performance since somethings are still left.
– Hushedar Merwan
Mar 26 at 10:11
It is impossible to answer that because I don't know what the 'somethings still left' are. If the shell is disposed then the dialog won't be used graphics resources anymore.
– greg-449
Mar 26 at 10:14
When I meant somethings it was some variables like block ,message etc. I wanted to be double sure before implementing it.
– Hushedar Merwan
Mar 26 at 10:53
|
show 1 more comment
I have done the same, just added a check which I am handling somewhere else and then call the finishedRun method. If I again check the reference variable the shell is disposed but few variables hold some values. Will this affect the performance.
– Hushedar Merwan
Mar 26 at 9:55
Sorry but I don't understand the question
– greg-449
Mar 26 at 10:00
I have the reference to my custom ProgressDialog class in another class where I intend to dispose of the Dialog. After disposing it off once when I check the reference the shell is disposed but there are somethings still left. So will this affect my application performance since somethings are still left.
– Hushedar Merwan
Mar 26 at 10:11
It is impossible to answer that because I don't know what the 'somethings still left' are. If the shell is disposed then the dialog won't be used graphics resources anymore.
– greg-449
Mar 26 at 10:14
When I meant somethings it was some variables like block ,message etc. I wanted to be double sure before implementing it.
– Hushedar Merwan
Mar 26 at 10:53
I have done the same, just added a check which I am handling somewhere else and then call the finishedRun method. If I again check the reference variable the shell is disposed but few variables hold some values. Will this affect the performance.
– Hushedar Merwan
Mar 26 at 9:55
I have done the same, just added a check which I am handling somewhere else and then call the finishedRun method. If I again check the reference variable the shell is disposed but few variables hold some values. Will this affect the performance.
– Hushedar Merwan
Mar 26 at 9:55
Sorry but I don't understand the question
– greg-449
Mar 26 at 10:00
Sorry but I don't understand the question
– greg-449
Mar 26 at 10:00
I have the reference to my custom ProgressDialog class in another class where I intend to dispose of the Dialog. After disposing it off once when I check the reference the shell is disposed but there are somethings still left. So will this affect my application performance since somethings are still left.
– Hushedar Merwan
Mar 26 at 10:11
I have the reference to my custom ProgressDialog class in another class where I intend to dispose of the Dialog. After disposing it off once when I check the reference the shell is disposed but there are somethings still left. So will this affect my application performance since somethings are still left.
– Hushedar Merwan
Mar 26 at 10:11
It is impossible to answer that because I don't know what the 'somethings still left' are. If the shell is disposed then the dialog won't be used graphics resources anymore.
– greg-449
Mar 26 at 10:14
It is impossible to answer that because I don't know what the 'somethings still left' are. If the shell is disposed then the dialog won't be used graphics resources anymore.
– greg-449
Mar 26 at 10:14
When I meant somethings it was some variables like block ,message etc. I wanted to be double sure before implementing it.
– Hushedar Merwan
Mar 26 at 10:53
When I meant somethings it was some variables like block ,message etc. I wanted to be double sure before implementing it.
– Hushedar Merwan
Mar 26 at 10:53
|
show 1 more comment
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55353420%2fcustom-progressmonitordialog-class%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown