Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
RCP アプリケーションにターミナル ビューを追加しました。ユーザーがウィンドウのサイズを変更したときに、ターミナル ビューのフォント サイズを変更したいと考えています。出来ますか?どんな助けでも大歓迎です。
どのようなコンソールを追加しましたか? IOConsole にはsetFont()メソッドがあります。次のような変更をリッスンできます。
setFont()
parent.addListener(SWT.Resize, new Listener() { @Override public void handleEvent(final Event e) { System.out.println(parent.getSize()); //here change the font size } });