История изменений
Исправление xterro, (текущая версия) :
Добавил логированиево все методы, чтобы посмотреь порядок вызова, получилось следующее:
Activator.start
Application.start
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.createWorkbenchWindowAdvisor
ApplicationWorkbenchWindowAdvisor.preWindowOpen
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchWindowAdvisor.createActionBarAdvisor
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
Activator.stop
Не понятно почему getInitialWindowPerspectiveId вызывается по три раза, так и должно быть? А вот функция createInitialLayout из класса Perspective ни разу :( В настройках запускаемых программ стоит PLTest.perspective, т.е моё приложение. Запуска и из MANIFEST(Launch an Eclipse Application) и так, по горячей клавише Ctrl-F11, результат один и тот же. Уже думаю, что что-то в Eclipse не то.
Исходная версия xterro, :
Добавил логированиево все методы, чтобы посмотреь порядок вызова, получилось следующее:
Activator.start
Application.start
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.createWorkbenchWindowAdvisor
ApplicationWorkbenchWindowAdvisor.preWindowOpen
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchWindowAdvisor.createActionBarAdvisor
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
ApplicationWorkbenchAdvisor.getInitialWindowPerspectiveId: PLTest.perspective
Activator.stop
Не понятно почему getInitialWindowPerspectiveId вызывается по три раза, так и должно быть? А вот функция createInitialLayout из класса Perspective ни разу :( В настройках запускаемых программ стоит PLTest.perspective, т.е моё приложение. Запуска и из MANIFEST и так, по горячей клавише Ctrl-F11, результат один и тот же. Уже думаю, что что-то в Eclipse не то.