|
From: Robert E. <sky...@us...> - 2006-05-17 11:19:11
|
Update of /cvsroot/jcommander/plugins/org.jcommander.ui.filepanel/src/org/jcommander/ui/filepanel/actions In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv31946/src/org/jcommander/ui/filepanel/actions Added Files: FocusDirectoryInfoAction.java Log Message: Partial implementation for feature request [ 1490167 ] Selectable and editable panel location bar The location bar is now focusable and selectable by making use of a text field instead of a label --- NEW FILE: FocusDirectoryInfoAction.java --- package org.jcommander.ui.filepanel.actions; import org.eclipse.jface.action.IAction; import org.eclipse.jface.viewers.ISelection; import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.IWorkbenchWindowActionDelegate; import org.jcommander.ui.filepanel.FilePanelManagerProvider; import org.jcommander.ui.filepanel.TabMediator; public class FocusDirectoryInfoAction implements IWorkbenchWindowActionDelegate { public void dispose() { // TODO Auto-generated method stub } public void init(IWorkbenchWindow window) { // TODO Auto-generated method stub } public void run(IAction action) { TabMediator activeTabMediator = FilePanelManagerProvider.getTabManager().getActiveTabMediator(); if(activeTabMediator != null) { activeTabMediator.getFileTab().getActiveFilePanel().focusDirectoryInfoPanel(); } } public void selectionChanged(IAction action, ISelection selection) { // TODO Auto-generated method stub } } |