This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private AtomicReferenceArray<Point2D> points = Atomics.newReferenceArray(2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static <T> Property<T> attach(JComboBox<T> field) { | |
return new Property<T>() { | |
@SuppressWarnings(“unchecked”) | |
@Override | |
public T get() { | |
return (T) field.getSelectedItem(); | |
} | |
@Override | |
public void set(T value) { | |
field.setSelectedItem(value); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Preferences extends AbstractPropertyDialog<Preferences> { | |
private final Property<Mode> mode; | |
private final Property<Render> render; | |
private final Property<CoordinateTransform.Type> transform; | |
// ... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Method to display the dialog box. */ | |
void showDialog(); | |
@Override | |
default T get() { | |
return (T) this; | |
} | |
static <T extends Dialog<T>> void show(Supplier<T> supplier, | |
BiConsumer<Throwable,String>...handlers) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void setGradientStart(Color value) { | |
set(GRADIENT_START_PROPERTY, String.format("%06x", value.getRGB() & RGB24)); | |
} | |
private <T> T cast(String value, Class<T> type) { | |
// ... | |
if (Color.class == type) { | |
return (T) Color.decode(Integer.toString(Integer.parseUnsignedInt(value, 16) & RGB24)); | |
} | |
// ... | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Custom grid spacing. | |
explorer.grid.min = 25 | |
explorer.grid.max = 100 | |
explorer.window.width = 800 | |
explorer.window.height = 800 | |
explorer.debug = false | |
explorer.grid.snap = 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* {@link EventBus} subscription callbacks. | |
* | |
* @see Subscribe | |
*/ | |
public interface Subscriber { | |
/** Callback for the IFS changes. */ | |
void updated(IFS ifs); | |
/** Callback for display size changes. */ | |
void resized(Dimension size); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a request to add the CA root certificate for Honest Achmed's Used Cars and Certificates. The requested information as per the CA information checklist is as follows: | |
1. Name | |
Honest Achmed's Used Cars and Certificates | |
2. Website URL | |
www.honestachmed.dyndns.org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: openshift | |
name: "openshift" | |
description: | | |
Creates an OpenShift Origin 1.4.1 cluster with load balanced master servers | |
on CentOS 7 virtual machines in an IBM Blue Box OpenStack cloud. | |
Runs a scheduled repave on two machines every day at 16h00. | |
location: | |
ibm-bluebox-lon-vpn-centos |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
id: openshift | |
name: "openshift" | |
description: | | |
Creates an OpenShift Origin cluster with load balanced master servers | |
on CentOS 7 virtual machines | |
location: | |
# aws-eu-central-1 | |
rhel-london-pub-centos | |
# ibm-bluebox-lon-vpn-centos |