Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

90: Fokus in Baumstruktur mit Fokus bei geöffneten Tabs synchronisieren #50

Open
msrocka opened this issue Feb 16, 2018 · 0 comments
Open

Comments

@msrocka
Copy link
Member

msrocka commented Feb 16, 2018

Wenn man zu einem bestimmten Tab wechselt, sollte das jeweilige Element in der Navigation ausgewählt werden.

Am besten in Navigator.initListeners:

@Override
protected void initListeners(TreeViewer viewer) {
  super.initListeners(viewer);
  // ...
  PlatformUI.getWorkbench().getActiveWorkbenchWindow()
    .getActivePage().addPartListener(new IPartListener() {
       // ...
      @Override
      public void partActivated(IWorkbenchPart part) {
         // check -> editor? editoinput -> model+ID -> select element
@msrocka msrocka added this to the Sophena 2.0 milestone Feb 16, 2018
@msrocka msrocka added this to TODO in Sophena 2.0 Feb 16, 2018
@msrocka msrocka removed this from the Sophena 2.0 milestone Apr 30, 2018
@msrocka msrocka removed this from TODO in Sophena 2.0 Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant