mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
separators support for content
This commit is contained in:
@@ -114,4 +114,6 @@ public interface Content extends UserDataHolder, ComponentContainer {
|
||||
BusyObject getBusyObject();
|
||||
void setBusyObject(BusyObject object);
|
||||
|
||||
String getSeparator();
|
||||
void setSeparator(String separator);
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@ public class ContentImpl extends UserDataHolderBase implements Content {
|
||||
|
||||
private Computable<JComponent> myFocusRequest;
|
||||
private BusyObject myBusyObject;
|
||||
private String mySeparator;
|
||||
|
||||
public ContentImpl(JComponent component, String displayName, boolean isPinnable) {
|
||||
myComponent = component;
|
||||
@@ -278,6 +279,16 @@ public class ContentImpl extends UserDataHolderBase implements Content {
|
||||
myBusyObject = object;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getSeparator() {
|
||||
return mySeparator;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSeparator(String separator) {
|
||||
mySeparator = separator;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BusyObject getBusyObject() {
|
||||
return myBusyObject;
|
||||
|
||||
Reference in New Issue
Block a user