java - how to disable the maximise button in eclipse plugin development project -


i developing plugin project. want disable maximize button in title bar of wizard page. please me

if using org.eclipse.jface.wizard.wizarddialog open wizard create subclass set different shell style in constructor:

public class wizarddialognomax extends wizarddialog {   public wizarddialognomax(shell parentshell, iwizard wizard)   {     super(parentshell, wizard);      setshellstyle(swt.close | swt.title | swt.border | swt.application_modal | swt.resize | getdefaultorientation());   } } 

the above leaving out swt.max style. on mac osx necessary leave out swt.resize (which means dialog cannot resized).

if adding wizard eclipse new, import or export wizard extension points don't think can change maximize button.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -