+ @Override
+ public ISessionInfo getParameters() {
+ ISessionInfo sessionInfo = new SessionInfo(fSessionName);
+
+ if (fIsStreamedTrace) {
+ sessionInfo.setNetworkUrl(fNetworkUrl);
+ sessionInfo.setControlUrl(fControlUrl);
+ sessionInfo.setDataUrl(fDataUrl);
+ sessionInfo.setStreamedTrace(true);
+ } else if (!fIsDefaultPath) {
+ sessionInfo.setSessionPath(fSessionPath);
+ }
+
+ sessionInfo.setSnapshot(fIsSnapshot);
+
+ return sessionInfo;
+ }
+
+ private final class UpdateEnablementModifyListener implements ModifyListener {
+ @Override
+ public void modifyText(ModifyEvent e) {
+ updateEnablement();
+ }
+ }