sticky documentation popup [take 1]
[fedora-idea.git] / platform / platform-impl / src / com / intellij / openapi / wm / impl / FrameTitleBuilder.java
blobce0250378b27f601f28604bab048b3f3b1e670c1
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.intellij.openapi.wm.impl;
18 import com.intellij.openapi.components.ServiceManager;
19 import com.intellij.openapi.vfs.VirtualFile;
20 import com.intellij.openapi.project.Project;
22 /**
23 * @author yole
25 public abstract class FrameTitleBuilder {
26 public static FrameTitleBuilder getInstance() {
27 return ServiceManager.getService(FrameTitleBuilder.class);
30 public abstract String getFileTitle(final Project project, final VirtualFile file);
32 public abstract String getProjectTitle(final Project project);