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;








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 .










share|improve this question




























    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 .










    share|improve this question
























      0












      0








      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 .










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 9:13









      Hushedar MerwanHushedar Merwan

      306 bronze badges




      306 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer























          • 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










          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
          );



          );













          draft saved

          draft discarded


















          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









          0














          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.






          share|improve this answer























          • 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















          0














          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.






          share|improve this answer























          • 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













          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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

















          • 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








          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.



















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현