Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ConnectIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ConnectIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ConnectIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ConnectIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class ConnectIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public ConnectIcon() { + super(); + } + + public ConnectIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(54.836, 21.812); + shape.curveTo(53.671997, 20.648, 51.783997, 20.648, 50.62, 21.812); + shape.lineTo(43.593998, 28.838001); + shape.lineTo(35.162, 20.406002); + shape.lineTo(42.188, 13.380002); + shape.curveTo(43.352, 12.2160015, 43.352, 10.328002, 42.188, 9.164001); + shape.curveTo(41.024, 8.0, 39.137, 8.0, 37.973, 9.164); + shape.lineTo(30.946999, 16.189999); + shape.lineTo(26.730999, 11.973999); + shape.lineTo(20.758999, 17.946); + shape.curveTo(14.565999, 24.139, 14.039999, 33.831, 19.141998, 40.642); + shape.lineTo(9.164, 50.62); + shape.curveTo(8.0, 51.784, 8.0, 53.672, 9.164, 54.836); + shape.curveTo(10.327999, 56.0, 12.216, 56.0, 13.379999, 54.836); + shape.lineTo(23.356998, 44.858997); + shape.curveTo(30.168, 49.961, 39.86, 49.434998, 46.052998, 43.241997); + shape.lineTo(52.024998, 37.268997); + shape.lineTo(47.809, 33.052998); + shape.lineTo(54.835, 26.026997); + shape.curveTo(56.0, 24.863, 56.0, 22.976, 54.836, 21.812); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +}
Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ConsoleIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ConsoleIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ConsoleIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ConsoleIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,84 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class ConsoleIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public ConsoleIcon() { + super(); + } + + public ConsoleIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(30.0, 32.0); + shape.curveTo(30.0, 31.998, 30.0, 31.995, 30.0, 31.993); + shape.curveTo(30.0, 31.991, 30.0, 31.988, 30.0, 31.986); + shape.curveTo(30.0, 31.138, 29.648, 30.373, 29.082, 29.827); + shape.lineTo(29.083, 29.826); + shape.lineTo(11.083, 11.826); + shape.lineTo(11.075, 11.834001); + shape.curveTo(10.536, 11.318, 9.806, 11.0, 9.0, 11.0); + shape.curveTo(7.343, 11.0, 6.0, 12.343, 6.0, 14.0); + shape.curveTo(6.0, 14.91, 6.406, 15.725, 7.046, 16.275); + shape.lineTo(22.764, 31.993); + shape.lineTo(6.84, 47.917); + shape.lineTo(6.841, 47.918); + shape.curveTo(6.321, 48.458, 6.0, 49.191, 6.0, 50.0); + shape.curveTo(6.0, 51.657, 7.343, 53.0, 9.0, 53.0); + shape.curveTo(9.809, 53.0, 10.543, 52.679, 11.082, 52.159); + shape.lineTo(11.083, 52.16); + shape.lineTo(29.083, 34.16); + shape.lineTo(29.082, 34.159); + shape.curveTo(29.648, 33.613, 30.0, 32.848, 30.0, 32.0); + shape.closePath(); + shape.moveTo(55.5, 47.0); + shape.lineTo(32.5, 47.0); + shape.curveTo(31.119, 47.0, 30.0, 48.119, 30.0, 49.5); + shape.lineTo(30.0, 50.5); + shape.curveTo(30.0, 51.881, 31.119, 53.0, 32.5, 53.0); + shape.lineTo(55.5, 53.0); + shape.curveTo(56.881, 53.0, 58.0, 51.881, 58.0, 50.5); + shape.lineTo(58.0, 49.5); + shape.curveTo(58.0, 48.119, 56.881, 47.0, 55.5, 47.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CopyIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CopyIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CopyIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CopyIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,92 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class CopyIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public CopyIcon() { + super(); + } + + public CopyIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(41.0, 20.0); + shape.lineTo(3.0, 20.0); + shape.curveTo(1.343, 20.0, 0.0, 21.343, 0.0, 23.0); + shape.lineTo(0.0, 61.0); + shape.curveTo(0.0, 62.657, 1.343, 64.0, 3.0, 64.0); + shape.lineTo(41.0, 64.0); + shape.curveTo(42.657, 64.0, 44.0, 62.657, 44.0, 61.0); + shape.lineTo(44.0, 23.0); + shape.curveTo(44.0, 21.343, 42.657, 20.0, 41.0, 20.0); + shape.closePath(); + shape.moveTo(38.0, 58.0); + shape.lineTo(6.0, 58.0); + shape.lineTo(6.0, 26.0); + shape.lineTo(15.0, 26.0); + shape.lineTo(15.0, 26.0); + shape.lineTo(28.0, 26.0); + shape.lineTo(28.0, 26.0); + shape.lineTo(38.0, 26.0); + shape.lineTo(38.0, 58.0); + shape.closePath(); + shape.moveTo(61.0, 0.0); + shape.lineTo(23.0, 0.0); + shape.curveTo(21.343, 0.0, 20.0, 1.343, 20.0, 3.0); + shape.lineTo(20.0, 17.0); + shape.lineTo(26.0, 17.0); + shape.lineTo(26.0, 6.0); + shape.lineTo(35.0, 6.0); + shape.lineTo(35.0, 6.0); + shape.lineTo(48.0, 6.0); + shape.lineTo(48.0, 6.0); + shape.lineTo(58.0, 6.0); + shape.lineTo(58.0, 38.0); + shape.lineTo(47.0, 38.0); + shape.lineTo(47.0, 44.0); + shape.lineTo(61.0, 44.0); + shape.curveTo(62.657, 44.0, 64.0, 42.657, 64.0, 41.0); + shape.lineTo(64.0, 3.0); + shape.curveTo(64.0, 1.344, 62.657, 0.0, 61.0, 0.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CreateObjectIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CreateObjectIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CreateObjectIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CreateObjectIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class CreateObjectIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public CreateObjectIcon() { + super(); + } + + public CreateObjectIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(45.0, 29.0); + shape.lineTo(35.0, 29.0); + shape.lineTo(35.0, 19.0); + shape.curveTo(35.0, 17.343, 33.657, 16.0, 32.0, 16.0); + shape.curveTo(30.342999, 16.0, 29.0, 17.343, 29.0, 19.0); + shape.lineTo(29.0, 29.0); + shape.lineTo(19.0, 29.0); + shape.curveTo(17.343, 29.0, 16.0, 30.343, 16.0, 32.0); + shape.curveTo(16.0, 33.656998, 17.343, 35.0, 19.0, 35.0); + shape.lineTo(29.0, 35.0); + shape.lineTo(29.0, 45.0); + shape.curveTo(29.0, 46.657, 30.343, 48.0, 32.0, 48.0); + shape.curveTo(33.656998, 48.0, 35.0, 46.657, 35.0, 45.0); + shape.lineTo(35.0, 35.0); + shape.lineTo(45.0, 35.0); + shape.curveTo(46.657, 35.0, 48.0, 33.657, 48.0, 32.0); + shape.curveTo(48.0, 30.342999, 46.657, 29.0, 45.0, 29.0); + shape.closePath(); + shape.moveTo(32.0, 0.0); + shape.curveTo(14.327, 0.0, 0.0, 14.327, 0.0, 32.0); + shape.curveTo(0.0, 49.673, 14.327, 64.0, 32.0, 64.0); + shape.curveTo(49.673, 64.0, 64.0, 49.673, 64.0, 32.0); + shape.curveTo(64.0, 14.327, 49.673, 0.0, 32.0, 0.0); + shape.closePath(); + shape.moveTo(32.0, 58.0); + shape.curveTo(17.641, 58.0, 6.0, 46.359, 6.0, 32.0); + shape.curveTo(6.0, 17.64, 17.641, 6.0, 32.0, 6.0); + shape.curveTo(46.359, 6.0, 58.0, 17.640999, 58.0, 32.0); + shape.curveTo(58.0, 46.359, 46.359, 58.0, 32.0, 58.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CreateTypeIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CreateTypeIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CreateTypeIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/CreateTypeIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class CreateTypeIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public CreateTypeIcon() { + super(); + } + + public CreateTypeIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(19.0, 35.0); + shape.lineTo(29.0, 35.0); + shape.lineTo(29.0, 45.0); + shape.curveTo(29.0, 46.657, 30.343, 48.0, 32.0, 48.0); + shape.curveTo(33.656998, 48.0, 35.0, 46.657, 35.0, 45.0); + shape.lineTo(35.0, 35.0); + shape.lineTo(45.0, 35.0); + shape.curveTo(46.657, 35.0, 48.0, 33.657, 48.0, 32.0); + shape.curveTo(48.0, 30.342999, 46.657, 29.0, 45.0, 29.0); + shape.lineTo(35.0, 29.0); + shape.lineTo(35.0, 19.0); + shape.curveTo(35.0, 17.343, 33.657, 16.0, 32.0, 16.0); + shape.curveTo(30.342999, 16.0, 29.0, 17.343, 29.0, 19.0); + shape.lineTo(29.0, 29.0); + shape.lineTo(19.0, 29.0); + shape.curveTo(17.343, 29.0, 16.0, 30.343, 16.0, 32.0); + shape.curveTo(16.0, 33.656998, 17.343, 35.0, 19.0, 35.0); + shape.closePath(); + shape.moveTo(61.0, 0.0); + shape.lineTo(3.0, 0.0); + shape.curveTo(1.343, 0.0, 0.0, 1.343, 0.0, 3.0); + shape.lineTo(0.0, 61.0); + shape.curveTo(0.0, 62.657, 1.343, 64.0, 3.0, 64.0); + shape.lineTo(61.0, 64.0); + shape.curveTo(62.657, 64.0, 64.0, 62.657, 64.0, 61.0); + shape.lineTo(64.0, 3.0); + shape.curveTo(64.0, 1.343, 62.657, 0.0, 61.0, 0.0); + shape.closePath(); + shape.moveTo(58.0, 58.0); + shape.lineTo(6.0, 58.0); + shape.lineTo(6.0, 6.0); + shape.lineTo(58.0, 6.0); + shape.lineTo(58.0, 58.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DeleteTypeIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DeleteTypeIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DeleteTypeIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DeleteTypeIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class DeleteTypeIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public DeleteTypeIcon() { + super(); + } + + public DeleteTypeIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(61.0, 0.0); + shape.lineTo(3.0, 0.0); + shape.curveTo(1.343, 0.0, 0.0, 1.343, 0.0, 3.0); + shape.lineTo(0.0, 61.0); + shape.curveTo(0.0, 62.657, 1.343, 64.0, 3.0, 64.0); + shape.lineTo(61.0, 64.0); + shape.curveTo(62.657, 64.0, 64.0, 62.657, 64.0, 61.0); + shape.lineTo(64.0, 3.0); + shape.curveTo(64.0, 1.343, 62.657, 0.0, 61.0, 0.0); + shape.closePath(); + shape.moveTo(58.0, 58.0); + shape.lineTo(6.0, 58.0); + shape.lineTo(6.0, 6.0); + shape.lineTo(58.0, 6.0); + shape.lineTo(58.0, 58.0); + shape.closePath(); + shape.moveTo(19.0, 35.0); + shape.lineTo(45.0, 35.0); + shape.curveTo(46.657, 35.0, 48.0, 33.657, 48.0, 32.0); + shape.curveTo(48.0, 30.342999, 46.657, 29.0, 45.0, 29.0); + shape.lineTo(19.0, 29.0); + shape.curveTo(17.343, 29.0, 16.0, 30.343, 16.0, 32.0); + shape.curveTo(16.0, 33.656998, 17.343, 35.0, 19.0, 35.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DocumentIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DocumentIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DocumentIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DocumentIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class DocumentIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public DocumentIcon() { + super(); + } + + public DocumentIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + @Override + protected Color getColor() { + return new Color(0x73a4d1); + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(35.0, 23.008); + shape.lineTo(54.0, 23.008); + shape.lineTo(32.0, 2.964); + shape.lineTo(32.0, 20.001001); + shape.curveTo(32.0, 21.662, 33.343, 23.008, 35.0, 23.008); + shape.closePath(); + shape.moveTo(29.0, 20.001); + shape.lineTo(29.0, 3.0); + shape.lineTo(13.0, 3.0); + shape.curveTo(11.343, 3.0, 10.0, 4.343, 10.0, 6.0); + shape.lineTo(10.0, 58.0); + shape.curveTo(10.0, 59.657, 11.343, 61.0, 13.0, 61.0); + shape.lineTo(51.0, 61.0); + shape.curveTo(52.657, 61.0, 54.0, 59.657, 54.0, 58.0); + shape.lineTo(54.0, 26.014); + shape.lineTo(35.0, 26.014); + shape.curveTo(31.686, 26.014, 29.0, 23.322, 29.0, 20.001); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DownIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DownIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DownIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/DownIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class DownIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public DownIcon() { + super(); + } + + public DownIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(53.0, 23.0); + shape.curveTo(53.0, 21.343, 51.657, 20.0, 50.0, 20.0); + shape.curveTo(49.191, 20.0, 48.458, 20.321, 47.918, 20.841); + shape.lineTo(47.917, 20.84); + shape.lineTo(31.993, 36.764); + shape.lineTo(16.275, 21.046); + shape.curveTo(15.725, 20.406, 14.91, 20.0, 14.0, 20.0); + shape.curveTo(12.343, 20.0, 11.0, 21.343, 11.0, 23.0); + shape.curveTo(11.0, 23.805, 11.318, 24.536, 11.835, 25.075); + shape.lineTo(11.827, 25.083); + shape.lineTo(29.827, 43.083); + shape.lineTo(29.828, 43.082); + shape.curveTo(30.374, 43.648, 31.139, 44.0, 31.987, 44.0); + shape.curveTo(31.989, 44.0, 31.991, 44.0, 31.994, 44.0); + shape.curveTo(31.996, 44.0, 31.998, 44.0, 32.001, 44.0); + shape.curveTo(32.85, 44.0, 33.613, 43.648, 34.16, 43.082); + shape.lineTo(34.161, 43.083); + shape.lineTo(52.161, 25.083); + shape.lineTo(52.16, 25.082); + shape.curveTo(52.68, 24.543, 53.0, 23.809, 53.0, 23.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/FolderIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/FolderIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/FolderIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/FolderIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class FolderIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public FolderIcon() { + super(); + } + + public FolderIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected Color getColor() { + return new Color(0x89328c); + } + + @Override + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(0.0, 54.0); + shape.curveTo(0.0, 55.657, 1.343, 57.0, 3.0, 57.0); + shape.lineTo(61.0, 57.0); + shape.curveTo(62.657, 57.0, 64.0, 55.657, 64.0, 54.0); + shape.lineTo(64.0, 22.0); + shape.lineTo(0.0, 22.0); + shape.lineTo(0.0, 54.0); + shape.closePath(); + shape.moveTo(61.0, 13.0); + shape.lineTo(23.982, 13.0); + shape.lineTo(18.0, 7.0); + shape.lineTo(3.0, 7.0); + shape.curveTo(1.343, 7.0, 0.0, 8.343, 0.0, 10.0); + shape.lineTo(0.0, 19.0); + shape.lineTo(64.0, 19.0); + shape.lineTo(64.0, 16.0); + shape.curveTo(64.0, 14.343, 62.657, 13.0, 61.0, 13.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/InfoIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/InfoIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/InfoIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/InfoIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,65 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class InfoIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public InfoIcon() { + super(); + } + + public InfoIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(32.0, 0.0); + shape.curveTo(18.746, 0.0, 8.0, 10.747, 8.0, 24.0); + shape.curveTo(8.0, 37.253998, 32.0, 64.0, 32.0, 64.0); + shape.curveTo(32.0, 64.0, 56.0, 37.253998, 56.0, 24.0); + shape.curveTo(56.0, 10.747, 45.254, 0.0, 32.0, 0.0); + shape.closePath(); + shape.moveTo(32.0, 40.0); + shape.curveTo(23.164, 40.0, 16.0, 32.836, 16.0, 24.0); + shape.curveTo(16.0, 15.164001, 23.164, 8.0, 32.0, 8.0); + shape.curveTo(40.836, 8.0, 48.0, 15.164, 48.0, 24.0); + shape.curveTo(48.0, 32.836, 40.836, 40.0, 32.0, 40.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ItemIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ItemIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ItemIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/ItemIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,86 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class ItemIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public ItemIcon() { + super(); + } + + public ItemIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected Color getColor() { + return new Color(0x73a4d1); + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(64.0, 26.0); + shape.curveTo(64.0, 24.343, 62.657, 23.0, 61.0, 23.0); + shape.lineTo(41.047, 23.0); + shape.lineTo(34.869, 4.12); + shape.curveTo(34.492, 2.893, 33.352, 2.0, 32.0, 2.0); + shape.curveTo(30.65, 2.0, 29.508, 2.892, 29.132, 4.12); + shape.lineTo(22.953, 23.0); + shape.lineTo(3.0, 23.0); + shape.curveTo(1.343, 23.0, 0.0, 24.343, 0.0, 26.0); + shape.curveTo(0.0, 27.0, 0.49, 27.885, 1.242, 28.43); + shape.lineTo(1.242, 28.43); + shape.lineTo(17.36, 40.09); + shape.lineTo(11.151001, 59.061); + shape.curveTo(11.053, 59.357, 11.0, 59.672, 11.0, 60.0); + shape.curveTo(11.0, 61.657, 12.343, 63.0, 14.0, 63.0); + shape.curveTo(14.657, 63.0, 15.2630005, 62.787, 15.758, 62.43); + shape.lineTo(15.759001, 62.43); + shape.lineTo(32.0, 50.682); + shape.lineTo(48.242, 62.43); + shape.lineTo(48.243, 62.43); + shape.curveTo(48.736, 62.788, 49.343, 63.0, 50.0, 63.0); + shape.curveTo(51.657, 63.0, 53.0, 61.657, 53.0, 60.0); + shape.curveTo(53.0, 59.672, 52.947, 59.357, 52.85, 59.062); + shape.lineTo(46.641, 40.09); + shape.lineTo(62.759, 28.43); + shape.lineTo(62.759, 28.43); + shape.curveTo(63.51, 27.885, 64.0, 27.0, 64.0, 26.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/LogIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/LogIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/LogIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/LogIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,121 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class LogIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public LogIcon() { + super(); + } + + public LogIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(61.0, 15.0); + shape.lineTo(3.0, 15.0); + shape.curveTo(1.343, 15.0, 0.0, 16.343, 0.0, 18.0); + shape.lineTo(0.0, 46.0); + shape.curveTo(0.0, 47.657, 1.343, 49.0, 3.0, 49.0); + shape.lineTo(13.0, 49.0); + shape.lineTo(13.0, 34.0); + shape.lineTo(51.0, 34.0); + shape.lineTo(51.0, 49.0); + shape.lineTo(61.0, 49.0); + shape.curveTo(62.657, 49.0, 64.0, 47.657, 64.0, 46.0); + shape.lineTo(64.0, 18.0); + shape.curveTo(64.0, 16.343, 62.657, 15.0, 61.0, 15.0); + shape.closePath(); + shape.moveTo(9.0, 27.0); + shape.curveTo(7.343, 27.0, 6.0, 25.657, 6.0, 24.0); + shape.curveTo(6.0, 22.343, 7.343, 21.0, 9.0, 21.0); + shape.curveTo(10.657, 21.0, 12.0, 22.343, 12.0, 24.0); + shape.curveTo(12.0, 25.657, 10.657, 27.0, 9.0, 27.0); + shape.closePath(); + shape.moveTo(48.0, 2.969); + shape.lineTo(47.997, 2.969); + shape.curveTo(47.997, 2.9680002, 47.997, 2.967, 47.997, 2.966); + shape.curveTo(47.99, 2.351, 47.8, 1.782, 47.477, 1.309); + shape.curveTo(47.473, 1.302, 47.465, 1.296, 47.460003, 1.289); + shape.curveTo(47.356003, 1.139, 47.24, 0.998, 47.109, 0.87); + shape.lineTo(47.109, 0.87); + shape.curveTo(47.107002, 0.86800003, 47.105, 0.866, 47.101, 0.864); + shape.curveTo(46.935, 0.699, 46.743, 0.56200004, 46.54, 0.439); + shape.curveTo(46.538002, 0.43800002, 46.535, 0.437, 46.533, 0.435); + shape.curveTo(46.533, 0.435, 46.532, 0.435, 46.532, 0.43400002); + shape.curveTo(46.247, 0.263, 45.938, 0.12900001, 45.602, 0.06100002); + shape.lineTo(45.602, 0.06100002); + shape.curveTo(45.463, 0.03300002, 45.319, 0.027000017, 45.175003, 0.018000018); + shape.curveTo(45.117, 0.014, 45.061, 0.0, 45.0, 0.0); + shape.lineTo(19.0, 0.0); + shape.curveTo(17.757, 0.0, 16.691, 0.756, 16.236, 1.832); + shape.curveTo(16.084, 2.191, 16.0, 2.586, 16.0, 3.0); + shape.lineTo(16.0, 12.0); + shape.lineTo(48.0, 12.0); + shape.lineTo(48.0, 2.969); + shape.closePath(); + shape.moveTo(16.0, 61.0); + shape.curveTo(16.0, 62.657, 17.343, 64.0, 19.0, 64.0); + shape.lineTo(45.0, 64.0); + shape.curveTo(46.657, 64.0, 48.0, 62.657, 48.0, 61.0); + shape.lineTo(48.0, 37.0); + shape.lineTo(16.0, 37.0); + shape.lineTo(16.0, 61.0); + shape.closePath(); + shape.moveTo(22.0, 43.0); + shape.lineTo(42.0, 43.0); + shape.lineTo(42.0, 46.0); + shape.lineTo(22.0, 46.0); + shape.lineTo(22.0, 43.0); + shape.closePath(); + shape.moveTo(22.0, 49.0); + shape.lineTo(42.0, 49.0); + shape.lineTo(42.0, 52.0); + shape.lineTo(22.0, 52.0); + shape.lineTo(22.0, 49.0); + shape.closePath(); + shape.moveTo(22.0, 55.0); + shape.lineTo(42.0, 55.0); + shape.lineTo(42.0, 58.0); + shape.lineTo(22.0, 58.0); + shape.lineTo(22.0, 55.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewDocumentIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewDocumentIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewDocumentIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewDocumentIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; + +public class NewDocumentIcon extends DocumentIcon { + + private static final long serialVersionUID = 1L; + + public NewDocumentIcon() { + super(); + } + + public NewDocumentIcon(int width, int height) { + super(width, height); + } + + @Override + protected Color getColor() { + return DEFAULT_COLOR; + } + + @Override + protected void paint(Graphics2D g) { + super.paint(g); + paintPlusBadge(g, getColor().brighter()); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewFolderIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewFolderIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewFolderIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewFolderIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; + +public class NewFolderIcon extends FolderIcon { + + private static final long serialVersionUID = 1L; + + public NewFolderIcon() { + super(); + } + + public NewFolderIcon(int width, int height) { + super(width, height); + } + + @Override + protected Color getColor() { + return DEFAULT_COLOR; + } + + @Override + protected void paint(Graphics2D g) { + super.paint(g); + paintPlusBadge(g, getColor().brighter()); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewItemIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewItemIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewItemIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewItemIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; + +public class NewItemIcon extends ItemIcon { + + private static final long serialVersionUID = 1L; + + public NewItemIcon() { + super(); + } + + public NewItemIcon(int width, int height) { + super(width, height); + } + + @Override + protected Color getColor() { + return DEFAULT_COLOR; + } + + @Override + protected void paint(Graphics2D g) { + super.paint(g); + paintPlusBadge(g, getColor().brighter()); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewPolicyIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewPolicyIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewPolicyIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewPolicyIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; + +public class NewPolicyIcon extends PolicyIcon { + + private static final long serialVersionUID = 1L; + + public NewPolicyIcon() { + super(); + } + + public NewPolicyIcon(int width, int height) { + super(width, height); + } + + @Override + protected Color getColor() { + return DEFAULT_COLOR; + } + + @Override + protected void paint(Graphics2D g) { + super.paint(g); + paintPlusBadge(g, getColor().brighter()); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewRelationshipIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewRelationshipIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewRelationshipIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NewRelationshipIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; + +public class NewRelationshipIcon extends RelationshipIcon { + + private static final long serialVersionUID = 1L; + + public NewRelationshipIcon() { + super(); + } + + public NewRelationshipIcon(int width, int height) { + super(width, height); + } + + @Override + protected Color getColor() { + return DEFAULT_COLOR; + } + + @Override + protected void paint(Graphics2D g) { + super.paint(g); + paintPlusBadge(g, getColor().brighter()); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NoIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NoIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NoIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/NoIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,76 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class NoIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public NoIcon() { + super(); + } + + public NoIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(36.243, 32.0); + shape.lineTo(48.122, 20.121); + shape.curveTo(48.664, 19.579, 49.0, 18.828, 49.0, 18.0); + shape.curveTo(49.0, 16.343, 47.657, 15.0, 46.0, 15.0); + shape.curveTo(45.172, 15.0, 44.422, 15.336, 43.879, 15.879); + shape.lineTo(32.0, 27.757); + shape.lineTo(20.121, 15.879); + shape.curveTo(19.578, 15.336, 18.828, 15.0, 18.0, 15.0); + shape.curveTo(16.343, 15.0, 15.0, 16.343, 15.0, 18.0); + shape.curveTo(15.0, 18.828, 15.336, 19.578, 15.879, 20.121); + shape.lineTo(27.757, 32.0); + shape.lineTo(15.879, 43.879); + shape.curveTo(15.336, 44.422, 15.0, 45.172, 15.0, 46.0); + shape.curveTo(15.0, 47.657, 16.343, 49.0, 18.0, 49.0); + shape.curveTo(18.828, 49.0, 19.578, 48.664, 20.121, 48.121); + shape.lineTo(32.0, 36.243); + shape.lineTo(43.878998, 48.122); + shape.curveTo(44.422, 48.664, 45.172, 49.0, 46.0, 49.0); + shape.curveTo(47.657, 49.0, 49.0, 47.657, 49.0, 46.0); + shape.curveTo(49.0, 45.172, 48.664, 44.422, 48.121, 43.879); + shape.lineTo(36.243, 32.0); + shape.closePath(); + + g.setPaint(Color.RED); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/PolicyIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/PolicyIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/PolicyIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/PolicyIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,144 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class PolicyIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public PolicyIcon() { + super(); + } + + public PolicyIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected Color getColor() { + return new Color(0x73a4d1); + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(61.0, 42.0); + shape.curveTo(60.594, 42.0, 60.207, 42.083, 59.853, 42.229); + shape.lineTo(59.853, 42.228); + shape.lineTo(59.84, 42.233); + shape.curveTo(59.836, 42.235, 59.831, 42.236, 59.827, 42.238003); + shape.lineTo(32.0, 53.753); + shape.lineTo(4.174, 42.239); + shape.curveTo(4.1699996, 42.237, 4.165, 42.234997, 4.161, 42.233997); + shape.lineTo(4.148, 42.228996); + shape.lineTo(4.147, 42.229996); + shape.curveTo(3.793, 42.083, 3.406, 42.0, 3.0, 42.0); + shape.curveTo(1.343, 42.0, 0.0, 43.343, 0.0, 45.0); + shape.curveTo(0.0, 46.25, 0.766, 47.32, 1.853, 47.771); + shape.lineTo(1.853, 47.772); + shape.lineTo(30.827002, 59.761); + shape.curveTo(30.831001, 59.763, 30.836002, 59.765003, 30.840002, 59.766003); + shape.lineTo(30.853003, 59.771004); + shape.lineTo(30.854002, 59.770004); + shape.curveTo(31.207, 59.917, 31.594, 60.0, 32.0, 60.0); + shape.curveTo(32.406, 60.0, 32.793, 59.917, 33.147, 59.771); + shape.lineTo(33.148, 59.772); + shape.lineTo(33.161, 59.767); + shape.curveTo(33.165, 59.765, 33.17, 59.762997, 33.174, 59.761997); + shape.lineTo(62.147, 47.772995); + shape.lineTo(62.147, 47.771996); + shape.curveTo(63.234, 47.32, 64.0, 46.25, 64.0, 45.0); + shape.curveTo(64.0, 43.343, 62.657, 42.0, 61.0, 42.0); + shape.closePath(); + shape.moveTo(1.854, 21.771); + shape.lineTo(1.854, 21.772); + shape.lineTo(30.828001, 33.761); + shape.curveTo(30.832, 33.763, 30.837002, 33.764, 30.841002, 33.766003); + shape.lineTo(30.854002, 33.771004); + shape.lineTo(30.855001, 33.770004); + shape.curveTo(31.207, 33.917, 31.594, 34.0, 32.0, 34.0); + shape.curveTo(32.406, 34.0, 32.793, 33.917, 33.147, 33.771); + shape.lineTo(33.148, 33.772); + shape.lineTo(33.161, 33.767); + shape.curveTo(33.165, 33.765, 33.17, 33.762997, 33.174, 33.761997); + shape.lineTo(62.147, 21.772997); + shape.lineTo(62.147, 21.771997); + shape.curveTo(63.234, 21.32, 64.0, 20.25, 64.0, 19.0); + shape.curveTo(64.0, 17.75, 63.234, 16.68, 62.147, 16.229); + shape.lineTo(62.147, 16.228); + shape.lineTo(33.174, 4.239); + shape.curveTo(33.17, 4.237, 33.165, 4.2349997, 33.161, 4.2339997); + shape.lineTo(33.148, 4.2289996); + shape.lineTo(33.147, 4.2299995); + shape.curveTo(32.793, 4.083, 32.406, 4.0, 32.0, 4.0); + shape.curveTo(31.594, 4.0, 31.207, 4.083, 30.854, 4.229); + shape.lineTo(30.853, 4.228); + shape.lineTo(30.84, 4.233); + shape.curveTo(30.836, 4.2349997, 30.831, 4.237, 30.827, 4.238); + shape.lineTo(1.853, 16.228); + shape.lineTo(1.853, 16.229); + shape.curveTo(0.766, 16.68, 0.0, 17.75, 0.0, 19.0); + shape.curveTo(0.0, 20.25, 0.766, 21.32, 1.854, 21.771); + shape.closePath(); + shape.moveTo(61.0, 29.0); + shape.curveTo(60.594, 29.0, 60.207, 29.083, 59.853, 29.229); + shape.lineTo(59.853, 29.228); + shape.lineTo(59.84, 29.234001); + shape.curveTo(59.836, 29.236002, 59.831, 29.238, 59.827, 29.239); + shape.lineTo(32.0, 40.753); + shape.lineTo(4.174, 29.239); + shape.curveTo(4.1699996, 29.237, 4.165, 29.235, 4.161, 29.234001); + shape.lineTo(4.148, 29.228); + shape.lineTo(4.147, 29.229); + shape.curveTo(3.793, 29.083, 3.406, 29.0, 3.0, 29.0); + shape.curveTo(1.343, 29.0, 0.0, 30.343, 0.0, 32.0); + shape.curveTo(0.0, 33.251, 0.766, 34.32, 1.853, 34.771); + shape.lineTo(1.853, 34.772); + shape.lineTo(30.827002, 46.761); + shape.curveTo(30.831001, 46.763, 30.836002, 46.764, 30.840002, 46.766003); + shape.lineTo(30.853003, 46.771004); + shape.lineTo(30.854002, 46.770004); + shape.curveTo(31.207, 46.917, 31.594, 47.0, 32.0, 47.0); + shape.curveTo(32.406, 47.0, 32.793, 46.917, 33.147, 46.771); + shape.lineTo(33.148, 46.772); + shape.lineTo(33.161, 46.767); + shape.curveTo(33.165, 46.765, 33.17, 46.762997, 33.174, 46.761997); + shape.lineTo(62.147, 34.772995); + shape.lineTo(62.147, 34.771996); + shape.curveTo(63.234, 34.32, 64.0, 33.251, 64.0, 32.0); + shape.curveTo(64.0, 30.343, 62.657, 29.0, 61.0, 29.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/PwcIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/PwcIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/PwcIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/PwcIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; + +public class PwcIcon extends DocumentIcon { + + private static final long serialVersionUID = 1L; + + public PwcIcon() { + super(); + } + + public PwcIcon(int width, int height) { + super(width, height); + } + + protected Color getColor() { + return new Color(0x358c32); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/QueryIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/QueryIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/QueryIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/QueryIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,71 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class QueryIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public QueryIcon() { + super(); + } + + public QueryIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(62.243, 53.758); + shape.lineTo(44.658, 36.173); + shape.curveTo(46.768, 32.602, 48.0, 28.449, 48.0, 24.0); + shape.curveTo(48.0, 10.745, 37.255, 0.0, 24.0, 0.0); + shape.curveTo(10.744999, 0.0, 0.0, 10.745, 0.0, 24.0); + shape.curveTo(0.0, 37.255, 10.745, 48.0, 24.0, 48.0); + shape.curveTo(28.449, 48.0, 32.602, 46.768, 36.173, 44.658); + shape.lineTo(53.757, 62.242); + shape.curveTo(54.843, 63.329, 56.343, 64.0, 58.0, 64.0); + shape.curveTo(61.314, 64.0, 64.0, 61.314, 64.0, 58.0); + shape.curveTo(64.0, 56.343, 63.328, 54.843, 62.243, 53.758); + shape.closePath(); + shape.moveTo(24.0, 42.0); + shape.curveTo(14.059, 42.0, 6.0, 33.941, 6.0, 24.0); + shape.curveTo(6.0, 14.059, 14.059, 6.0, 24.0, 6.0); + shape.curveTo(33.941, 6.0, 42.0, 14.059, 42.0, 24.0); + shape.curveTo(42.0, 33.941, 33.941, 42.0, 24.0, 42.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RelationshipIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RelationshipIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RelationshipIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RelationshipIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,96 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Color; +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class RelationshipIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public RelationshipIcon() { + super(); + } + + public RelationshipIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected Color getColor() { + return new Color(0x73a4d1); + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(18.0, 43.0); + shape.curveTo(17.172, 43.0, 16.422, 43.336, 15.879, 43.879); + shape.lineTo(6.0, 53.757); + shape.lineTo(6.0, 49.0); + shape.curveTo(6.0, 47.343, 4.657, 46.0, 3.0, 46.0); + shape.curveTo(1.3429999, 46.0, 0.0, 47.343, 0.0, 49.0); + shape.lineTo(0.0, 61.0); + shape.curveTo(0.0, 62.657, 1.343, 64.0, 3.0, 64.0); + shape.lineTo(15.0, 64.0); + shape.curveTo(16.657, 64.0, 18.0, 62.657, 18.0, 61.0); + shape.curveTo(18.0, 59.343, 16.657, 58.0, 15.0, 58.0); + shape.lineTo(10.243, 58.0); + shape.lineTo(20.122, 48.121002); + shape.curveTo(20.664, 47.578, 21.0, 46.829, 21.0, 46.0); + shape.curveTo(21.0, 44.343, 19.657, 43.0, 18.0, 43.0); + shape.closePath(); + shape.moveTo(61.0, 0.0); + shape.lineTo(49.0, 0.0); + shape.curveTo(47.343, 0.0, 46.0, 1.343, 46.0, 3.0); + shape.curveTo(46.0, 4.657, 47.343, 6.0, 49.0, 6.0); + shape.lineTo(53.757, 6.0); + shape.lineTo(43.878, 15.879); + shape.curveTo(43.336, 16.422, 43.0, 17.172, 43.0, 18.0); + shape.curveTo(43.0, 19.657, 44.343, 21.0, 46.0, 21.0); + shape.curveTo(46.828, 21.0, 47.578, 20.664, 48.121, 20.121); + shape.lineTo(58.0, 10.243); + shape.lineTo(58.0, 15.0); + shape.curveTo(58.0, 16.657, 59.343, 18.0, 61.0, 18.0); + shape.curveTo(62.657, 18.0, 64.0, 16.657, 64.0, 15.0); + shape.lineTo(64.0, 3.0); + shape.curveTo(64.0, 1.343, 62.657, 0.0, 61.0, 0.0); + shape.closePath(); + shape.moveTo(32.0, 23.0); + shape.curveTo(27.029, 23.0, 23.0, 27.029, 23.0, 32.0); + shape.curveTo(23.0, 36.971, 27.029, 41.0, 32.0, 41.0); + shape.curveTo(36.971, 41.0, 41.0, 36.971, 41.0, 32.0); + shape.curveTo(41.0, 27.029, 36.971, 23.0, 32.0, 23.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RemoveIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RemoveIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RemoveIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RemoveIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,61 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class RemoveIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public RemoveIcon() { + super(); + } + + public RemoveIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(52.0, 29.0); + shape.lineTo(12.0, 29.0); + shape.curveTo(10.343, 29.0, 9.0, 30.343, 9.0, 32.0); + shape.curveTo(9.0, 33.656998, 10.343, 35.0, 12.0, 35.0); + shape.lineTo(52.0, 35.0); + shape.curveTo(53.657, 35.0, 55.0, 33.657, 55.0, 32.0); + shape.curveTo(55.0, 30.342999, 53.657, 29.0, 52.0, 29.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +} Added: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RepositoryInfoIcon.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RepositoryInfoIcon.java?rev=1681790&view=auto ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RepositoryInfoIcon.java (added) +++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/icons/RepositoryInfoIcon.java Tue May 26 16:22:03 2015 @@ -0,0 +1,169 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.chemistry.opencmis.workbench.icons; + +import java.awt.Graphics2D; +import java.awt.geom.GeneralPath; + +public class RepositoryInfoIcon extends AbstractWorkbenchIcon { + + private static final long serialVersionUID = 1L; + + public RepositoryInfoIcon() { + super(); + } + + public RepositoryInfoIcon(int width, int height) { + super(width, height); + } + + @Override + protected int getOrginalHeight() { + return 64; + } + + @Override + protected int getOrginalWidth() { + return 64; + } + + protected void paint(Graphics2D g) { + GeneralPath shape = new GeneralPath(); + + shape.moveTo(10.759, 32.73); + shape.lineTo(10.759, 32.73); + shape.lineTo(21.758999, 37.73); + shape.lineTo(21.758999, 37.73); + shape.curveTo(22.137, 37.902, 22.557, 38.0, 23.0, 38.0); + shape.curveTo(24.657, 38.0, 26.0, 36.657, 26.0, 35.0); + shape.curveTo(26.0, 33.786, 25.279, 32.741, 24.241, 32.269); + shape.lineTo(24.241, 32.269); + shape.lineTo(13.240999, 27.269001); + shape.lineTo(13.240999, 27.269001); + shape.curveTo(12.863, 27.097, 12.443, 27.0, 12.0, 27.0); + shape.curveTo(10.343, 27.0, 9.0, 28.343, 9.0, 30.0); + shape.curveTo(9.0, 31.214, 9.721, 32.259, 10.759, 32.73); + shape.closePath(); + shape.moveTo(10.759, 43.73); + shape.lineTo(10.759, 43.73); + shape.lineTo(21.758999, 48.73); + shape.lineTo(21.758999, 48.73); + shape.curveTo(22.137, 48.902, 22.557, 49.0, 23.0, 49.0); + shape.curveTo(24.657, 49.0, 26.0, 47.657, 26.0, 46.0); + shape.curveTo(26.0, 44.786, 25.279, 43.741, 24.241, 43.27); + shape.lineTo(24.241, 43.27); + shape.lineTo(13.240999, 38.27); + shape.lineTo(13.240999, 38.27); + shape.curveTo(12.863, 38.098, 12.443, 38.0, 12.0, 38.0); + shape.curveTo(10.343, 38.0, 9.0, 39.343, 9.0, 41.0); + shape.curveTo(9.0, 42.214, 9.721, 43.259, 10.759, 43.73); + shape.closePath(); + shape.moveTo(10.759, 21.731); + shape.lineTo(10.759, 21.731); + shape.lineTo(21.758999, 26.731); + shape.lineTo(21.758999, 26.731); + shape.curveTo(22.137, 26.903, 22.557, 27.0, 23.0, 27.0); + shape.curveTo(24.657, 27.0, 26.0, 25.657, 26.0, 24.0); + shape.curveTo(26.0, 22.786, 25.279, 21.741, 24.241, 21.269001); + shape.lineTo(24.241, 21.269001); + shape.lineTo(13.240999, 16.269001); + shape.lineTo(13.240999, 16.269001); + shape.curveTo(12.863, 16.097, 12.443, 16.0, 12.0, 16.0); + shape.curveTo(10.343, 16.0, 9.0, 17.343, 9.0, 19.0); + shape.curveTo(9.0, 20.214, 9.721, 21.259, 10.759, 21.731); + shape.closePath(); + shape.moveTo(41.0, 49.0); + shape.curveTo(41.443, 49.0, 41.863, 48.902, 42.241, 48.73); + shape.lineTo(42.241, 48.73); + shape.lineTo(53.241, 43.73); + shape.lineTo(53.241, 43.73); + shape.curveTo(54.279, 43.259, 55.0, 42.214, 55.0, 41.0); + shape.curveTo(55.0, 39.343, 53.657, 38.0, 52.0, 38.0); + shape.curveTo(51.557, 38.0, 51.137, 38.098, 50.759, 38.27); + shape.lineTo(50.759, 38.27); + shape.lineTo(39.759, 43.27); + shape.lineTo(39.759, 43.27); + shape.curveTo(38.721, 43.741, 38.0, 44.786, 38.0, 46.0); + shape.curveTo(38.0, 47.657, 39.343, 49.0, 41.0, 49.0); + shape.closePath(); + shape.moveTo(61.0, 0.0); + shape.curveTo(60.594, 0.0, 60.206, 0.082, 59.854, 0.228); + shape.lineTo(59.854, 0.228); + shape.lineTo(59.848, 0.23); + shape.curveTo(59.839, 0.234, 59.829998, 0.237, 59.821, 0.241); + shape.lineTo(32.0, 11.753); + shape.lineTo(4.179, 0.241); + shape.curveTo(4.17, 0.237, 4.161, 0.234, 4.152, 0.23); + shape.lineTo(4.147, 0.228); + shape.lineTo(4.147, 0.228); + shape.curveTo(3.794, 0.082, 3.406, 0.0, 3.0, 0.0); + shape.curveTo(1.343, 0.0, 0.0, 1.343, 0.0, 3.0); + shape.lineTo(0.0, 49.0); + shape.curveTo(0.0, 50.257, 0.774, 51.333, 1.871, 51.779); + shape.lineTo(30.813, 63.756); + shape.curveTo(31.177, 63.913, 31.578, 64.0, 32.0, 64.0); + shape.curveTo(32.422, 64.0, 32.823, 63.913, 33.188, 63.755); + shape.lineTo(62.128998, 51.779); + shape.curveTo(63.227, 51.333, 64.0, 50.257, 64.0, 49.0); + shape.lineTo(64.0, 3.0); + shape.curveTo(64.0, 1.343, 62.657, 0.0, 61.0, 0.0); + shape.closePath(); + shape.moveTo(29.0, 56.512); + shape.lineTo(6.0, 46.995); + shape.lineTo(6.0, 7.488); + shape.lineTo(29.0, 17.005001); + shape.lineTo(29.0, 56.512); + shape.closePath(); + shape.moveTo(58.0, 46.995); + shape.lineTo(35.0, 56.512); + shape.lineTo(35.0, 17.005); + shape.lineTo(58.0, 7.487999); + shape.lineTo(58.0, 46.995); + shape.closePath(); + shape.moveTo(41.0, 38.0); + shape.curveTo(41.443, 38.0, 41.863, 37.902, 42.241, 37.73); + shape.lineTo(42.241, 37.73); + shape.lineTo(53.241, 32.73); + shape.curveTo(54.279, 32.259, 55.0, 31.214, 55.0, 30.0); + shape.curveTo(55.0, 28.343, 53.657, 27.0, 52.0, 27.0); + shape.curveTo(51.557, 27.0, 51.137, 27.097, 50.759, 27.269); + shape.lineTo(50.759, 27.269); + shape.lineTo(39.759, 32.268997); + shape.lineTo(39.759, 32.268997); + shape.curveTo(38.721, 32.741, 38.0, 33.786, 38.0, 35.0); + shape.curveTo(38.0, 36.657, 39.343, 38.0, 41.0, 38.0); + shape.closePath(); + shape.moveTo(41.0, 27.0); + shape.curveTo(41.443, 27.0, 41.863, 26.903, 42.241, 26.731); + shape.lineTo(42.241, 26.731); + shape.lineTo(53.241, 21.731); + shape.lineTo(53.241, 21.731); + shape.curveTo(54.279, 21.259, 55.0, 20.214, 55.0, 19.0); + shape.curveTo(55.0, 17.343, 53.657, 16.0, 52.0, 16.0); + shape.curveTo(51.557, 16.0, 51.137, 16.097, 50.759, 16.269); + shape.lineTo(50.759, 16.269); + shape.lineTo(39.759, 21.269); + shape.curveTo(38.721, 21.741, 38.0, 22.786, 38.0, 24.0); + shape.curveTo(38.0, 25.657, 39.343, 27.0, 41.0, 27.0); + shape.closePath(); + + g.setPaint(getColor()); + g.fill(shape); + } +}
